Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001076/0.001076, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.00113/0.00113, allocations: 169.7 kB / 23.28 MB, free: 1.223 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.907/0.907, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.3/2.3, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.273e-05/1.431e-05, allocations: 5.547 kB / 0.8897 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.004666/0.004681, allocations: 5.039 MB / 0.8947 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1184/0.1231, allocations: 143.9 MB / 1.035 GB, free: 4.254 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006831/0.1238, allocations: 27.81 kB / 1.035 GB, free: 4.227 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005429/0.1243, allocations: 210 kB / 1.035 GB, free: 4.02 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001372/0.1257, allocations: 0.6017 MB / 1.036 GB, free: 3.414 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.1277, allocations: 0.8841 MB / 1.037 GB, free: 2.527 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001456/0.1291, allocations: 1.544 MB / 1.038 GB, free: 0.9727 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006361/0.1298, allocations: 406.8 kB / 1.039 GB, free: 0.5547 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.1309, allocations: 0.8147 MB / 1.04 GB, free: 15.74 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004224/0.1313, allocations: 406.7 kB / 1.04 GB, free: 15.34 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.1314, allocations: 116 kB / 1.04 GB, free: 15.23 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006834/0.1321, allocations: 499.3 kB / 1.041 GB, free: 14.74 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.1323, allocations: 310.9 kB / 1.041 GB, free: 14.43 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000272/0.1326, allocations: 402.9 kB / 1.041 GB, free: 14.04 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.1339, allocations: 1.28 MB / 1.042 GB, free: 12.75 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1339, allocations: 0 / 1.042 GB, free: 12.75 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1339, allocations: 0 / 1.042 GB, free: 12.75 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.269e-05/0.1339, allocations: 4 kB / 1.042 GB, free: 12.75 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.001801/0.1357, allocations: 1.59 MB / 1.044 GB, free: 11.12 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1358, allocations: 12.62 kB / 1.044 GB, free: 11.11 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007394/0.1365, allocations: 335.5 kB / 1.044 GB, free: 10.78 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006646/0.1372, allocations: 0.7188 MB / 1.045 GB, free: 10.03 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.567e-05/0.1372, allocations: 82.11 kB / 1.045 GB, free: 9.949 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.559e-05/0.1373, allocations: 92 kB / 1.045 GB, free: 9.859 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006997/0.138, allocations: 0.9124 MB / 1.046 GB, free: 8.848 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.138, allocations: 7.938 kB / 1.046 GB, free: 8.84 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.665e-05/0.1381, allocations: 36 kB / 1.046 GB, free: 8.805 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.1381, allocations: 20 kB / 1.046 GB, free: 8.785 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006353/0.1387, allocations: 0.7001 MB / 1.047 GB, free: 8.086 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/0.1408, allocations: 2.266 MB / 1.049 GB, free: 5.766 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/0.1413, allocations: 491.5 kB / 1.05 GB, free: 5.277 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.1415, allocations: 174 kB / 1.05 GB, free: 5.109 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.307e-05/0.1416, allocations: 52.77 kB / 1.05 GB, free: 5.059 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006627/0.1422, allocations: 494.7 kB / 1.05 GB, free: 4.523 MB / 1.01 GB Notification: Performance of pre-optimization done (n=93): time 2.435e-06/0.1422, allocations: 0 / 1.05 GB, free: 4.523 MB / 1.01 GB Notification: Performance of matching and sorting (n=93): time 0.001231/0.1435, allocations: 0.804 MB / 1.051 GB, free: 3.715 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.1435, allocations: 192.9 kB / 1.051 GB, free: 3.48 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.1439, allocations: 0.5812 MB / 1.052 GB, free: 2.887 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.78e-05/0.1439, allocations: 53.69 kB / 1.052 GB, free: 2.828 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/0.1441, allocations: 475.8 kB / 1.052 GB, free: 2.355 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.1443, allocations: 313.3 kB / 1.053 GB, free: 2.047 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.1445, allocations: 192.2 kB / 1.053 GB, free: 1.852 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1446, allocations: 0.5818 MB / 1.053 GB, free: 1.258 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.1448, allocations: 113.9 kB / 1.053 GB, free: 1.148 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.145, allocations: 361.7 kB / 1.054 GB, free: 0.7383 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.1454, allocations: 359 kB / 1.054 GB, free: 384 kB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1454, allocations: 0 / 1.054 GB, free: 384 kB / 1.01 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.4148/0.5602, allocations: 0.6423 MB / 1.055 GB, free: 64.96 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.5602, allocations: 5.438 kB / 1.055 GB, free: 64.96 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.5603, allocations: 0 / 1.055 GB, free: 64.96 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004151/0.5607, allocations: 128.4 kB / 1.055 GB, free: 64.95 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/0.5611, allocations: 193.1 kB / 1.055 GB, free: 64.95 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/0.5621, allocations: 1.867 MB / 1.057 GB, free: 63.23 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000417/0.5625, allocations: 85.16 kB / 1.057 GB, free: 63.23 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/0.5625, allocations: 35.28 kB / 1.057 GB, free: 63.23 MB / 1.01 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 (113): * Single equations (assignments): 112 * 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.0002784/0.5628, allocations: 223 kB / 1.057 GB, free: 63.07 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.563, allocations: 121.6 kB / 1.057 GB, free: 63.07 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009098/0.5639, allocations: 0.8059 MB / 1.058 GB, free: 63 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.5639, allocations: 10.5 kB / 1.058 GB, free: 63 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.5639, allocations: 0.625 kB / 1.058 GB, free: 63 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.5639, allocations: 10.36 kB / 1.058 GB, free: 63 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.5654, allocations: 1.493 MB / 1.06 GB, free: 62.64 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.5654, allocations: 2.188 kB / 1.06 GB, free: 62.64 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.5657, allocations: 167.6 kB / 1.06 GB, free: 62.64 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002984/0.5659, allocations: 114.7 kB / 1.06 GB, free: 62.62 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.566, allocations: 26.77 kB / 1.06 GB, free: 62.62 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007339/0.5667, allocations: 1.884 MB / 1.062 GB, free: 60.9 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5667, allocations: 0.7188 kB / 1.062 GB, free: 60.9 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009232/0.5676, allocations: 0.9823 MB / 1.063 GB, free: 60.65 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/0.5678, allocations: 195.9 kB / 1.063 GB, free: 60.6 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.543e-05/0.5679, allocations: 29.12 kB / 1.063 GB, free: 60.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.5681, allocations: 42.09 kB / 1.063 GB, free: 60.6 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.742e-05/0.5682, allocations: 71.89 kB / 1.063 GB, free: 60.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.5682, allocations: 31.08 kB / 1.063 GB, free: 60.6 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001967/0.5684, allocations: 373.9 kB / 1.063 GB, free: 60.46 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.5684, allocations: 0 / 1.063 GB, free: 60.46 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006773/0.5691, allocations: 358.4 kB / 1.064 GB, free: 60.43 MB / 1.01 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 (103): * Single equations (assignments): 92 * 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.001124/0.5702, allocations: 0.6267 MB / 1.064 GB, free: 60.32 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006455/0.5709, allocations: 0.6371 MB / 1.065 GB, free: 60.11 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5709, allocations: 1.125 kB / 1.065 GB, free: 60.11 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003312/0.5712, allocations: 468 kB / 1.065 GB, free: 59.92 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006533/0.5719, allocations: 319.1 kB / 1.066 GB, free: 59.89 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.5741, allocations: 1.705 MB / 1.067 GB, free: 59.15 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.5742, allocations: 201.6 kB / 1.068 GB, free: 59.07 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003901/0.5746, allocations: 187.2 kB / 1.068 GB, free: 59.04 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005009/0.5751, allocations: 376.4 kB / 1.068 GB, free: 58.97 MB / 1.01 GB Notification: Performance of SimCode: time 1.152e-06/0.5751, allocations: 0.9375 kB / 1.068 GB, free: 58.97 MB / 1.01 GB Notification: Performance of Templates: time 0.01969/0.5948, allocations: 17.22 MB / 1.085 GB, free: 57.43 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.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.334170022979379]