Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008762/0.0008762, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0009196/0.0009196, allocations: 177 kB / 23.36 MB, free: 1.137 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.9349/0.9349, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.249/2.249, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.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.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.8385 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.524e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.01199/0.01202, allocations: 4.93 MB / 0.8434 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1493/0.1613, allocations: 146.1 MB / 0.986 GB, free: 6.695 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006504/0.1619, allocations: 27.81 kB / 0.986 GB, free: 6.668 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004878/0.1624, allocations: 202.1 kB / 0.9862 GB, free: 6.469 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.1636, allocations: 0.5979 MB / 0.9868 GB, free: 5.867 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.165, allocations: 0.8763 MB / 0.9877 GB, free: 4.988 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001128/0.1661, allocations: 1.505 MB / 0.9891 GB, free: 3.477 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004961/0.1666, allocations: 418.3 kB / 0.9895 GB, free: 3.039 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008029/0.1674, allocations: 0.803 MB / 0.9903 GB, free: 2.234 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003682/0.1678, allocations: 397.1 kB / 0.9907 GB, free: 1.848 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.1679, allocations: 112 kB / 0.9908 GB, free: 1.738 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005939/0.1685, allocations: 495.3 kB / 0.9913 GB, free: 1.254 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.1687, allocations: 306.9 kB / 0.9916 GB, free: 0.9531 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002553/0.1689, allocations: 395 kB / 0.992 GB, free: 0.5664 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.17, allocations: 1.261 MB / 0.9932 GB, free: 15.3 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.17, allocations: 0 / 0.9932 GB, free: 15.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.142e-06/0.17, allocations: 4 kB / 0.9932 GB, free: 15.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.1701, allocations: 0 / 0.9932 GB, free: 15.3 MB / 0.9636 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.001408/0.1715, allocations: 1.41 MB / 0.9946 GB, free: 13.85 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.1715, allocations: 8.625 kB / 0.9946 GB, free: 13.84 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007173/0.1722, allocations: 300.2 kB / 0.9949 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006723/0.1729, allocations: 0.5823 MB / 0.9954 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.239e-05/0.1729, allocations: 74.12 kB / 0.9955 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.588e-05/0.173, allocations: 91.98 kB / 0.9956 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006543/0.1737, allocations: 0.8797 MB / 0.9964 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.1737, allocations: 8 kB / 0.9965 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.737e-05/0.1737, allocations: 47.97 kB / 0.9965 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.1737, allocations: 20 kB / 0.9965 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005765/0.1743, allocations: 0.5869 MB / 0.9971 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.1762, allocations: 1.667 MB / 0.9987 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004841/0.1767, allocations: 424.7 kB / 0.9991 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.1768, allocations: 143.8 kB / 0.9993 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-05/0.1769, allocations: 28.98 kB / 0.9993 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003402/0.1772, allocations: 462.9 kB / 0.9997 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=90): time 1.873e-06/0.1772, allocations: 0 / 0.9997 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of matching and sorting (n=90): time 0.0009637/0.1782, allocations: 0.5811 MB / 1 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/0.1782, allocations: 200.9 kB / 1 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.1786, allocations: 0.521 MB / 1.001 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.1786, allocations: 45.7 kB / 1.001 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.1788, allocations: 338.4 kB / 1.001 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.1789, allocations: 305.3 kB / 1.002 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.1791, allocations: 170.5 kB / 1.002 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1792, allocations: 402.6 kB / 1.002 GB, free: 5.73 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.1793, allocations: 92.78 kB / 1.002 GB, free: 5.637 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.1795, allocations: 315.6 kB / 1.003 GB, free: 5.285 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003154/0.1798, allocations: 345.1 kB / 1.003 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1798, allocations: 0 / 1.003 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0006049/0.1804, allocations: 479 kB / 1.003 GB, free: 4.453 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1805, allocations: 7.984 kB / 1.003 GB, free: 4.445 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1805, allocations: 4 kB / 1.003 GB, free: 4.441 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003671/0.1808, allocations: 116.7 kB / 1.003 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.1812, allocations: 183.7 kB / 1.004 GB, free: 4.145 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009183/0.1821, allocations: 1.308 MB / 1.005 GB, free: 2.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.1823, allocations: 83.55 kB / 1.005 GB, free: 2.668 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.1824, allocations: 23.98 kB / 1.005 GB, free: 2.645 MB / 0.9636 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.000175/0.1826, allocations: 179.1 kB / 1.005 GB, free: 2.461 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.379e-05/0.1826, allocations: 83.92 kB / 1.005 GB, free: 2.379 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007561/0.1834, allocations: 0.6109 MB / 1.006 GB, free: 1.75 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1834, allocations: 8 kB / 1.006 GB, free: 1.742 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.1834, allocations: 0 / 1.006 GB, free: 1.742 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.1834, allocations: 11.98 kB / 1.006 GB, free: 1.73 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.1846, allocations: 1.12 MB / 1.007 GB, free: 0.5703 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1846, allocations: 0 / 1.007 GB, free: 0.5703 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.1849, allocations: 147.8 kB / 1.007 GB, free: 436 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002851/0.1852, allocations: 108.7 kB / 1.007 GB, free: 324 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.1852, allocations: 19.98 kB / 1.007 GB, free: 304 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007833/0.186, allocations: 1.329 MB / 1.009 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.186, allocations: 0 / 1.009 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007562/0.1868, allocations: 0.7164 MB / 1.009 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.187, allocations: 155.1 kB / 1.009 GB, free: 13.99 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.004e-05/0.187, allocations: 16 kB / 1.009 GB, free: 13.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.1872, allocations: 47.95 kB / 1.009 GB, free: 13.93 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.087e-05/0.1873, allocations: 64.91 kB / 1.01 GB, free: 13.86 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.1873, allocations: 31.91 kB / 1.01 GB, free: 13.83 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001786/0.1875, allocations: 247.4 kB / 1.01 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1875, allocations: 0 / 1.01 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004818/0.188, allocations: 351.1 kB / 1.01 GB, free: 13.25 MB / 0.9792 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 (100): * Single equations (assignments): 89 * 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.001332/0.1893, allocations: 0.7603 MB / 1.011 GB, free: 12.75 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005572/0.1899, allocations: 0.5175 MB / 1.011 GB, free: 12.22 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.1899, allocations: 8 kB / 1.011 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003143/0.1902, allocations: 379.1 kB / 1.012 GB, free: 11.82 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005648/0.1908, allocations: 310.7 kB / 1.012 GB, free: 11.54 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.1926, allocations: 1.604 MB / 1.014 GB, free: 9.895 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.1928, allocations: 202.9 kB / 1.014 GB, free: 9.676 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000363/0.1931, allocations: 190.9 kB / 1.014 GB, free: 9.484 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004807/0.1936, allocations: 311 kB / 1.014 GB, free: 9.18 MB / 0.9792 GB Notification: Performance of SimCode: time 6.11e-07/0.1936, allocations: 0 / 1.014 GB, free: 9.18 MB / 0.9792 GB Notification: Performance of Templates: time 0.018/0.2116, allocations: 17.08 MB / 1.031 GB, free: 8.41 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.658545959275216]