Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.182/1.182, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.4/2.4, allocations: 469.4 MB / 0.742 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 68.7 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2319, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005958/0.2379, allocations: 5.158 MB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1287/0.3666, allocations: 150.7 MB / 1.216 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000682/0.3673, allocations: 15.94 kB / 1.216 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006076/0.3679, allocations: 206.1 kB / 1.216 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.3696, allocations: 0.5676 MB / 1.217 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.3714, allocations: 0.8548 MB / 1.217 GB, free: 440 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001332/0.3727, allocations: 1.448 MB / 1.219 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008348/0.3736, allocations: 0.6527 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000617/0.3742, allocations: 0.51 MB / 1.22 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005942/0.3748, allocations: 0.5601 MB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002188/0.375, allocations: 124 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007618/0.3758, allocations: 495.6 kB / 1.221 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002363/0.376, allocations: 315 kB / 1.221 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004508/0.3765, allocations: 0.6103 MB / 1.222 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.3779, allocations: 1.706 MB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3779, allocations: 0 / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3779, allocations: 0 / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.3779, allocations: 0 / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002104/0.3801, allocations: 1.516 MB / 1.225 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.3801, allocations: 12.03 kB / 1.225 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001403/0.3802, allocations: 148.2 kB / 1.225 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009986/0.3812, allocations: 219.2 kB / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008474/0.3821, allocations: 0.7614 MB / 1.226 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.723e-05/0.3822, allocations: 70 kB / 1.226 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.96e-05/0.3823, allocations: 92 kB / 1.226 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.3837, allocations: 1.012 MB / 1.227 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.3837, allocations: 4 kB / 1.227 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-05/0.3838, allocations: 36 kB / 1.228 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.3838, allocations: 24 kB / 1.228 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.3855, allocations: 1.179 MB / 1.229 GB, free: 4.789 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00352/0.389, allocations: 2.976 MB / 1.232 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.3905, allocations: 0.9088 MB / 1.232 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005154/0.391, allocations: 322.7 kB / 1.233 GB, free: 444 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005483/0.3916, allocations: 470.1 kB / 1.233 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007935/0.3924, allocations: 0.499 MB / 1.234 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.014e-06/0.3924, allocations: 4 kB / 1.234 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.00291/0.3953, allocations: 1.237 MB / 1.235 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/0.3954, allocations: 192.6 kB / 1.235 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006303/0.396, allocations: 0.6411 MB / 1.236 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.586e-05/0.3961, allocations: 41.7 kB / 1.236 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.3964, allocations: 428.2 kB / 1.236 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.3965, allocations: 260.2 kB / 1.236 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.3967, allocations: 150.5 kB / 1.237 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.3969, allocations: 386.8 kB / 1.237 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004845/0.3974, allocations: 265.8 kB / 1.237 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005634/0.3979, allocations: 374.5 kB / 1.238 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.399, allocations: 0.6033 MB / 1.238 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.399, allocations: 0 / 1.238 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001721/0.4007, allocations: 0.8291 MB / 1.239 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.4007, allocations: 7.984 kB / 1.239 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.4007, allocations: 4 kB / 1.239 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000531/0.4013, allocations: 80.88 kB / 1.239 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/0.4019, allocations: 159.7 kB / 1.239 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/0.4037, allocations: 1.628 MB / 1.241 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005945/0.4043, allocations: 99.31 kB / 1.241 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-05/0.4043, allocations: 31.98 kB / 1.241 GB, free: 7.688 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003153/0.4047, allocations: 269.6 kB / 1.241 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.4048, allocations: 82.97 kB / 1.241 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002227/0.407, allocations: 1.105 MB / 1.242 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.4071, allocations: 12 kB / 1.242 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.4071, allocations: 0 / 1.242 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.4071, allocations: 8.016 kB / 1.242 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002834/0.4099, allocations: 2.004 MB / 1.244 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4099, allocations: 4 kB / 1.244 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005591/0.4105, allocations: 151.8 kB / 1.244 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003924/0.4109, allocations: 72.78 kB / 1.245 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.853e-05/0.411, allocations: 27.98 kB / 1.245 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/0.4125, allocations: 1.658 MB / 1.246 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.4126, allocations: 4.031 kB / 1.246 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.4144, allocations: 1.015 MB / 1.247 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002861/0.4147, allocations: 279.7 kB / 1.247 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.4148, allocations: 16 kB / 1.247 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006367/0.4154, allocations: 71.92 kB / 1.248 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.4156, allocations: 76.83 kB / 1.248 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.094e-05/0.4156, allocations: 36.05 kB / 1.248 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004622/0.4161, allocations: 471 kB / 1.248 GB, free: 88 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4161, allocations: 0 / 1.248 GB, free: 88 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.3946/0.8107, allocations: 343 kB / 1.248 GB, free: 186.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003291/0.814, allocations: 2.078 MB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002187/0.8162, allocations: 1.027 MB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8162, allocations: 3.594 kB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008586/0.8171, allocations: 0.5322 MB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.8183, allocations: 314.7 kB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008127/0.8264, allocations: 6.661 MB / 1.259 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.8268, allocations: 1.044 MB / 1.26 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007328/0.8275, allocations: 276.3 kB / 1.26 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000414/0.8279, allocations: 409.5 kB / 1.26 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.8279, allocations: 0 / 1.26 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04303/0.871, allocations: 22.21 MB / 1.282 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/11.25, allocations: 8.25 kB / 1.282 GB, free: 176.1 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv --start-time 100000 --stop-time 3e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1160 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,skyCle.skyCle Variables in the result:time,skyCle.skyCle,weaBus.HDifHor,weaBus.HDirNor,weaBus.HGloHor,weaBus.HHorIR