Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.SkyBrightness,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.00125/0.00125, 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.001192/0.001192, allocations: 196.7 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.227/1.227, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.326/2.326, allocations: 437.1 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 59.91 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4777/0.4789, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005759/0.4847, allocations: 5.191 MB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1274/0.6121, allocations: 150.7 MB / 1.17 GB, free: 6.031 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007056/0.6128, allocations: 19.88 kB / 1.17 GB, free: 6.012 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005902/0.6134, allocations: 194.1 kB / 1.17 GB, free: 5.82 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.6151, allocations: 0.5668 MB / 1.17 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.6168, allocations: 0.8493 MB / 1.171 GB, free: 4.41 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001296/0.6181, allocations: 1.444 MB / 1.173 GB, free: 2.961 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008474/0.619, allocations: 0.6653 MB / 1.173 GB, free: 2.277 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006012/0.6196, allocations: 0.5217 MB / 1.174 GB, free: 1.754 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006011/0.6202, allocations: 0.5523 MB / 1.174 GB, free: 1.199 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001782/0.6204, allocations: 128 kB / 1.174 GB, free: 1.074 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007282/0.6211, allocations: 467.6 kB / 1.175 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.6214, allocations: 319 kB / 1.175 GB, free: 312 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005143/0.6219, allocations: 0.618 MB / 1.176 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.6234, allocations: 1.706 MB / 1.177 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.6235, allocations: 4 kB / 1.177 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6235, allocations: 0 / 1.177 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.298e-05/0.6235, allocations: 4 kB / 1.177 GB, free: 13.96 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002411/0.6259, allocations: 1.513 MB / 1.179 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.626, allocations: 12.03 kB / 1.179 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001498/0.6261, allocations: 152.3 kB / 1.179 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/0.6277, allocations: 303.2 kB / 1.179 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009203/0.6287, allocations: 0.7614 MB / 1.18 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.584e-05/0.6287, allocations: 81.98 kB / 1.18 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.6288, allocations: 92 kB / 1.18 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.6306, allocations: 1.07 MB / 1.181 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.6306, allocations: 0 / 1.181 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.241e-05/0.6307, allocations: 40 kB / 1.181 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.6307, allocations: 28 kB / 1.181 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/0.6329, allocations: 1.272 MB / 1.183 GB, free: 8.508 MB / 0.9356 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.003976/0.6369, allocations: 2.99 MB / 1.186 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/0.6393, allocations: 1.024 MB / 1.187 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007348/0.6401, allocations: 362.6 kB / 1.187 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.835e-05/0.6401, allocations: 38.47 kB / 1.187 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.6412, allocations: 0.551 MB / 1.187 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=84): time 1.874e-06/0.6412, allocations: 4 kB / 1.187 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84): time 0.003639/0.6448, allocations: 1.391 MB / 1.189 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.923e-05/0.6449, allocations: 192.9 kB / 1.189 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006513/0.6456, allocations: 0.641 MB / 1.19 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.974e-05/0.6457, allocations: 41.7 kB / 1.19 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.6459, allocations: 428.2 kB / 1.19 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.6461, allocations: 272.1 kB / 1.19 GB, free: 340 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/0.6463, allocations: 154.5 kB / 1.191 GB, free: 176 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.6465, allocations: 382.8 kB / 1.191 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007118/0.6472, allocations: 313.8 kB / 1.191 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007871/0.648, allocations: 414.5 kB / 1.192 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.6495, allocations: 0.6906 MB / 1.192 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6495, allocations: 0 / 1.192 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002194/0.6517, allocations: 0.9189 MB / 1.193 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.6517, allocations: 4 kB / 1.193 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.6517, allocations: 4 kB / 1.193 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005538/0.6523, allocations: 80.88 kB / 1.193 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007369/0.653, allocations: 179.8 kB / 1.193 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.6549, allocations: 1.638 MB / 1.195 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007156/0.6556, allocations: 113.7 kB / 1.195 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.96e-05/0.6557, allocations: 39.91 kB / 1.195 GB, free: 11.22 MB / 0.9512 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 (90): * Single equations (assignments): 89 * 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.0003215/0.656, allocations: 271 kB / 1.195 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.6561, allocations: 82.97 kB / 1.195 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002714/0.6589, allocations: 1.206 MB / 1.197 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.6589, allocations: 11.94 kB / 1.197 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.6589, allocations: 7.984 kB / 1.197 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.6589, allocations: 3.984 kB / 1.197 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003363/0.6623, allocations: 2.147 MB / 1.199 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.6623, allocations: 0 / 1.199 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007135/0.663, allocations: 175.8 kB / 1.199 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004109/0.6634, allocations: 76.72 kB / 1.199 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.628e-05/0.6635, allocations: 27.97 kB / 1.199 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/0.6651, allocations: 1.654 MB / 1.201 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6651, allocations: 0 / 1.201 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/0.6674, allocations: 1.125 MB / 1.202 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003009/0.6677, allocations: 275.7 kB / 1.202 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.6678, allocations: 20 kB / 1.202 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007634/0.6686, allocations: 87.91 kB / 1.202 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.6688, allocations: 72.83 kB / 1.202 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.671e-05/0.6688, allocations: 40.05 kB / 1.202 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004816/0.6693, allocations: 467 kB / 1.203 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6693, allocations: 0 / 1.203 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000698/0.67, allocations: 347 kB / 1.203 GB, free: 2.895 MB / 0.9512 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 (97): * Single equations (assignments): 91 * 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.003552/0.6736, allocations: 2.173 MB / 1.205 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002556/0.6762, allocations: 1.132 MB / 1.206 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6762, allocations: 8 kB / 1.206 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.6773, allocations: 0.5822 MB / 1.207 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.6784, allocations: 307.2 kB / 1.207 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.6887, allocations: 6.978 MB / 1.214 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.6892, allocations: 1.051 MB / 1.215 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008064/0.69, allocations: 274.9 kB / 1.215 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005062/0.6905, allocations: 423.2 kB / 1.216 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.6905, allocations: 0 / 1.216 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04352/0.734, allocations: 22.42 MB / 1.238 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/11.07, allocations: 7.422 kB / 1.238 GB, free: 15.91 MB / 0.9981 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches