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.00144/0.00144, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.002027/0.002027, allocations: 169 kB / 24.05 MB, free: 460 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.9571/0.9571, allocations: 177.1 MB / 204.5 MB, free: 5.113 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.134/2.134, allocations: 429.5 MB / 0.6743 GB, free: 3.91 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.183e-06/1.183e-06, allocations: 0 / 0.8793 GB, free: 4.938 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.162e-05, allocations: 4.844 kB / 0.8794 GB, free: 4.934 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.004666/0.004687, allocations: 4.733 MB / 0.884 GB, free: 216 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.6288/0.6335, allocations: 143.8 MB / 1.024 GB, free: 19.18 MB / 0.9324 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008158/0.6343, allocations: 20.47 kB / 1.024 GB, free: 19.18 MB / 0.9324 GB Notification: Performance of NFTyping.typeComponents: time 0.0006243/0.635, allocations: 201.2 kB / 1.025 GB, free: 19.18 MB / 0.9324 GB Notification: Performance of NFTyping.typeBindings: time 0.001877/0.6368, allocations: 0.5849 MB / 1.025 GB, free: 19.18 MB / 0.9324 GB Notification: Performance of NFTyping.typeClassSections: time 0.001869/0.6387, allocations: 0.8638 MB / 1.026 GB, free: 19.18 MB / 0.9324 GB Notification: Performance of NFFlatten.flatten: time 0.002217/0.6409, allocations: 1.454 MB / 1.027 GB, free: 19.18 MB / 0.9324 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008053/0.6417, allocations: 390 kB / 1.028 GB, free: 19.11 MB / 0.9324 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001563/0.6433, allocations: 0.7728 MB / 1.029 GB, free: 19.11 MB / 0.9324 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008176/0.6441, allocations: 375.5 kB / 1.029 GB, free: 19.11 MB / 0.9324 GB Notification: Performance of NFPackage.collectConstants: time 0.0003628/0.6445, allocations: 113.5 kB / 1.029 GB, free: 19.11 MB / 0.9324 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.6457, allocations: 499.5 kB / 1.03 GB, free: 19.11 MB / 0.9324 GB Notification: Performance of NFScalarize.scalarize: time 0.0002962/0.646, allocations: 290.4 kB / 1.03 GB, free: 19.11 MB / 0.9324 GB Notification: Performance of NFVerifyModel.verify: time 0.0006953/0.6467, allocations: 376.5 kB / 1.03 GB, free: 19.11 MB / 0.9324 GB Notification: Performance of NFConvertDAE.convert: time 0.002241/0.6489, allocations: 1.234 MB / 1.031 GB, free: 18.99 MB / 0.9324 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.6489, allocations: 0.5156 kB / 1.031 GB, free: 18.99 MB / 0.9324 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6489, allocations: 2.406 kB / 1.031 GB, free: 18.99 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 4.236e-05/0.649, allocations: 0 / 1.031 GB, free: 18.99 MB / 0.9324 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.002684/0.6517, allocations: 1.52 MB / 1.033 GB, free: 18.16 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.6517, allocations: 9.625 kB / 1.033 GB, free: 18.16 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.6528, allocations: 328.3 kB / 1.033 GB, free: 18.07 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.6539, allocations: 0.7094 MB / 1.034 GB, free: 17.81 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.14e-05/0.654, allocations: 66.03 kB / 1.034 GB, free: 17.81 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.6541, allocations: 90.59 kB / 1.034 GB, free: 17.81 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.6551, allocations: 0.8891 MB / 1.035 GB, free: 17.36 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.6552, allocations: 4.156 kB / 1.035 GB, free: 17.36 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.823e-05/0.6552, allocations: 36.31 kB / 1.035 GB, free: 17.36 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.211e-05/0.6553, allocations: 21.44 kB / 1.035 GB, free: 17.36 MB / 0.9324 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.6563, allocations: 0.6718 MB / 1.036 GB, free: 17.35 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003054/0.6594, allocations: 2.291 MB / 1.038 GB, free: 16.3 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007225/0.6601, allocations: 454.8 kB / 1.038 GB, free: 16.25 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.6603, allocations: 154 kB / 1.038 GB, free: 16.24 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 6.316e-05/0.6604, allocations: 30.66 kB / 1.038 GB, free: 16.23 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004976/0.6609, allocations: 469.8 kB / 1.039 GB, free: 16.02 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=86): time 4.178e-06/0.6609, allocations: 1.953 kB / 1.039 GB, free: 16.02 MB / 0.9324 GB Notification: Performance of matching and sorting (n=86): time 0.001656/0.6625, allocations: 0.7581 MB / 1.04 GB, free: 15.9 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.6626, allocations: 203.3 kB / 1.04 GB, free: 15.68 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005665/0.6631, allocations: 0.5683 MB / 1.04 GB, free: 15.48 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 7.142e-05/0.6632, allocations: 50.05 kB / 1.04 GB, free: 15.45 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.6635, allocations: 458.3 kB / 1.041 GB, free: 15.21 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.6637, allocations: 296.7 kB / 1.041 GB, free: 15.02 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.6639, allocations: 188.6 kB / 1.041 GB, free: 15 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.664, allocations: 0.5683 MB / 1.042 GB, free: 14.5 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.6642, allocations: 106.6 kB / 1.042 GB, free: 14.5 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/0.6645, allocations: 364.5 kB / 1.042 GB, free: 14.27 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004786/0.665, allocations: 348.8 kB / 1.043 GB, free: 14.19 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.665, allocations: 0.8438 kB / 1.043 GB, free: 14.19 MB / 0.9324 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001104/0.6661, allocations: 0.6192 MB / 1.043 GB, free: 14.08 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.6662, allocations: 6.688 kB / 1.043 GB, free: 14.08 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.6662, allocations: 1.469 kB / 1.043 GB, free: 14.08 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005063/0.6667, allocations: 129.7 kB / 1.043 GB, free: 14.07 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/0.6671, allocations: 178.4 kB / 1.044 GB, free: 14.07 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.6683, allocations: 1.871 MB / 1.045 GB, free: 12.34 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/0.6688, allocations: 84.14 kB / 1.046 GB, free: 12.3 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.008e-05/0.6688, allocations: 31.2 kB / 1.046 GB, free: 12.3 MB / 0.9324 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.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 (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.0003564/0.6692, allocations: 218.4 kB / 1.046 GB, free: 12.14 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.6694, allocations: 112.5 kB / 1.046 GB, free: 12.09 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.6706, allocations: 0.7735 MB / 1.047 GB, free: 11.98 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.6706, allocations: 10.25 kB / 1.047 GB, free: 11.98 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.6706, allocations: 4.844 kB / 1.047 GB, free: 11.98 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.6707, allocations: 6.234 kB / 1.047 GB, free: 11.98 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.6729, allocations: 1.443 MB / 1.048 GB, free: 11.57 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.6729, allocations: 1.484 kB / 1.048 GB, free: 11.57 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003464/0.6733, allocations: 141.1 kB / 1.048 GB, free: 11.57 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003932/0.6737, allocations: 115.3 kB / 1.048 GB, free: 11.55 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/0.6737, allocations: 24.94 kB / 1.048 GB, free: 11.55 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009919/0.6747, allocations: 1.89 MB / 1.05 GB, free: 9.816 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.6747, allocations: 2.141 kB / 1.05 GB, free: 9.816 MB / 0.9324 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.6758, allocations: 0.8132 MB / 1.051 GB, free: 9.543 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/0.6761, allocations: 190.6 kB / 1.051 GB, free: 9.484 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.729e-05/0.6762, allocations: 26.75 kB / 1.051 GB, free: 9.48 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000263/0.6765, allocations: 37.45 kB / 1.051 GB, free: 9.48 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.6766, allocations: 69.7 kB / 1.051 GB, free: 9.477 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/0.6767, allocations: 30.81 kB / 1.051 GB, free: 9.477 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 0.000338/0.677, allocations: 370.6 kB / 1.052 GB, free: 9.344 MB / 0.9324 GB Notification: Performance of sort global known variables: time 9e-08/0.677, allocations: 0 / 1.052 GB, free: 9.344 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.000944/0.678, allocations: 336.5 kB / 1.052 GB, free: 9.285 MB / 0.9324 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.001317/0.6793, allocations: 0.6309 MB / 1.053 GB, free: 9.078 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.6804, allocations: 0.6114 MB / 1.053 GB, free: 8.875 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6804, allocations: 1.656 kB / 1.053 GB, free: 8.875 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.0005636/0.6809, allocations: 449.7 kB / 1.054 GB, free: 8.684 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.6821, allocations: 314.9 kB / 1.054 GB, free: 8.656 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003168/0.6853, allocations: 1.519 MB / 1.055 GB, free: 7.938 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.6855, allocations: 194.2 kB / 1.056 GB, free: 7.859 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.0007394/0.6862, allocations: 187.8 kB / 1.056 GB, free: 7.816 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007626/0.687, allocations: 364.5 kB / 1.056 GB, free: 7.75 MB / 0.9324 GB Notification: Performance of SimCode: time 2.184e-06/0.687, allocations: 0.5312 kB / 1.056 GB, free: 7.75 MB / 0.9324 GB Notification: Performance of Templates: time 0.02678/0.7138, allocations: 17.03 MB / 1.073 GB, free: 6.059 MB / 0.9324 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.608185833785683]