Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001442/0.001442, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001605/0.001605, allocations: 181 kB / 24.09 MB, free: 416 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.9418/0.9418, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.794/1.794, allocations: 377.9 MB / 0.624 GB, free: 8.406 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.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.812 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.44e-05/1.583e-05, allocations: 3.516 kB / 0.812 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.01208/0.01209, allocations: 4.933 MB / 0.8168 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1344/0.1465, allocations: 143.9 MB / 0.9573 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006609/0.1472, allocations: 23.81 kB / 0.9573 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005621/0.1477, allocations: 206.1 kB / 0.9575 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.149, allocations: 0.6017 MB / 0.9581 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.1503, allocations: 0.8647 MB / 0.959 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001005/0.1513, allocations: 1.521 MB / 0.9604 GB, free: 8.941 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005056/0.1518, allocations: 402.3 kB / 0.9608 GB, free: 8.531 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007011/0.1525, allocations: 0.7991 MB / 0.9616 GB, free: 7.73 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006125/0.1531, allocations: 398.8 kB / 0.962 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.1532, allocations: 112 kB / 0.9621 GB, free: 7.23 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005943/0.1538, allocations: 495.3 kB / 0.9626 GB, free: 6.746 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.154, allocations: 306.9 kB / 0.9629 GB, free: 6.445 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002569/0.1542, allocations: 391 kB / 0.9632 GB, free: 6.062 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.1553, allocations: 1.269 MB / 0.9645 GB, free: 4.789 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1553, allocations: 7.938 kB / 0.9645 GB, free: 4.781 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1553, allocations: 0 / 0.9645 GB, free: 4.781 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.176e-06/0.1553, allocations: 0 / 0.9645 GB, free: 4.781 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.0014/0.1567, allocations: 1.558 MB / 0.966 GB, free: 3.176 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1567, allocations: 8.031 kB / 0.966 GB, free: 3.168 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000734/0.1575, allocations: 339.5 kB / 0.9663 GB, free: 2.836 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006332/0.1581, allocations: 0.7189 MB / 0.967 GB, free: 2.094 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.955e-05/0.1581, allocations: 70.12 kB / 0.9671 GB, free: 2.023 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-05/0.1582, allocations: 92 kB / 0.9672 GB, free: 1.934 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006887/0.1589, allocations: 0.8968 MB / 0.9681 GB, free: 0.9414 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.1589, allocations: 0 / 0.9681 GB, free: 0.9414 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.605e-05/0.159, allocations: 43.94 kB / 0.9681 GB, free: 0.8984 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.159, allocations: 27.98 kB / 0.9681 GB, free: 0.8711 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006021/0.1596, allocations: 0.6923 MB / 0.9688 GB, free: 180 kB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.1619, allocations: 2.224 MB / 0.971 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005324/0.1624, allocations: 476.9 kB / 0.9714 GB, free: 13.42 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.1626, allocations: 158.6 kB / 0.9716 GB, free: 13.26 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.606e-05/0.1626, allocations: 56.83 kB / 0.9716 GB, free: 13.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003756/0.163, allocations: 478.7 kB / 0.9721 GB, free: 12.68 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=90): time 1.903e-06/0.163, allocations: 0 / 0.9721 GB, free: 12.68 MB / 0.9323 GB Notification: Performance of matching and sorting (n=90): time 0.001181/0.1642, allocations: 0.7806 MB / 0.9729 GB, free: 11.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.052e-05/0.1643, allocations: 200.9 kB / 0.973 GB, free: 11.66 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/0.1646, allocations: 0.5734 MB / 0.9736 GB, free: 11.07 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/0.1647, allocations: 49.7 kB / 0.9737 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.1649, allocations: 467.9 kB / 0.9741 GB, free: 10.55 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.165, allocations: 309.4 kB / 0.9744 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.1652, allocations: 200 kB / 0.9746 GB, free: 10.04 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1654, allocations: 0.5701 MB / 0.9751 GB, free: 9.457 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.1655, allocations: 109.9 kB / 0.9752 GB, free: 9.352 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.1657, allocations: 365.7 kB / 0.9756 GB, free: 8.945 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005877/0.1663, allocations: 347 kB / 0.9759 GB, free: 8.59 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1663, allocations: 0 / 0.9759 GB, free: 8.59 MB / 0.9323 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0007487/0.1671, allocations: 0.6294 MB / 0.9765 GB, free: 7.949 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1671, allocations: 4 kB / 0.9765 GB, free: 7.945 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1671, allocations: 4 kB / 0.9765 GB, free: 7.941 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004063/0.1675, allocations: 131.5 kB / 0.9767 GB, free: 7.809 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/0.1679, allocations: 187.7 kB / 0.9769 GB, free: 7.625 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/0.1689, allocations: 1.867 MB / 0.9787 GB, free: 5.633 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.1692, allocations: 83.48 kB / 0.9788 GB, free: 5.551 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.1692, allocations: 31.98 kB / 0.9788 GB, free: 5.52 MB / 0.9323 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.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 (110): * Single equations (assignments): 109 * 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.0001794/0.1694, allocations: 223.2 kB / 0.979 GB, free: 5.293 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.1695, allocations: 115.5 kB / 0.9791 GB, free: 5.18 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009222/0.1704, allocations: 0.7991 MB / 0.9799 GB, free: 4.367 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1704, allocations: 16 kB / 0.9799 GB, free: 4.352 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.1705, allocations: 0 / 0.9799 GB, free: 4.352 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.1705, allocations: 3.984 kB / 0.9799 GB, free: 4.348 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.1719, allocations: 1.472 MB / 0.9813 GB, free: 2.824 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1719, allocations: 4 kB / 0.9813 GB, free: 2.82 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/0.1722, allocations: 155.8 kB / 0.9815 GB, free: 2.668 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003018/0.1725, allocations: 111.5 kB / 0.9816 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.1726, allocations: 31.91 kB / 0.9816 GB, free: 2.523 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.1739, allocations: 1.891 MB / 0.9835 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.1739, allocations: 4.031 kB / 0.9835 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009677/0.1748, allocations: 0.9721 MB / 0.9844 GB, free: 15.51 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.175, allocations: 187.1 kB / 0.9846 GB, free: 15.33 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.184e-05/0.1751, allocations: 27.95 kB / 0.9846 GB, free: 15.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.1753, allocations: 50.58 kB / 0.9847 GB, free: 15.25 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/0.1754, allocations: 80.8 kB / 0.9848 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.1754, allocations: 27.98 kB / 0.9848 GB, free: 15.15 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001992/0.1756, allocations: 366.9 kB / 0.9851 GB, free: 14.79 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1756, allocations: 0 / 0.9851 GB, free: 14.79 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005103/0.1761, allocations: 351.1 kB / 0.9855 GB, free: 14.45 MB / 0.948 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 (101): * Single equations (assignments): 90 * 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.001073/0.1772, allocations: 0.6328 MB / 0.9861 GB, free: 13.99 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000617/0.1778, allocations: 0.6171 MB / 0.9867 GB, free: 13.35 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1778, allocations: 4 kB / 0.9867 GB, free: 13.34 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003473/0.1782, allocations: 456.9 kB / 0.9871 GB, free: 12.88 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006325/0.1788, allocations: 320.2 kB / 0.9874 GB, free: 12.59 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.1807, allocations: 1.626 MB / 0.989 GB, free: 10.92 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.1808, allocations: 198.9 kB / 0.9892 GB, free: 10.71 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000352/0.1812, allocations: 186.9 kB / 0.9894 GB, free: 10.52 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005051/0.1817, allocations: 377.9 kB / 0.9898 GB, free: 10.15 MB / 0.948 GB Notification: Performance of SimCode: time 6.22e-07/0.1817, allocations: 4 kB / 0.9898 GB, free: 10.14 MB / 0.948 GB Notification: Performance of Templates: time 0.01874/0.2004, allocations: 17.07 MB / 1.006 GB, free: 9.398 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.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.64500178117305]