Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001311/0.001311, 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.000948/0.000948, allocations: 161 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.9753/0.9753, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.847/1.847, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.8115 GB, free: 1.801 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.719e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.797 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005348/0.005375, allocations: 4.801 MB / 0.8162 GB, free: 13 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1281/0.1334, allocations: 146.6 MB / 0.9593 GB, free: 9.902 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007802/0.1342, allocations: 23.81 kB / 0.9594 GB, free: 9.879 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005898/0.1348, allocations: 198.1 kB / 0.9595 GB, free: 9.684 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.1364, allocations: 0.5746 MB / 0.9601 GB, free: 9.105 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.1382, allocations: 0.9075 MB / 0.961 GB, free: 8.195 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001498/0.1397, allocations: 1.517 MB / 0.9625 GB, free: 6.668 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006294/0.1403, allocations: 402.1 kB / 0.9629 GB, free: 6.258 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009572/0.1413, allocations: 0.7718 MB / 0.9636 GB, free: 5.484 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005615/0.1418, allocations: 422.8 kB / 0.964 GB, free: 5.07 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.142, allocations: 132 kB / 0.9641 GB, free: 4.941 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000851/0.1428, allocations: 0.4915 MB / 0.9646 GB, free: 4.449 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002188/0.143, allocations: 318.9 kB / 0.9649 GB, free: 4.137 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000463/0.1435, allocations: 407 kB / 0.9653 GB, free: 3.738 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.145, allocations: 1.304 MB / 0.9666 GB, free: 2.426 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.145, allocations: 0 / 0.9666 GB, free: 2.426 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.483e-06/0.145, allocations: 0 / 0.9666 GB, free: 2.426 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.181e-05/0.145, allocations: 3.938 kB / 0.9666 GB, free: 2.422 MB / 0.9167 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.001869/0.1469, allocations: 1.562 MB / 0.9681 GB, free: 0.8164 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1469, allocations: 12.03 kB / 0.9681 GB, free: 0.8047 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.148, allocations: 367.5 kB / 0.9685 GB, free: 456 kB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008779/0.1488, allocations: 0.7365 MB / 0.9692 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.618e-05/0.1489, allocations: 70.12 kB / 0.9693 GB, free: 15.61 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.95e-05/0.149, allocations: 99.98 kB / 0.9694 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.15, allocations: 1.082 MB / 0.9704 GB, free: 14.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.15, allocations: 0 / 0.9704 GB, free: 14.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.439e-05/0.1501, allocations: 40 kB / 0.9705 GB, free: 14.26 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.1501, allocations: 24 kB / 0.9705 GB, free: 14.24 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008981/0.151, allocations: 0.8192 MB / 0.9713 GB, free: 13.42 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002871/0.1539, allocations: 2.794 MB / 0.974 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008496/0.1547, allocations: 0.5531 MB / 0.9745 GB, free: 9.988 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.155, allocations: 186.5 kB / 0.9747 GB, free: 9.801 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.687e-05/0.155, allocations: 36.91 kB / 0.9748 GB, free: 9.766 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004965/0.1555, allocations: 0.4989 MB / 0.9752 GB, free: 9.219 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=91): time 1.804e-06/0.1555, allocations: 0 / 0.9752 GB, free: 9.219 MB / 0.9323 GB Notification: Performance of matching and sorting (n=91): time 0.001586/0.1571, allocations: 0.8743 MB / 0.9761 GB, free: 8.336 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/0.1572, allocations: 204.9 kB / 0.9763 GB, free: 8.094 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004811/0.1577, allocations: 0.5855 MB / 0.9769 GB, free: 7.496 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.091e-05/0.1577, allocations: 49.7 kB / 0.9769 GB, free: 7.441 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.158, allocations: 471.9 kB / 0.9774 GB, free: 6.973 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.1581, allocations: 305.4 kB / 0.9777 GB, free: 6.672 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.1583, allocations: 196.2 kB / 0.9778 GB, free: 6.469 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.1585, allocations: 0.5703 MB / 0.9784 GB, free: 5.887 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.1587, allocations: 145.9 kB / 0.9785 GB, free: 5.746 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003694/0.1591, allocations: 420.8 kB / 0.9789 GB, free: 5.273 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006755/0.1598, allocations: 450.1 kB / 0.9794 GB, free: 4.805 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.1598, allocations: 0 / 0.9794 GB, free: 4.805 MB / 0.9323 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001064/0.1608, allocations: 0.7191 MB / 0.9801 GB, free: 4.078 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1608, allocations: 4.188 kB / 0.9801 GB, free: 4.074 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1609, allocations: 8 kB / 0.9801 GB, free: 4.066 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004782/0.1613, allocations: 127.5 kB / 0.9802 GB, free: 3.938 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004189/0.1617, allocations: 195.7 kB / 0.9804 GB, free: 3.746 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.1631, allocations: 1.898 MB / 0.9822 GB, free: 1.715 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/0.1634, allocations: 87.55 kB / 0.9823 GB, free: 1.629 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.211e-05/0.1635, allocations: 39.98 kB / 0.9824 GB, free: 1.59 MB / 0.9323 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.0002211/0.1637, allocations: 223.2 kB / 0.9826 GB, free: 1.363 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.1638, allocations: 123.4 kB / 0.9827 GB, free: 1.242 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.1651, allocations: 0.8735 MB / 0.9836 GB, free: 364 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.1651, allocations: 12 kB / 0.9836 GB, free: 352 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.1651, allocations: 0 / 0.9836 GB, free: 352 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.1651, allocations: 3.984 kB / 0.9836 GB, free: 348 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/0.1671, allocations: 1.702 MB / 0.9852 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1671, allocations: 0 / 0.9852 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003142/0.1674, allocations: 147.8 kB / 0.9854 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003579/0.1678, allocations: 127.5 kB / 0.9855 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/0.1678, allocations: 23.98 kB / 0.9855 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/0.1691, allocations: 1.922 MB / 0.9874 GB, free: 12.23 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1691, allocations: 0 / 0.9874 GB, free: 12.23 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.1701, allocations: 0.9079 MB / 0.9883 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002546/0.1704, allocations: 207 kB / 0.9885 GB, free: 11.09 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.951e-05/0.1704, allocations: 24 kB / 0.9885 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.1707, allocations: 49.78 kB / 0.9885 GB, free: 11.02 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.1708, allocations: 76.84 kB / 0.9886 GB, free: 10.95 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.041e-05/0.1708, allocations: 39.98 kB / 0.9887 GB, free: 10.91 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003123/0.1712, allocations: 399 kB / 0.989 GB, free: 10.52 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1712, allocations: 0 / 0.989 GB, free: 10.52 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006461/0.1718, allocations: 351.1 kB / 0.9894 GB, free: 10.18 MB / 0.948 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.001157/0.173, allocations: 0.6327 MB / 0.99 GB, free: 9.715 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009225/0.1739, allocations: 0.7112 MB / 0.9907 GB, free: 8.984 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1739, allocations: 0 / 0.9907 GB, free: 8.984 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004713/0.1744, allocations: 497 kB / 0.9912 GB, free: 8.48 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007458/0.1751, allocations: 332.1 kB / 0.9915 GB, free: 8.172 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.1773, allocations: 1.576 MB / 0.993 GB, free: 6.559 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.1776, allocations: 203.2 kB / 0.9932 GB, free: 6.34 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004776/0.1781, allocations: 259.1 kB / 0.9935 GB, free: 6.082 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.1783, allocations: 116.4 kB / 0.9936 GB, free: 5.969 MB / 0.948 GB Notification: Performance of SimCode: time 8.32e-07/0.1783, allocations: 0 / 0.9936 GB, free: 5.969 MB / 0.948 GB Notification: Performance of Templates: time 0.01925/0.1975, allocations: 16.55 MB / 1.01 GB, free: 5.711 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.755072216968983]