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.001411/0.001411, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001602/0.001602, allocations: 161 kB / 24.16 MB, free: 336 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.9645/0.9645, allocations: 177.2 MB / 204.6 MB, free: 5.238 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.903/1.903, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.873e-06/1.873e-06, allocations: 0 / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/2.982e-05, allocations: 5.266 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007376/0.007406, allocations: 4.774 MB / 0.7647 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1303/0.1377, allocations: 146.1 MB / 0.9073 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007548/0.1385, allocations: 23.81 kB / 0.9073 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005189/0.139, allocations: 198 kB / 0.9075 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.1403, allocations: 0.5822 MB / 0.9081 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.1418, allocations: 0.8607 MB / 0.9089 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001172/0.143, allocations: 1.513 MB / 0.9104 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005078/0.1435, allocations: 422 kB / 0.9108 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007374/0.1442, allocations: 0.8068 MB / 0.9116 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003628/0.1446, allocations: 390.8 kB / 0.912 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.1447, allocations: 116 kB / 0.9121 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000823/0.1455, allocations: 0.511 MB / 0.9126 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001956/0.1457, allocations: 303 kB / 0.9129 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002665/0.146, allocations: 391 kB / 0.9132 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.1475, allocations: 1.269 MB / 0.9145 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1475, allocations: 0 / 0.9145 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1475, allocations: 0 / 0.9145 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.1475, allocations: 0 / 0.9145 GB, free: 8.023 MB / 0.8698 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.001344/0.1488, allocations: 1.414 MB / 0.9159 GB, free: 6.582 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.1489, allocations: 8.031 kB / 0.9159 GB, free: 6.574 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009066/0.1498, allocations: 336.1 kB / 0.9162 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006716/0.1504, allocations: 0.5978 MB / 0.9168 GB, free: 5.617 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.1505, allocations: 74.12 kB / 0.9168 GB, free: 5.547 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.276e-05/0.1505, allocations: 96 kB / 0.9169 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000706/0.1513, allocations: 0.9251 MB / 0.9178 GB, free: 4.43 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.1513, allocations: 0 / 0.9178 GB, free: 4.43 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.1513, allocations: 39.98 kB / 0.9179 GB, free: 4.391 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.1513, allocations: 24 kB / 0.9179 GB, free: 4.367 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005723/0.1519, allocations: 0.5908 MB / 0.9185 GB, free: 3.777 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.1538, allocations: 1.929 MB / 0.9204 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005254/0.1543, allocations: 445.1 kB / 0.9208 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.1545, allocations: 141.1 kB / 0.9209 GB, free: 1.211 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.107e-05/0.1545, allocations: 36.91 kB / 0.921 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006235/0.1552, allocations: 463.3 kB / 0.9214 GB, free: 0.6758 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=91): time 1.934e-06/0.1552, allocations: 4 kB / 0.9214 GB, free: 0.6719 MB / 0.8698 GB Notification: Performance of matching and sorting (n=91): time 0.0009932/0.1562, allocations: 0.5811 MB / 0.922 GB, free: 88 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.463e-05/0.1562, allocations: 196.9 kB / 0.9222 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/0.1566, allocations: 0.5172 MB / 0.9227 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.529e-05/0.1566, allocations: 49.7 kB / 0.9227 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.1568, allocations: 342.4 kB / 0.923 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.1569, allocations: 309.4 kB / 0.9233 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.1571, allocations: 178.4 kB / 0.9235 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1572, allocations: 406.5 kB / 0.9239 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.1573, allocations: 96.77 kB / 0.924 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.1575, allocations: 342.1 kB / 0.9243 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.1578, allocations: 363.8 kB / 0.9247 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1578, allocations: 0 / 0.9247 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0006207/0.1585, allocations: 495 kB / 0.9251 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1585, allocations: 4 kB / 0.9251 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1585, allocations: 4 kB / 0.9251 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003886/0.1589, allocations: 124.7 kB / 0.9252 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003818/0.1593, allocations: 199.7 kB / 0.9254 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009762/0.1602, allocations: 1.316 MB / 0.9267 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.1605, allocations: 83.48 kB / 0.9268 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.1605, allocations: 27.98 kB / 0.9268 GB, free: 10.83 MB / 0.8855 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.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 (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.0001781/0.1607, allocations: 179.1 kB / 0.927 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.02e-05/0.1608, allocations: 83.86 kB / 0.9271 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000789/0.1616, allocations: 0.6383 MB / 0.9277 GB, free: 9.906 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.1616, allocations: 8 kB / 0.9277 GB, free: 9.898 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.1616, allocations: 0 / 0.9277 GB, free: 9.898 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1616, allocations: 3.984 kB / 0.9277 GB, free: 9.895 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.1632, allocations: 1.152 MB / 0.9288 GB, free: 8.699 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1632, allocations: 0 / 0.9288 GB, free: 8.699 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.1635, allocations: 151.8 kB / 0.929 GB, free: 8.551 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003079/0.1638, allocations: 112.6 kB / 0.9291 GB, free: 8.438 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/0.1638, allocations: 27.97 kB / 0.9291 GB, free: 8.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008254/0.1647, allocations: 1.321 MB / 0.9304 GB, free: 7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1647, allocations: 0 / 0.9304 GB, free: 7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006033/0.1653, allocations: 0.5789 MB / 0.931 GB, free: 6.402 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.1655, allocations: 147.2 kB / 0.9311 GB, free: 6.258 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.898e-05/0.1655, allocations: 36 kB / 0.9312 GB, free: 6.223 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.1658, allocations: 38.36 kB / 0.9312 GB, free: 6.188 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.1659, allocations: 76.8 kB / 0.9313 GB, free: 6.113 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.1659, allocations: 23.98 kB / 0.9313 GB, free: 6.09 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001853/0.1661, allocations: 247.4 kB / 0.9315 GB, free: 5.852 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.1661, allocations: 0 / 0.9315 GB, free: 5.852 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005846/0.1667, allocations: 351.1 kB / 0.9319 GB, free: 5.508 MB / 0.8855 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.001388/0.1681, allocations: 0.7731 MB / 0.9326 GB, free: 5.008 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006291/0.1687, allocations: 0.5332 MB / 0.9331 GB, free: 4.457 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.1687, allocations: 8.375 kB / 0.9331 GB, free: 4.449 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003267/0.169, allocations: 375 kB / 0.9335 GB, free: 4.066 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006257/0.1696, allocations: 324.2 kB / 0.9338 GB, free: 3.77 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.1715, allocations: 1.524 MB / 0.9353 GB, free: 2.211 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.1719, allocations: 203.2 kB / 0.9355 GB, free: 1.984 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003844/0.1723, allocations: 199.1 kB / 0.9357 GB, free: 1.785 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005265/0.1728, allocations: 327 kB / 0.936 GB, free: 1.465 MB / 0.8855 GB Notification: Performance of SimCode: time 7.81e-07/0.1728, allocations: 0 / 0.936 GB, free: 1.465 MB / 0.8855 GB Notification: Performance of Templates: time 0.02086/0.1937, allocations: 17.71 MB / 0.9533 GB, free: 100 kB / 0.9011 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 -s gbode -gbm=radauIIA3 -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.796379828825593]