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.001568/0.001568, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001579/0.001579, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9818/0.9818, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.863/1.863, allocations: 377.8 MB / 0.6236 GB, free: 8.551 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.843e-06/1.843e-06, allocations: 0.875 kB / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.115e-05, allocations: 5.672 kB / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.00736/0.007392, allocations: 5.026 MB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1383/0.1457, allocations: 146.6 MB / 0.9596 GB, free: 9.59 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006646/0.1464, allocations: 23.81 kB / 0.9596 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004661/0.1468, allocations: 210.1 kB / 0.9598 GB, free: 9.359 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.148, allocations: 0.594 MB / 0.9604 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.1493, allocations: 0.8724 MB / 0.9612 GB, free: 7.887 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001023/0.1503, allocations: 1.509 MB / 0.9627 GB, free: 6.367 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000471/0.1508, allocations: 406.2 kB / 0.9631 GB, free: 5.953 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006788/0.1515, allocations: 0.768 MB / 0.9638 GB, free: 5.184 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003789/0.1519, allocations: 418.8 kB / 0.9642 GB, free: 4.773 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.152, allocations: 124 kB / 0.9644 GB, free: 4.652 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005856/0.1526, allocations: 0.4993 MB / 0.9649 GB, free: 4.152 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001849/0.1528, allocations: 318.9 kB / 0.9652 GB, free: 3.84 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002646/0.153, allocations: 415 kB / 0.9656 GB, free: 3.43 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.1541, allocations: 1.304 MB / 0.9668 GB, free: 2.121 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1541, allocations: 4 kB / 0.9668 GB, free: 2.117 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1541, allocations: 0 / 0.9668 GB, free: 2.117 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.1541, allocations: 0 / 0.9668 GB, free: 2.117 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.001573/0.1557, allocations: 1.558 MB / 0.9684 GB, free: 0.5156 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.1557, allocations: 8.031 kB / 0.9684 GB, free: 0.5078 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007832/0.1565, allocations: 335.5 kB / 0.9687 GB, free: 184 kB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007525/0.1573, allocations: 0.7364 MB / 0.9694 GB, free: 15.42 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/0.1573, allocations: 78.11 kB / 0.9695 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.156e-05/0.1574, allocations: 92 kB / 0.9696 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009355/0.1584, allocations: 1.029 MB / 0.9706 GB, free: 14.11 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.1584, allocations: 0 / 0.9706 GB, free: 14.11 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.109e-05/0.1584, allocations: 36 kB / 0.9706 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.1585, allocations: 24 kB / 0.9706 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.1597, allocations: 0.8036 MB / 0.9714 GB, free: 13.24 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002993/0.1627, allocations: 2.391 MB / 0.9737 GB, free: 10.78 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009265/0.1636, allocations: 0.5166 MB / 0.9742 GB, free: 10.26 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.1639, allocations: 186.6 kB / 0.9744 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.011e-05/0.164, allocations: 28.98 kB / 0.9745 GB, free: 10.04 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005911/0.1646, allocations: 0.4988 MB / 0.9749 GB, free: 9.496 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=90): time 2.325e-06/0.1646, allocations: 4 kB / 0.9749 GB, free: 9.492 MB / 0.9323 GB Notification: Performance of matching and sorting (n=90): time 0.001907/0.1665, allocations: 0.8666 MB / 0.9758 GB, free: 8.617 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.085e-05/0.1666, allocations: 208.8 kB / 0.976 GB, free: 8.371 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005991/0.1672, allocations: 0.5971 MB / 0.9766 GB, free: 7.762 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.721e-05/0.1672, allocations: 53.7 kB / 0.9766 GB, free: 7.703 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.1675, allocations: 464 kB / 0.9771 GB, free: 7.242 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.1677, allocations: 301.5 kB / 0.9774 GB, free: 6.945 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/0.168, allocations: 196.2 kB / 0.9775 GB, free: 6.742 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.1682, allocations: 0.5625 MB / 0.9781 GB, free: 6.168 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.1685, allocations: 145.9 kB / 0.9782 GB, free: 6.027 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005679/0.169, allocations: 389.8 kB / 0.9786 GB, free: 5.598 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006703/0.1697, allocations: 415.1 kB / 0.979 GB, free: 5.176 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1697, allocations: 4 kB / 0.979 GB, free: 5.172 MB / 0.9323 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001299/0.171, allocations: 0.6879 MB / 0.9797 GB, free: 4.477 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.171, allocations: 8 kB / 0.9797 GB, free: 4.469 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.171, allocations: 4.094 kB / 0.9797 GB, free: 4.465 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005563/0.1716, allocations: 123.6 kB / 0.9798 GB, free: 4.34 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005344/0.1721, allocations: 191.7 kB / 0.98 GB, free: 4.152 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.1736, allocations: 1.899 MB / 0.9818 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000358/0.1739, allocations: 83.48 kB / 0.9819 GB, free: 2.039 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.213e-05/0.174, allocations: 35.97 kB / 0.982 GB, free: 2.004 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.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 (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.0002281/0.1742, allocations: 223.2 kB / 0.9822 GB, free: 1.777 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.1744, allocations: 115.4 kB / 0.9823 GB, free: 1.664 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.1759, allocations: 0.8657 MB / 0.9831 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.1759, allocations: 8 kB / 0.9831 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.1759, allocations: 0 / 0.9831 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.1759, allocations: 7.984 kB / 0.9831 GB, free: 0.7695 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.1782, allocations: 1.671 MB / 0.9848 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1783, allocations: 0 / 0.9848 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004461/0.1787, allocations: 159.7 kB / 0.9849 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004301/0.1791, allocations: 123.5 kB / 0.985 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.766e-05/0.1792, allocations: 23.98 kB / 0.9851 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/0.1806, allocations: 1.918 MB / 0.9869 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1806, allocations: 3.938 kB / 0.9869 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.1822, allocations: 1.074 MB / 0.988 GB, free: 11.58 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000308/0.1825, allocations: 203.1 kB / 0.9882 GB, free: 11.38 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.898e-05/0.1826, allocations: 27.89 kB / 0.9882 GB, free: 11.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/0.1829, allocations: 48.03 kB / 0.9883 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.1831, allocations: 80.84 kB / 0.9883 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/0.1831, allocations: 35.97 kB / 0.9884 GB, free: 11.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003802/0.1835, allocations: 407 kB / 0.9888 GB, free: 10.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1e-07/0.1835, allocations: 0 / 0.9888 GB, free: 10.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007129/0.1842, allocations: 351.1 kB / 0.9891 GB, free: 10.46 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.001355/0.1856, allocations: 0.634 MB / 0.9897 GB, free: 10 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001058/0.1866, allocations: 0.6838 MB / 0.9904 GB, free: 9.297 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1866, allocations: 4 kB / 0.9904 GB, free: 9.293 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005814/0.1872, allocations: 493 kB / 0.9908 GB, free: 8.793 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009143/0.1881, allocations: 315 kB / 0.9911 GB, free: 8.496 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.1909, allocations: 1.658 MB / 0.9928 GB, free: 6.801 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.1911, allocations: 194.9 kB / 0.993 GB, free: 6.594 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005588/0.1916, allocations: 258.8 kB / 0.9932 GB, free: 6.336 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.1919, allocations: 120.4 kB / 0.9933 GB, free: 6.219 MB / 0.948 GB Notification: Performance of SimCode: time 8.82e-07/0.1919, allocations: 0 / 0.9933 GB, free: 6.219 MB / 0.948 GB Notification: Performance of Templates: time 0.02198/0.2139, allocations: 16 MB / 1.009 GB, free: 6.512 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.8880933481268585]