Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.001543/0.001543, 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.001828/0.001828, allocations: 161 kB / 24.16 MB, free: 332 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.9353/0.9353, allocations: 177.2 MB / 204.6 MB, free: 5.48 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.891/1.891, 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.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129e-05/1.251e-05, allocations: 2.312 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.004837/0.004849, allocations: 4.807 MB / 0.7647 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1243/0.1292, allocations: 146 MB / 0.9073 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00067/0.1299, allocations: 19.88 kB / 0.9073 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005109/0.1304, allocations: 194.2 kB / 0.9075 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.1316, allocations: 0.555 MB / 0.908 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.1329, allocations: 0.8567 MB / 0.9089 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001067/0.134, allocations: 1.455 MB / 0.9103 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004786/0.1345, allocations: 405.9 kB / 0.9107 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007096/0.1352, allocations: 0.764 MB / 0.9114 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003509/0.1355, allocations: 378.8 kB / 0.9118 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.1356, allocations: 112 kB / 0.9119 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006626/0.1363, allocations: 0.511 MB / 0.9124 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.1365, allocations: 299 kB / 0.9127 GB, free: 9.859 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002299/0.1367, allocations: 367 kB / 0.913 GB, free: 9.5 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.1378, allocations: 1.238 MB / 0.9142 GB, free: 8.258 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1378, allocations: 4 kB / 0.9142 GB, free: 8.254 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.22e-07/0.1378, allocations: 0 / 0.9142 GB, free: 8.254 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.1378, allocations: 0 / 0.9142 GB, free: 8.254 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001354/0.1391, allocations: 1.375 MB / 0.9156 GB, free: 6.848 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.1392, allocations: 12.03 kB / 0.9156 GB, free: 6.836 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000791/0.1399, allocations: 292.2 kB / 0.9159 GB, free: 6.551 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006473/0.1406, allocations: 0.5901 MB / 0.9165 GB, free: 5.93 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/0.1406, allocations: 70.12 kB / 0.9165 GB, free: 5.863 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-05/0.1407, allocations: 84 kB / 0.9166 GB, free: 5.781 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006506/0.1413, allocations: 0.8649 MB / 0.9174 GB, free: 4.824 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.1414, allocations: 7.938 kB / 0.9175 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/0.1414, allocations: 36 kB / 0.9175 GB, free: 4.781 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.1414, allocations: 27.98 kB / 0.9175 GB, free: 4.754 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000561/0.142, allocations: 0.5674 MB / 0.9181 GB, free: 4.188 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.1438, allocations: 1.705 MB / 0.9197 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/0.1443, allocations: 394.4 kB / 0.9201 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.1444, allocations: 138.7 kB / 0.9202 GB, free: 1.91 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.446e-05/0.1445, allocations: 32.62 kB / 0.9203 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003342/0.1448, allocations: 443.1 kB / 0.9207 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=86): time 2.124e-06/0.1448, allocations: 0 / 0.9207 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86): time 0.0009729/0.1458, allocations: 0.5615 MB / 0.9212 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/0.1458, allocations: 200.9 kB / 0.9214 GB, free: 0.5977 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003462/0.1462, allocations: 0.521 MB / 0.9219 GB, free: 64 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.761e-05/0.1462, allocations: 49.7 kB / 0.922 GB, free: 8 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.1464, allocations: 326.4 kB / 0.9223 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.1465, allocations: 293.5 kB / 0.9226 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.1467, allocations: 166.5 kB / 0.9227 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1468, allocations: 394.6 kB / 0.9231 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.1469, allocations: 96.77 kB / 0.9232 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.1471, allocations: 316.5 kB / 0.9235 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/0.1474, allocations: 334.1 kB / 0.9238 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1474, allocations: 0 / 0.9238 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0006127/0.1481, allocations: 475 kB / 0.9243 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1481, allocations: 4 kB / 0.9243 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1481, allocations: 4 kB / 0.9243 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003914/0.1485, allocations: 124.7 kB / 0.9244 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.1488, allocations: 187.7 kB / 0.9246 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009514/0.1498, allocations: 1.305 MB / 0.9259 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.15, allocations: 79.48 kB / 0.9259 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.22e-05/0.1501, allocations: 31.91 kB / 0.926 GB, free: 11.74 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 105 * 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.0001679/0.1502, allocations: 171.2 kB / 0.9261 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.918e-05/0.1503, allocations: 75.92 kB / 0.9262 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008165/0.1511, allocations: 0.6109 MB / 0.9268 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1511, allocations: 12 kB / 0.9268 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.1511, allocations: 4 kB / 0.9268 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.1512, allocations: 3.984 kB / 0.9268 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.1525, allocations: 1.097 MB / 0.9279 GB, free: 9.699 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.1525, allocations: 7.984 kB / 0.9279 GB, free: 9.691 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/0.1528, allocations: 147.8 kB / 0.928 GB, free: 9.547 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003146/0.1531, allocations: 108.7 kB / 0.9281 GB, free: 9.438 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.626e-05/0.1531, allocations: 19.98 kB / 0.9282 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008635/0.154, allocations: 1.321 MB / 0.9295 GB, free: 8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.154, allocations: 7.922 kB / 0.9295 GB, free: 7.992 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006003/0.1546, allocations: 0.5634 MB / 0.93 GB, free: 7.41 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/0.1548, allocations: 151 kB / 0.9302 GB, free: 7.262 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.162e-05/0.1548, allocations: 27.98 kB / 0.9302 GB, free: 7.234 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.1551, allocations: 41.53 kB / 0.9302 GB, free: 7.195 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.1552, allocations: 64.88 kB / 0.9303 GB, free: 7.129 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.1552, allocations: 23.97 kB / 0.9303 GB, free: 7.105 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001902/0.1554, allocations: 251.4 kB / 0.9305 GB, free: 6.863 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1554, allocations: 3.938 kB / 0.9306 GB, free: 6.859 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005487/0.1559, allocations: 331.2 kB / 0.9309 GB, free: 6.535 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 (97): * Single equations (assignments): 86 * 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.001427/0.1574, allocations: 0.7662 MB / 0.9316 GB, free: 6.039 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005871/0.1579, allocations: 0.5019 MB / 0.9321 GB, free: 5.527 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.158, allocations: 8 kB / 0.9321 GB, free: 5.52 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003124/0.1583, allocations: 375.2 kB / 0.9325 GB, free: 5.137 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005913/0.1589, allocations: 314.4 kB / 0.9328 GB, free: 4.848 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.1609, allocations: 1.503 MB / 0.9342 GB, free: 3.305 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.1611, allocations: 194.9 kB / 0.9344 GB, free: 3.094 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003593/0.1614, allocations: 186.8 kB / 0.9346 GB, free: 2.906 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005025/0.1619, allocations: 311 kB / 0.9349 GB, free: 2.602 MB / 0.8855 GB Notification: Performance of SimCode: time 1.032e-06/0.1619, allocations: 4 kB / 0.9349 GB, free: 2.598 MB / 0.8855 GB Notification: Performance of Templates: time 0.01856/0.1805, allocations: 16.86 MB / 0.9514 GB, free: 2.07 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.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.557147078681737]