Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.001016/0.001016, allocations: 79.73 kB / 20.98 MB, free: 3.555 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.0009346/0.0009346, allocations: 165 kB / 24.28 MB, free: 264 kB / 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.9432/0.9432, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.794/1.794, allocations: 359 MB / 0.6055 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.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.787 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.724e-05, allocations: 3.062 kB / 0.787 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004808/0.004825, allocations: 4.77 MB / 0.7917 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1285/0.1334, allocations: 146.3 MB / 0.9346 GB, free: 5.242 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007563/0.1341, allocations: 23.81 kB / 0.9346 GB, free: 5.219 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005078/0.1346, allocations: 194.2 kB / 0.9348 GB, free: 5.027 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001358/0.136, allocations: 0.5902 MB / 0.9354 GB, free: 4.434 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.1376, allocations: 0.888 MB / 0.9363 GB, free: 3.543 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001012/0.1386, allocations: 1.513 MB / 0.9377 GB, free: 2.023 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005177/0.1392, allocations: 414 kB / 0.9381 GB, free: 1.598 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000643/0.1398, allocations: 0.7719 MB / 0.9389 GB, free: 0.8242 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003685/0.1402, allocations: 422.8 kB / 0.9393 GB, free: 420 kB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.1403, allocations: 128 kB / 0.9394 GB, free: 292 kB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005971/0.1409, allocations: 0.4915 MB / 0.9399 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.1411, allocations: 322.9 kB / 0.9402 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002711/0.1414, allocations: 407 kB / 0.9406 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.1425, allocations: 1.304 MB / 0.9419 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1425, allocations: 0 / 0.9419 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1425, allocations: 4 kB / 0.9419 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.1425, allocations: 0 / 0.9419 GB, free: 13.77 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.001862/0.1444, allocations: 1.555 MB / 0.9434 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1444, allocations: 8.031 kB / 0.9434 GB, free: 12.15 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.1454, allocations: 371.5 kB / 0.9437 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007682/0.1462, allocations: 0.7403 MB / 0.9445 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.857e-05/0.1462, allocations: 74.12 kB / 0.9445 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.071e-05/0.1463, allocations: 99.98 kB / 0.9446 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009856/0.1473, allocations: 1.078 MB / 0.9457 GB, free: 9.645 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.1473, allocations: 0 / 0.9457 GB, free: 9.645 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.802e-05/0.1474, allocations: 40 kB / 0.9457 GB, free: 9.605 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.1474, allocations: 20 kB / 0.9457 GB, free: 9.586 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008923/0.1483, allocations: 0.8348 MB / 0.9466 GB, free: 8.754 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002509/0.1508, allocations: 2.786 MB / 0.9493 GB, free: 5.887 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008322/0.1517, allocations: 0.5513 MB / 0.9498 GB, free: 5.332 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005208/0.1522, allocations: 186.6 kB / 0.95 GB, free: 5.148 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.334e-05/0.1522, allocations: 40.91 kB / 0.95 GB, free: 5.109 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004801/0.1527, allocations: 0.4989 MB / 0.9505 GB, free: 4.559 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=91): time 2.855e-06/0.1527, allocations: 7.984 kB / 0.9505 GB, free: 4.551 MB / 0.9011 GB Notification: Performance of matching and sorting (n=91): time 0.001551/0.1543, allocations: 0.8781 MB / 0.9514 GB, free: 3.668 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.141e-05/0.1543, allocations: 200.9 kB / 0.9516 GB, free: 3.426 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004675/0.1548, allocations: 0.5932 MB / 0.9522 GB, free: 2.816 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.45e-05/0.1549, allocations: 45.7 kB / 0.9522 GB, free: 2.766 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.1551, allocations: 467.9 kB / 0.9527 GB, free: 2.301 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.1553, allocations: 309.4 kB / 0.9529 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.1554, allocations: 196.2 kB / 0.9531 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1556, allocations: 0.5625 MB / 0.9537 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.1558, allocations: 157.9 kB / 0.9538 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.1562, allocations: 420.8 kB / 0.9542 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007384/0.157, allocations: 446.2 kB / 0.9547 GB, free: 136 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.157, allocations: 4 kB / 0.9547 GB, free: 132 kB / 0.9011 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001388/0.1584, allocations: 0.7152 MB / 0.9554 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1584, allocations: 9.719 kB / 0.9554 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1584, allocations: 0 / 0.9554 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005751/0.159, allocations: 131.8 kB / 0.9555 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005426/0.1595, allocations: 195.7 kB / 0.9557 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/0.1613, allocations: 1.904 MB / 0.9575 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003823/0.1616, allocations: 83.67 kB / 0.9576 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.398e-05/0.1617, allocations: 48 kB / 0.9577 GB, free: 12.91 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (113): * Single equations (assignments): 112 * 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.0002395/0.1619, allocations: 215 kB / 0.9579 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.1621, allocations: 123.4 kB / 0.958 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.1636, allocations: 0.8774 MB / 0.9589 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.1636, allocations: 8 kB / 0.9589 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.1637, allocations: 0 / 0.9589 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.1637, allocations: 3.984 kB / 0.9589 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.1661, allocations: 1.702 MB / 0.9605 GB, free: 9.898 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1661, allocations: 0 / 0.9605 GB, free: 9.898 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004278/0.1665, allocations: 155.8 kB / 0.9607 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004337/0.1669, allocations: 119.5 kB / 0.9608 GB, free: 9.625 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.868e-05/0.167, allocations: 27.92 kB / 0.9608 GB, free: 9.598 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.1683, allocations: 1.918 MB / 0.9627 GB, free: 7.551 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1683, allocations: 0 / 0.9627 GB, free: 7.551 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.1696, allocations: 0.9039 MB / 0.9636 GB, free: 6.621 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005441/0.1702, allocations: 215 kB / 0.9638 GB, free: 6.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.74e-05/0.1702, allocations: 20 kB / 0.9638 GB, free: 6.391 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/0.1706, allocations: 47.95 kB / 0.9638 GB, free: 6.344 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.1707, allocations: 80.84 kB / 0.9639 GB, free: 6.266 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-05/0.1708, allocations: 35.98 kB / 0.964 GB, free: 6.23 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003794/0.1712, allocations: 395 kB / 0.9643 GB, free: 5.852 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.1712, allocations: 0 / 0.9643 GB, free: 5.852 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007317/0.1719, allocations: 347.1 kB / 0.9647 GB, free: 5.512 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 (103): * Single equations (assignments): 92 * 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.001407/0.1733, allocations: 0.6407 MB / 0.9653 GB, free: 5.043 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.1744, allocations: 0.703 MB / 0.966 GB, free: 4.316 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1744, allocations: 0 / 0.966 GB, free: 4.316 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005907/0.175, allocations: 0.4896 MB / 0.9664 GB, free: 3.805 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009505/0.176, allocations: 335.8 kB / 0.9668 GB, free: 3.492 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.1785, allocations: 1.571 MB / 0.9683 GB, free: 1.883 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.1786, allocations: 199.2 kB / 0.9685 GB, free: 1.668 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005968/0.1792, allocations: 259 kB / 0.9687 GB, free: 1.41 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.1794, allocations: 116.4 kB / 0.9689 GB, free: 1.297 MB / 0.9167 GB Notification: Performance of SimCode: time 7.61e-07/0.1794, allocations: 0 / 0.9689 GB, free: 1.297 MB / 0.9167 GB Notification: Performance of Templates: time 0.04135/0.2208, allocations: 16.55 MB / 0.985 GB, free: 1.043 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.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.666590764187276]