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.000998/0.000998, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001437/0.001437, allocations: 160.8 kB / 24.86 MB, free: 8.891 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.9354/0.9354, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.782/1.782, allocations: 359 MB / 0.6063 GB, free: 10.88 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 1.472e-06/1.472e-06, allocations: 0 / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.874e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007427/0.007455, allocations: 4.934 MB / 0.7931 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1409/0.1484, allocations: 143.9 MB / 0.9336 GB, free: 6.918 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000782/0.1491, allocations: 19.88 kB / 0.9336 GB, free: 6.898 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005384/0.1497, allocations: 210 kB / 0.9338 GB, free: 6.691 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001503/0.1512, allocations: 0.6017 MB / 0.9344 GB, free: 6.086 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.1527, allocations: 0.888 MB / 0.9353 GB, free: 5.195 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001405/0.1541, allocations: 1.545 MB / 0.9368 GB, free: 3.641 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005962/0.1547, allocations: 466.3 kB / 0.9373 GB, free: 3.164 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008489/0.1556, allocations: 0.8458 MB / 0.9381 GB, free: 2.316 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003811/0.156, allocations: 414.8 kB / 0.9385 GB, free: 1.91 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.1561, allocations: 127.9 kB / 0.9386 GB, free: 1.785 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007753/0.1568, allocations: 0.4955 MB / 0.9391 GB, free: 1.289 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.157, allocations: 318.9 kB / 0.9394 GB, free: 0.9766 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002752/0.1573, allocations: 430.9 kB / 0.9398 GB, free: 0.5547 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.1586, allocations: 1.331 MB / 0.9411 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1586, allocations: 0 / 0.9411 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1586, allocations: 0 / 0.9411 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.1586, allocations: 0 / 0.9411 GB, free: 15.22 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.001609/0.1602, allocations: 1.601 MB / 0.9427 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1602, allocations: 12.03 kB / 0.9427 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.1614, allocations: 463.2 kB / 0.9431 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000875/0.1623, allocations: 0.7305 MB / 0.9438 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.494e-05/0.1623, allocations: 82.06 kB / 0.9439 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-05/0.1624, allocations: 104 kB / 0.944 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008677/0.1633, allocations: 0.9947 MB / 0.945 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.1633, allocations: 0 / 0.945 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-05/0.1634, allocations: 36 kB / 0.945 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.1634, allocations: 24 kB / 0.945 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007041/0.1641, allocations: 0.7352 MB / 0.9458 GB, free: 10.28 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/0.1666, allocations: 2.281 MB / 0.948 GB, free: 7.949 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009519/0.1676, allocations: 0.5462 MB / 0.9485 GB, free: 7.398 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.1678, allocations: 182.5 kB / 0.9487 GB, free: 7.219 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.289e-05/0.1678, allocations: 32.98 kB / 0.9487 GB, free: 7.184 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004294/0.1682, allocations: 498.7 kB / 0.9492 GB, free: 6.652 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=92): time 2.154e-06/0.1682, allocations: 0 / 0.9492 GB, free: 6.652 MB / 0.9011 GB Notification: Performance of matching and sorting (n=92): time 0.001445/0.1697, allocations: 0.8274 MB / 0.95 GB, free: 5.812 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9e-05/0.1698, allocations: 196.9 kB / 0.9502 GB, free: 5.578 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000721/0.1705, allocations: 0.5577 MB / 0.9507 GB, free: 5.004 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.998e-05/0.1706, allocations: 53.7 kB / 0.9508 GB, free: 4.945 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.1708, allocations: 495.8 kB / 0.9513 GB, free: 4.453 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.171, allocations: 309.3 kB / 0.9516 GB, free: 4.148 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.1712, allocations: 192.1 kB / 0.9517 GB, free: 3.953 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1713, allocations: 0.574 MB / 0.9523 GB, free: 3.367 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.1715, allocations: 121.9 kB / 0.9524 GB, free: 3.246 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/0.1718, allocations: 373.6 kB / 0.9528 GB, free: 2.832 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.1722, allocations: 375 kB / 0.9531 GB, free: 2.453 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1722, allocations: 0 / 0.9531 GB, free: 2.453 MB / 0.9011 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0009144/0.1731, allocations: 0.6451 MB / 0.9538 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.1731, allocations: 4 kB / 0.9538 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.1731, allocations: 7.984 kB / 0.9538 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004373/0.1736, allocations: 123.5 kB / 0.9539 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/0.174, allocations: 199.7 kB / 0.9541 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.1753, allocations: 1.875 MB / 0.9559 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/0.1756, allocations: 94.28 kB / 0.956 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/0.1757, allocations: 40 kB / 0.956 GB, free: 15.34 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.0002244/0.1759, allocations: 215 kB / 0.9562 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.176, allocations: 123.4 kB / 0.9564 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.1771, allocations: 0.8421 MB / 0.9572 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.1771, allocations: 12 kB / 0.9572 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.1771, allocations: 4 kB / 0.9572 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.505e-06/0.1772, allocations: 7.922 kB / 0.9572 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.179, allocations: 1.557 MB / 0.9587 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.179, allocations: 8 kB / 0.9587 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.1794, allocations: 163.7 kB / 0.9589 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003362/0.1797, allocations: 115.6 kB / 0.959 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.1798, allocations: 23.98 kB / 0.959 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.1808, allocations: 1.895 MB / 0.9609 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1808, allocations: 0 / 0.9609 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.1819, allocations: 0.8649 MB / 0.9617 GB, free: 9.297 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000232/0.1821, allocations: 207.1 kB / 0.9619 GB, free: 9.094 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.19e-05/0.1822, allocations: 20 kB / 0.9619 GB, free: 9.074 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/0.1825, allocations: 59.89 kB / 0.962 GB, free: 9.016 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.694e-05/0.1826, allocations: 68.86 kB / 0.9621 GB, free: 8.949 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.034e-05/0.1826, allocations: 31.98 kB / 0.9621 GB, free: 8.918 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002271/0.1829, allocations: 358.9 kB / 0.9624 GB, free: 8.57 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1829, allocations: 0 / 0.9624 GB, free: 8.57 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000696/0.1836, allocations: 363 kB / 0.9628 GB, free: 8.215 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.001286/0.1848, allocations: 0.6457 MB / 0.9634 GB, free: 7.742 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0007482/0.1856, allocations: 0.6481 MB / 0.964 GB, free: 7.074 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1856, allocations: 4 kB / 0.964 GB, free: 7.07 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004227/0.186, allocations: 489.1 kB / 0.9645 GB, free: 6.574 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007211/0.1867, allocations: 319.3 kB / 0.9648 GB, free: 6.285 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.1889, allocations: 1.627 MB / 0.9664 GB, free: 4.617 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.1891, allocations: 203.2 kB / 0.9666 GB, free: 4.391 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004403/0.1895, allocations: 202.9 kB / 0.9668 GB, free: 4.188 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005668/0.1901, allocations: 373.9 kB / 0.9671 GB, free: 3.82 MB / 0.9167 GB Notification: Performance of SimCode: time 7.32e-07/0.1901, allocations: 0 / 0.9671 GB, free: 3.82 MB / 0.9167 GB Notification: Performance of Templates: time 0.02043/0.2105, allocations: 17.8 MB / 0.9845 GB, free: 2.324 MB / 0.9323 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.642712328117341]