Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 161.4 kB / 23.82 MB, free: 0.7539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9212/0.9212, allocations: 177.1 MB / 204.2 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.714/1.714, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.855e-06/2.855e-06, allocations: 0 / 0.7871 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.669e-05/3.954e-05, allocations: 9.344 kB / 0.7871 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006311/0.006351, allocations: 5.046 MB / 0.792 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1324/0.1387, allocations: 146.6 MB / 0.9352 GB, free: 4.219 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008765/0.1396, allocations: 23.81 kB / 0.9352 GB, free: 4.195 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005416/0.1401, allocations: 198.1 kB / 0.9354 GB, free: 4 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.1416, allocations: 0.6095 MB / 0.936 GB, free: 3.387 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.1432, allocations: 0.888 MB / 0.9368 GB, free: 2.496 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001307/0.1445, allocations: 1.537 MB / 0.9384 GB, free: 0.9492 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006232/0.1451, allocations: 462.3 kB / 0.9388 GB, free: 488 kB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009194/0.1461, allocations: 0.8538 MB / 0.9396 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000701/0.1468, allocations: 424.6 kB / 0.94 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.1469, allocations: 128 kB / 0.9402 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007654/0.1477, allocations: 495.4 kB / 0.9406 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.1479, allocations: 322.9 kB / 0.9409 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0003203/0.1482, allocations: 422.9 kB / 0.9413 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.1495, allocations: 1.331 MB / 0.9426 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1496, allocations: 0 / 0.9426 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1496, allocations: 4 kB / 0.9426 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.08e-05/0.1496, allocations: 0 / 0.9426 GB, free: 12.52 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.001704/0.1513, allocations: 1.589 MB / 0.9442 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1513, allocations: 8.031 kB / 0.9442 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.1525, allocations: 463.2 kB / 0.9446 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007989/0.1533, allocations: 0.7461 MB / 0.9454 GB, free: 9.648 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.932e-05/0.1534, allocations: 86.12 kB / 0.9455 GB, free: 9.562 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.87e-05/0.1535, allocations: 100 kB / 0.9455 GB, free: 9.465 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.1546, allocations: 1.057 MB / 0.9466 GB, free: 8.316 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.1546, allocations: 0 / 0.9466 GB, free: 8.316 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.99e-05/0.1546, allocations: 43.98 kB / 0.9466 GB, free: 8.273 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.1547, allocations: 24 kB / 0.9466 GB, free: 8.25 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.1559, allocations: 0.8583 MB / 0.9475 GB, free: 7.387 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002642/0.1585, allocations: 2.398 MB / 0.9498 GB, free: 4.938 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.1596, allocations: 0.6032 MB / 0.9504 GB, free: 4.328 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.1599, allocations: 220.6 kB / 0.9506 GB, free: 4.113 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.534e-05/0.1599, allocations: 28.98 kB / 0.9507 GB, free: 4.082 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005123/0.1604, allocations: 0.5222 MB / 0.9512 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=92): time 2.274e-06/0.1604, allocations: 0 / 0.9512 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of matching and sorting (n=92): time 0.001602/0.162, allocations: 0.9173 MB / 0.9521 GB, free: 2.586 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.173e-05/0.1621, allocations: 196.9 kB / 0.9522 GB, free: 2.352 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004363/0.1626, allocations: 0.5698 MB / 0.9528 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.574e-05/0.1626, allocations: 49.7 kB / 0.9528 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.1629, allocations: 487.9 kB / 0.9533 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.163, allocations: 309.4 kB / 0.9536 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.1632, allocations: 196.2 kB / 0.9538 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0006555/0.1639, allocations: 0.5664 MB / 0.9543 GB, free: 152 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.1641, allocations: 165.8 kB / 0.9545 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/0.1645, allocations: 401.8 kB / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005312/0.165, allocations: 431.1 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.165, allocations: 4 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001051/0.166, allocations: 0.7192 MB / 0.956 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.1661, allocations: 4 kB / 0.956 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1661, allocations: 12.03 kB / 0.956 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004565/0.1665, allocations: 131.5 kB / 0.9561 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/0.167, allocations: 191.8 kB / 0.9563 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.1683, allocations: 1.902 MB / 0.9582 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.1686, allocations: 93.55 kB / 0.9583 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.555e-05/0.1687, allocations: 43.97 kB / 0.9583 GB, free: 11.88 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (111): * Single equations (assignments): 110 * 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.0002226/0.1689, allocations: 227 kB / 0.9585 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.1691, allocations: 119.4 kB / 0.9586 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.1703, allocations: 0.9161 MB / 0.9595 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.1703, allocations: 12 kB / 0.9596 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.1703, allocations: 0 / 0.9596 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.1703, allocations: 7.922 kB / 0.9596 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/0.1725, allocations: 1.732 MB / 0.9613 GB, free: 8.781 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1725, allocations: 3.938 kB / 0.9613 GB, free: 8.777 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/0.1728, allocations: 163.8 kB / 0.9614 GB, free: 8.617 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003308/0.1731, allocations: 123.5 kB / 0.9615 GB, free: 8.492 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.126e-05/0.1732, allocations: 23.98 kB / 0.9616 GB, free: 8.469 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.1743, allocations: 1.925 MB / 0.9634 GB, free: 6.418 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1743, allocations: 0 / 0.9634 GB, free: 6.418 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.1753, allocations: 0.9351 MB / 0.9643 GB, free: 5.457 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002289/0.1755, allocations: 203.1 kB / 0.9645 GB, free: 5.258 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-05/0.1756, allocations: 24 kB / 0.9646 GB, free: 5.234 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.1759, allocations: 55.95 kB / 0.9646 GB, free: 5.18 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.176, allocations: 72.86 kB / 0.9647 GB, free: 5.109 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.126e-05/0.176, allocations: 39.97 kB / 0.9647 GB, free: 5.07 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000278/0.1763, allocations: 379 kB / 0.9651 GB, free: 4.703 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.1763, allocations: 0 / 0.9651 GB, free: 4.703 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007034/0.177, allocations: 363 kB / 0.9654 GB, free: 4.348 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001214/0.1782, allocations: 0.6379 MB / 0.9661 GB, free: 3.883 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0009156/0.1792, allocations: 0.7262 MB / 0.9668 GB, free: 3.133 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.1792, allocations: 4 kB / 0.9668 GB, free: 3.129 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004727/0.1796, allocations: 0.5011 MB / 0.9673 GB, free: 2.609 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006735/0.1803, allocations: 329.6 kB / 0.9676 GB, free: 2.312 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/0.1831, allocations: 1.654 MB / 0.9692 GB, free: 0.6172 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.1833, allocations: 203.2 kB / 0.9694 GB, free: 400 kB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006379/0.1839, allocations: 266.8 kB / 0.9696 GB, free: 128 kB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002486/0.1841, allocations: 120.4 kB / 0.9698 GB, free: 8 kB / 0.9167 GB Notification: Performance of SimCode: time 9.21e-07/0.1841, allocations: 0 / 0.9698 GB, free: 8 kB / 0.9167 GB Notification: Performance of Templates: time 0.02533/0.2095, allocations: 17.18 MB / 0.9865 GB, free: 15.12 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.49903501290828]