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.0008877/0.0008877, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0008931/0.0008931, allocations: 161 kB / 24.17 MB, free: 328 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.8956/0.8956, allocations: 177.1 MB / 204.6 MB, free: 5.457 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.82/1.82, allocations: 377.9 MB / 0.624 GB, free: 8.344 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.603e-06/1.603e-06, allocations: 0 / 0.76 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.355e-05/1.515e-05, allocations: 10.48 kB / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006001/0.006016, allocations: 4.719 MB / 0.7646 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.151/0.1571, allocations: 146.1 MB / 0.9072 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007108/0.1578, allocations: 27.75 kB / 0.9072 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004715/0.1582, allocations: 194.2 kB / 0.9074 GB, free: 15.28 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.1595, allocations: 0.5978 MB / 0.908 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.1609, allocations: 0.888 MB / 0.9089 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001079/0.162, allocations: 1.502 MB / 0.9103 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004673/0.1625, allocations: 422 kB / 0.9107 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006585/0.1631, allocations: 0.8108 MB / 0.9115 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003299/0.1634, allocations: 390.8 kB / 0.9119 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 9.549e-05/0.1635, allocations: 116 kB / 0.912 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005947/0.1641, allocations: 495.3 kB / 0.9125 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.1643, allocations: 302.9 kB / 0.9128 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004961/0.1648, allocations: 391 kB / 0.9132 GB, free: 9.363 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.1658, allocations: 1.277 MB / 0.9144 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1658, allocations: 0 / 0.9144 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.22e-07/0.1658, allocations: 0 / 0.9144 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.1658, allocations: 0 / 0.9144 GB, free: 8.082 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.001279/0.1671, allocations: 1.406 MB / 0.9158 GB, free: 6.648 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.1671, allocations: 12.02 kB / 0.9158 GB, free: 6.637 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008091/0.1679, allocations: 340.1 kB / 0.9161 GB, free: 6.305 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000632/0.1686, allocations: 0.5901 MB / 0.9167 GB, free: 5.684 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.011e-05/0.1686, allocations: 78.12 kB / 0.9168 GB, free: 5.609 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.061e-05/0.1687, allocations: 96 kB / 0.9169 GB, free: 5.516 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009265/0.1696, allocations: 0.9212 MB / 0.9178 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.1696, allocations: 3.938 kB / 0.9178 GB, free: 4.492 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.703e-05/0.1697, allocations: 39.98 kB / 0.9178 GB, free: 4.453 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.1697, allocations: 28 kB / 0.9178 GB, free: 4.426 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005636/0.1703, allocations: 0.5908 MB / 0.9184 GB, free: 3.836 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.1724, allocations: 1.922 MB / 0.9203 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005254/0.173, allocations: 458.7 kB / 0.9207 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.1731, allocations: 135.8 kB / 0.9208 GB, free: 1.27 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.808e-05/0.1732, allocations: 36.91 kB / 0.9209 GB, free: 1.234 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003443/0.1735, allocations: 463.4 kB / 0.9213 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=91): time 2.114e-06/0.1735, allocations: 0 / 0.9213 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of matching and sorting (n=91): time 0.0009813/0.1745, allocations: 0.5771 MB / 0.9219 GB, free: 156 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.553e-05/0.1746, allocations: 212.9 kB / 0.9221 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/0.1749, allocations: 0.5093 MB / 0.9226 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/0.175, allocations: 53.62 kB / 0.9226 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.1751, allocations: 346.4 kB / 0.923 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.1753, allocations: 297.4 kB / 0.9233 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.1754, allocations: 186.4 kB / 0.9234 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1755, allocations: 402.5 kB / 0.9238 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.1756, allocations: 100.8 kB / 0.9239 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.1759, allocations: 334.2 kB / 0.9242 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.1762, allocations: 367.7 kB / 0.9246 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1762, allocations: 0 / 0.9246 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0006165/0.1768, allocations: 491.1 kB / 0.925 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1768, allocations: 7.938 kB / 0.9251 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1768, allocations: 4 kB / 0.9251 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004008/0.1772, allocations: 124.7 kB / 0.9252 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003561/0.1776, allocations: 183.7 kB / 0.9254 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009442/0.1785, allocations: 1.305 MB / 0.9266 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.1788, allocations: 89.73 kB / 0.9267 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.494e-05/0.1788, allocations: 32.02 kB / 0.9267 GB, free: 10.91 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.0004336/0.1793, allocations: 179.1 kB / 0.9269 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.627e-05/0.1793, allocations: 91.84 kB / 0.927 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000768/0.1801, allocations: 0.6189 MB / 0.9276 GB, free: 9.996 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.1801, allocations: 15.98 kB / 0.9276 GB, free: 9.98 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.1801, allocations: 0 / 0.9276 GB, free: 9.98 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.1801, allocations: 7.969 kB / 0.9276 GB, free: 9.973 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.1814, allocations: 1.14 MB / 0.9287 GB, free: 8.789 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.1814, allocations: 0 / 0.9287 GB, free: 8.789 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/0.1817, allocations: 151.7 kB / 0.9289 GB, free: 8.641 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000295/0.182, allocations: 112.7 kB / 0.929 GB, free: 8.527 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.182, allocations: 23.97 kB / 0.929 GB, free: 8.504 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007856/0.1828, allocations: 1.321 MB / 0.9303 GB, free: 7.094 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1828, allocations: 3.984 kB / 0.9303 GB, free: 7.09 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005757/0.1834, allocations: 0.575 MB / 0.9309 GB, free: 6.496 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.1836, allocations: 151.1 kB / 0.931 GB, free: 6.348 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.977e-05/0.1836, allocations: 32.02 kB / 0.931 GB, free: 6.316 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.1838, allocations: 40.09 kB / 0.9311 GB, free: 6.277 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.264e-05/0.1839, allocations: 80.73 kB / 0.9312 GB, free: 6.199 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.184, allocations: 19.98 kB / 0.9312 GB, free: 6.18 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001759/0.1841, allocations: 251.4 kB / 0.9314 GB, free: 5.938 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1841, allocations: 3.938 kB / 0.9314 GB, free: 5.934 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004906/0.1846, allocations: 347.1 kB / 0.9318 GB, free: 5.594 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.00146/0.1861, allocations: 0.7604 MB / 0.9325 GB, free: 5.105 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000573/0.1867, allocations: 0.5253 MB / 0.933 GB, free: 4.562 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.1867, allocations: 8.375 kB / 0.933 GB, free: 4.555 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.187, allocations: 382.9 kB / 0.9334 GB, free: 4.164 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005859/0.1876, allocations: 330.7 kB / 0.9337 GB, free: 3.863 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.1896, allocations: 1.53 MB / 0.9352 GB, free: 2.297 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.1897, allocations: 203.1 kB / 0.9354 GB, free: 2.07 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003473/0.19, allocations: 195.2 kB / 0.9356 GB, free: 1.875 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004929/0.1905, allocations: 319 kB / 0.9359 GB, free: 1.562 MB / 0.8855 GB Notification: Performance of SimCode: time 7.22e-07/0.1905, allocations: 0 / 0.9359 GB, free: 1.562 MB / 0.8855 GB Notification: Performance of Templates: time 0.02162/0.2121, allocations: 17.71 MB / 0.9532 GB, free: 196 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 -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.467011621687561]