Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001001/0.001001, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001053/0.001053, allocations: 173 kB / 23.49 MB, free: 1.059 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.9478/0.9478, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.023/2.023, allocations: 429.5 MB / 0.6736 GB, free: 4.027 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.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8781 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.465e-05, allocations: 3.438 kB / 0.8781 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.005113/0.005138, allocations: 4.803 MB / 0.8828 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1357/0.1408, allocations: 146.3 MB / 1.026 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008552/0.1417, allocations: 19.81 kB / 1.026 GB, free: 15 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006482/0.1423, allocations: 198.2 kB / 1.026 GB, free: 14.8 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.144, allocations: 0.5708 MB / 1.026 GB, free: 14.23 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.1456, allocations: 0.8685 MB / 1.027 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001314/0.1469, allocations: 1.463 MB / 1.029 GB, free: 11.88 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005236/0.1474, allocations: 390 kB / 1.029 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006494/0.1481, allocations: 0.7367 MB / 1.03 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003629/0.1484, allocations: 406.8 kB / 1.03 GB, free: 10.35 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.1485, allocations: 120 kB / 1.03 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006728/0.1492, allocations: 495.4 kB / 1.031 GB, free: 9.746 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.1494, allocations: 314.9 kB / 1.031 GB, free: 9.438 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002615/0.1497, allocations: 395 kB / 1.031 GB, free: 9.051 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.1509, allocations: 1.273 MB / 1.033 GB, free: 7.773 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1509, allocations: 0 / 1.033 GB, free: 7.773 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1509, allocations: 0 / 1.033 GB, free: 7.773 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.888e-06/0.1509, allocations: 0 / 1.033 GB, free: 7.773 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001573/0.1524, allocations: 1.519 MB / 1.034 GB, free: 6.207 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1525, allocations: 12.03 kB / 1.034 GB, free: 6.195 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009226/0.1534, allocations: 331.5 kB / 1.035 GB, free: 5.871 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007775/0.1542, allocations: 0.7247 MB / 1.035 GB, free: 5.121 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.444e-05/0.1542, allocations: 74.11 kB / 1.035 GB, free: 5.051 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.798e-05/0.1543, allocations: 91.98 kB / 1.035 GB, free: 4.961 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.1555, allocations: 1.013 MB / 1.036 GB, free: 3.824 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.1555, allocations: 0 / 1.036 GB, free: 3.824 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.535e-05/0.1556, allocations: 40 kB / 1.036 GB, free: 3.785 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.1556, allocations: 27.98 kB / 1.036 GB, free: 3.758 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008324/0.1564, allocations: 0.784 MB / 1.037 GB, free: 2.977 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0024/0.1588, allocations: 2.452 MB / 1.04 GB, free: 468 kB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007548/0.1596, allocations: 0.4959 MB / 1.04 GB, free: 15.95 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.1598, allocations: 179.2 kB / 1.04 GB, free: 15.78 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 4.964e-05/0.1599, allocations: 28.64 kB / 1.04 GB, free: 15.75 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004799/0.1603, allocations: 494.5 kB / 1.041 GB, free: 15.22 MB / 1.01 GB Notification: Performance of pre-optimization done (n=86): time 2.073e-06/0.1604, allocations: 0 / 1.041 GB, free: 15.22 MB / 1.01 GB Notification: Performance of matching and sorting (n=86): time 0.00155/0.1619, allocations: 0.8508 MB / 1.042 GB, free: 14.36 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.984e-05/0.162, allocations: 196.9 kB / 1.042 GB, free: 14.13 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004909/0.1625, allocations: 0.5893 MB / 1.042 GB, free: 13.52 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.398e-05/0.1625, allocations: 53.69 kB / 1.042 GB, free: 13.46 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004808/0.163, allocations: 455.9 kB / 1.043 GB, free: 13.01 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.1632, allocations: 285.6 kB / 1.043 GB, free: 12.73 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.1634, allocations: 188.2 kB / 1.043 GB, free: 12.54 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1635, allocations: 0.5625 MB / 1.044 GB, free: 11.96 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.1638, allocations: 141.9 kB / 1.044 GB, free: 11.82 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.1641, allocations: 389.5 kB / 1.044 GB, free: 11.39 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005286/0.1646, allocations: 410.8 kB / 1.045 GB, free: 10.97 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1646, allocations: 0 / 1.045 GB, free: 10.97 MB / 1.01 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001028/0.1657, allocations: 0.6878 MB / 1.045 GB, free: 10.27 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1657, allocations: 4 kB / 1.045 GB, free: 10.27 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.1657, allocations: 7.984 kB / 1.045 GB, free: 10.26 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004786/0.1662, allocations: 127.7 kB / 1.046 GB, free: 10.13 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.1666, allocations: 175.7 kB / 1.046 GB, free: 9.957 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.1679, allocations: 1.91 MB / 1.048 GB, free: 7.922 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.1682, allocations: 67.61 kB / 1.048 GB, free: 7.855 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.847e-05/0.1683, allocations: 43.97 kB / 1.048 GB, free: 7.812 MB / 1.01 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.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 (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.0002143/0.1685, allocations: 219 kB / 1.048 GB, free: 7.586 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.1686, allocations: 115.4 kB / 1.048 GB, free: 7.473 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.1698, allocations: 0.8304 MB / 1.049 GB, free: 6.625 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.1698, allocations: 12 kB / 1.049 GB, free: 6.613 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.1698, allocations: 4 kB / 1.049 GB, free: 6.609 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.1698, allocations: 3.984 kB / 1.049 GB, free: 6.605 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.1719, allocations: 1.635 MB / 1.05 GB, free: 4.91 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1719, allocations: 4 kB / 1.05 GB, free: 4.906 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003066/0.1723, allocations: 143.8 kB / 1.051 GB, free: 4.766 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003536/0.1726, allocations: 115.6 kB / 1.051 GB, free: 4.648 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.1726, allocations: 23.98 kB / 1.051 GB, free: 4.625 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.1737, allocations: 1.918 MB / 1.053 GB, free: 2.578 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1737, allocations: 0 / 1.053 GB, free: 2.578 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.1748, allocations: 0.8766 MB / 1.053 GB, free: 1.676 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002369/0.175, allocations: 203 kB / 1.054 GB, free: 1.477 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.613e-05/0.1751, allocations: 24 kB / 1.054 GB, free: 1.453 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.1753, allocations: 47.95 kB / 1.054 GB, free: 1.406 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.1755, allocations: 76.86 kB / 1.054 GB, free: 1.332 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/0.1755, allocations: 39.91 kB / 1.054 GB, free: 1.293 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003004/0.1758, allocations: 395 kB / 1.054 GB, free: 0.9141 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1758, allocations: 0 / 1.054 GB, free: 0.9141 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006334/0.1764, allocations: 335.2 kB / 1.055 GB, free: 0.5859 MB / 1.01 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 (96): * Single equations (assignments): 85 * 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.001173/0.1776, allocations: 0.6303 MB / 1.055 GB, free: 124 kB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.3178/0.4954, allocations: 0.6742 MB / 1.056 GB, free: 220.1 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.4954, allocations: 0 / 1.056 GB, free: 220.1 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006173/0.496, allocations: 483.4 kB / 1.056 GB, free: 220 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.4971, allocations: 309.7 kB / 1.057 GB, free: 220 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.4995, allocations: 1.56 MB / 1.058 GB, free: 219.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.4996, allocations: 198.3 kB / 1.058 GB, free: 219.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005356/0.5002, allocations: 253.5 kB / 1.058 GB, free: 219.2 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.5004, allocations: 109.5 kB / 1.059 GB, free: 219.2 MB / 1.01 GB Notification: Performance of SimCode: time 2.074e-06/0.5004, allocations: 0 / 1.059 GB, free: 219.2 MB / 1.01 GB Notification: Performance of Templates: time 0.01749/0.5179, allocations: 15.73 MB / 1.074 GB, free: 217.5 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.255101649090648]