Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.0009825/0.0009825, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.0009355/0.0009355, allocations: 173 kB / 23.5 MB, free: 1.051 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.9209/0.9209, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.136/2.136, allocations: 429.5 MB / 0.6736 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.8782 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.721e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.00733/0.007357, allocations: 5.132 MB / 0.8832 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1417/0.149, allocations: 146.4 MB / 1.026 GB, free: 14.62 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008508/0.1499, allocations: 23.81 kB / 1.026 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006405/0.1505, allocations: 210 kB / 1.026 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.152, allocations: 0.5901 MB / 1.027 GB, free: 13.79 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.1537, allocations: 0.884 MB / 1.028 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001293/0.155, allocations: 1.541 MB / 1.029 GB, free: 11.36 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006278/0.1556, allocations: 422.7 kB / 1.03 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008978/0.1565, allocations: 0.7718 MB / 1.03 GB, free: 10.15 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005166/0.1571, allocations: 438.7 kB / 1.031 GB, free: 9.723 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.1572, allocations: 131.9 kB / 1.031 GB, free: 9.594 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008225/0.158, allocations: 0.4954 MB / 1.031 GB, free: 9.098 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.1582, allocations: 330.9 kB / 1.032 GB, free: 8.773 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003205/0.1586, allocations: 418.9 kB / 1.032 GB, free: 8.363 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.1601, allocations: 1.308 MB / 1.033 GB, free: 7.051 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1601, allocations: 0 / 1.033 GB, free: 7.051 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1601, allocations: 0 / 1.033 GB, free: 7.051 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.165e-05/0.1601, allocations: 0 / 1.033 GB, free: 7.051 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002003/0.1621, allocations: 1.594 MB / 1.035 GB, free: 5.414 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.1622, allocations: 8.031 kB / 1.035 GB, free: 5.406 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009356/0.1631, allocations: 335.5 kB / 1.035 GB, free: 5.078 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008393/0.164, allocations: 0.7403 MB / 1.036 GB, free: 4.312 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.027e-05/0.164, allocations: 86.05 kB / 1.036 GB, free: 4.227 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.1641, allocations: 92 kB / 1.036 GB, free: 4.137 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.1652, allocations: 1.036 MB / 1.037 GB, free: 2.984 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.1652, allocations: 0 / 1.037 GB, free: 2.984 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.039e-05/0.1652, allocations: 39.98 kB / 1.037 GB, free: 2.945 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.1653, allocations: 24 kB / 1.037 GB, free: 2.922 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009691/0.1662, allocations: 0.8075 MB / 1.038 GB, free: 2.113 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0027/0.1689, allocations: 2.426 MB / 1.04 GB, free: 15.62 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00091/0.1698, allocations: 0.5369 MB / 1.041 GB, free: 15.07 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.1701, allocations: 195.3 kB / 1.041 GB, free: 14.88 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.314e-05/0.1702, allocations: 36.92 kB / 1.041 GB, free: 14.84 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006821/0.1709, allocations: 0.5105 MB / 1.042 GB, free: 14.29 MB / 1.01 GB Notification: Performance of pre-optimization done (n=93): time 2.715e-06/0.1709, allocations: 0 / 1.042 GB, free: 14.29 MB / 1.01 GB Notification: Performance of matching and sorting (n=93): time 0.0017/0.1726, allocations: 0.8783 MB / 1.043 GB, free: 13.4 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.831e-05/0.1726, allocations: 196.9 kB / 1.043 GB, free: 13.17 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005189/0.1732, allocations: 0.6166 MB / 1.043 GB, free: 12.54 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.614e-05/0.1732, allocations: 49.7 kB / 1.043 GB, free: 12.48 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.1735, allocations: 468 kB / 1.044 GB, free: 12.02 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.1736, allocations: 317.4 kB / 1.044 GB, free: 11.7 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.1738, allocations: 196.2 kB / 1.044 GB, free: 11.5 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.174, allocations: 0.5664 MB / 1.045 GB, free: 10.92 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.1743, allocations: 153.8 kB / 1.045 GB, free: 10.77 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004989/0.1748, allocations: 397.8 kB / 1.045 GB, free: 10.33 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005872/0.1753, allocations: 419.1 kB / 1.046 GB, free: 9.902 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.1753, allocations: 0 / 1.046 GB, free: 9.902 MB / 1.01 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001139/0.1765, allocations: 0.7114 MB / 1.047 GB, free: 9.184 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.1765, allocations: 11.94 kB / 1.047 GB, free: 9.172 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1765, allocations: 0 / 1.047 GB, free: 9.172 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004805/0.177, allocations: 127.6 kB / 1.047 GB, free: 9.043 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.1774, allocations: 191.8 kB / 1.047 GB, free: 8.855 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/0.179, allocations: 1.905 MB / 1.049 GB, free: 6.82 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003436/0.1793, allocations: 79.53 kB / 1.049 GB, free: 6.742 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.814e-05/0.1794, allocations: 39.97 kB / 1.049 GB, free: 6.703 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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.0002373/0.1796, allocations: 219.1 kB / 1.049 GB, free: 6.48 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.1798, allocations: 135.3 kB / 1.049 GB, free: 6.348 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.181, allocations: 0.8658 MB / 1.05 GB, free: 5.469 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.181, allocations: 8 kB / 1.05 GB, free: 5.461 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.181, allocations: 0 / 1.05 GB, free: 5.461 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.181, allocations: 3.984 kB / 1.05 GB, free: 5.457 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.183, allocations: 1.702 MB / 1.052 GB, free: 3.695 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.183, allocations: 0 / 1.052 GB, free: 3.695 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003454/0.1834, allocations: 163.8 kB / 1.052 GB, free: 3.535 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003504/0.1837, allocations: 115.5 kB / 1.052 GB, free: 3.418 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.005e-05/0.1837, allocations: 27.98 kB / 1.052 GB, free: 3.391 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.1849, allocations: 1.926 MB / 1.054 GB, free: 1.336 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1849, allocations: 0 / 1.054 GB, free: 1.336 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.1862, allocations: 1.082 MB / 1.055 GB, free: 236 kB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002469/0.1865, allocations: 211 kB / 1.055 GB, free: 24 kB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.359/0.5455, allocations: 31.28 kB / 1.055 GB, free: 219.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004799/0.546, allocations: 45.8 kB / 1.055 GB, free: 219.8 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.5461, allocations: 77.61 kB / 1.055 GB, free: 219.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.94e-05/0.5462, allocations: 37 kB / 1.055 GB, free: 219.8 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000342/0.5465, allocations: 409.6 kB / 1.056 GB, free: 219.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.5465, allocations: 0 / 1.056 GB, free: 219.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006635/0.5472, allocations: 357.6 kB / 1.056 GB, free: 219.7 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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.001214/0.5484, allocations: 0.625 MB / 1.057 GB, free: 219.6 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009875/0.5494, allocations: 0.6998 MB / 1.057 GB, free: 219.4 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5494, allocations: 1.031 kB / 1.057 GB, free: 219.4 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000451/0.5498, allocations: 0.4969 MB / 1.058 GB, free: 219.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007199/0.5505, allocations: 321.5 kB / 1.058 GB, free: 219.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.5529, allocations: 1.732 MB / 1.06 GB, free: 218.5 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.553, allocations: 198.3 kB / 1.06 GB, free: 218.4 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004561/0.5535, allocations: 253.2 kB / 1.06 GB, free: 218.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.5537, allocations: 119.7 kB / 1.06 GB, free: 218.4 MB / 1.01 GB Notification: Performance of SimCode: time 1.042e-06/0.5537, allocations: 0 / 1.06 GB, free: 218.4 MB / 1.01 GB Notification: Performance of Templates: time 0.01791/0.5716, allocations: 16.13 MB / 1.076 GB, free: 216.4 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.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: 6.323970715049654]