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.001256/0.001256, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.0009195/0.0009195, allocations: 170 kB / 23.27 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.9338/0.9338, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.347/2.347, allocations: 438.1 MB / 0.682 GB, free: 14.17 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.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.242e-06/1.242e-06, allocations: 0 / 0.8897 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/1.948e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.00479/0.004809, allocations: 4.743 MB / 0.8943 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1312/0.136, allocations: 143.8 MB / 1.035 GB, free: 4.68 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007962/0.1368, allocations: 27.81 kB / 1.035 GB, free: 4.652 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005372/0.1373, allocations: 202.1 kB / 1.035 GB, free: 4.453 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.1388, allocations: 0.5824 MB / 1.036 GB, free: 3.867 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.1402, allocations: 0.8646 MB / 1.036 GB, free: 3 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001238/0.1414, allocations: 1.455 MB / 1.038 GB, free: 1.535 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004958/0.1419, allocations: 390 kB / 1.038 GB, free: 1.133 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006774/0.1426, allocations: 0.7717 MB / 1.039 GB, free: 368 kB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003189/0.1429, allocations: 374.9 kB / 1.039 GB, free: 15.99 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.143, allocations: 112 kB / 1.039 GB, free: 15.88 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005772/0.1436, allocations: 495.3 kB / 1.04 GB, free: 15.4 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.1437, allocations: 295 kB / 1.04 GB, free: 15.11 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.144, allocations: 371 kB / 1.041 GB, free: 14.75 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.1457, allocations: 1.23 MB / 1.042 GB, free: 13.51 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1457, allocations: 4 kB / 1.042 GB, free: 13.51 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.953e-06/0.1457, allocations: 0 / 1.042 GB, free: 13.51 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.1457, allocations: 0 / 1.042 GB, free: 13.51 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00154/0.1473, allocations: 1.519 MB / 1.043 GB, free: 11.95 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.1473, allocations: 24.61 kB / 1.043 GB, free: 11.92 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007988/0.1481, allocations: 319.6 kB / 1.044 GB, free: 11.61 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006882/0.1488, allocations: 0.7032 MB / 1.044 GB, free: 10.88 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.347e-05/0.1489, allocations: 78.11 kB / 1.044 GB, free: 10.8 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.822e-05/0.1489, allocations: 88 kB / 1.044 GB, free: 10.72 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007264/0.1497, allocations: 0.881 MB / 1.045 GB, free: 9.738 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.1497, allocations: 7.875 kB / 1.045 GB, free: 9.73 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.87e-05/0.1497, allocations: 39.98 kB / 1.045 GB, free: 9.691 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.1497, allocations: 20 kB / 1.045 GB, free: 9.672 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006053/0.1503, allocations: 0.6689 MB / 1.046 GB, free: 9 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/0.1525, allocations: 2.297 MB / 1.048 GB, free: 6.645 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005422/0.153, allocations: 457.1 kB / 1.049 GB, free: 6.18 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.1532, allocations: 153.5 kB / 1.049 GB, free: 6.023 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.46e-05/0.1532, allocations: 48.42 kB / 1.049 GB, free: 5.977 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003916/0.1536, allocations: 472.1 kB / 1.049 GB, free: 5.469 MB / 1.01 GB Notification: Performance of pre-optimization done (n=86): time 2.785e-06/0.1536, allocations: 4 kB / 1.049 GB, free: 5.465 MB / 1.01 GB Notification: Performance of matching and sorting (n=86): time 0.001231/0.1549, allocations: 0.7533 MB / 1.05 GB, free: 4.703 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.269e-05/0.1549, allocations: 208.8 kB / 1.05 GB, free: 4.457 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003787/0.1553, allocations: 0.5578 MB / 1.051 GB, free: 3.887 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.214e-05/0.1554, allocations: 57.69 kB / 1.051 GB, free: 3.824 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.1556, allocations: 471.7 kB / 1.051 GB, free: 3.355 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.1558, allocations: 277.6 kB / 1.052 GB, free: 3.082 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.1559, allocations: 192.1 kB / 1.052 GB, free: 2.887 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1561, allocations: 0.5702 MB / 1.052 GB, free: 2.305 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.1562, allocations: 109.9 kB / 1.052 GB, free: 2.195 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.1565, allocations: 357.4 kB / 1.053 GB, free: 1.793 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003786/0.1569, allocations: 354.7 kB / 1.053 GB, free: 1.426 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1569, allocations: 0 / 1.053 GB, free: 1.426 MB / 1.01 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0008102/0.1577, allocations: 0.6138 MB / 1.054 GB, free: 0.8008 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1577, allocations: 8 kB / 1.054 GB, free: 0.793 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1577, allocations: 7.938 kB / 1.054 GB, free: 0.7852 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004194/0.1581, allocations: 123.5 kB / 1.054 GB, free: 0.6602 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003544/0.1585, allocations: 179.7 kB / 1.054 GB, free: 496 kB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4482/0.6067, allocations: 1.872 MB / 1.056 GB, free: 63.55 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005215/0.6072, allocations: 75.25 kB / 1.056 GB, free: 63.55 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/0.6073, allocations: 36.73 kB / 1.056 GB, free: 63.55 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.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.0002935/0.6076, allocations: 213.5 kB / 1.056 GB, free: 63.39 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.6077, allocations: 112.5 kB / 1.056 GB, free: 63.39 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009442/0.6087, allocations: 0.7758 MB / 1.057 GB, free: 63.32 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.6087, allocations: 9.969 kB / 1.057 GB, free: 63.32 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.6087, allocations: 0 / 1.057 GB, free: 63.32 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.6087, allocations: 7.125 kB / 1.057 GB, free: 63.32 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.6102, allocations: 1.443 MB / 1.058 GB, free: 62.96 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.6102, allocations: 3.312 kB / 1.058 GB, free: 62.96 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.6104, allocations: 144.7 kB / 1.059 GB, free: 62.96 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003238/0.6107, allocations: 115 kB / 1.059 GB, free: 62.95 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.6108, allocations: 26.88 kB / 1.059 GB, free: 62.95 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007704/0.6116, allocations: 1.891 MB / 1.061 GB, free: 61.22 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6116, allocations: 0 / 1.061 GB, free: 61.22 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007523/0.6123, allocations: 0.8163 MB / 1.061 GB, free: 60.98 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.6125, allocations: 187.6 kB / 1.062 GB, free: 60.94 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.57e-05/0.6126, allocations: 24.97 kB / 1.062 GB, free: 60.94 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.6128, allocations: 39.75 kB / 1.062 GB, free: 60.94 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/0.6129, allocations: 70.47 kB / 1.062 GB, free: 60.94 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.6129, allocations: 29.88 kB / 1.062 GB, free: 60.94 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001884/0.6131, allocations: 364.9 kB / 1.062 GB, free: 60.8 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6131, allocations: 0.9688 kB / 1.062 GB, free: 60.8 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006398/0.6137, allocations: 336.1 kB / 1.062 GB, free: 60.78 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.001139/0.6149, allocations: 0.6307 MB / 1.063 GB, free: 60.66 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006364/0.6155, allocations: 0.6082 MB / 1.064 GB, free: 60.45 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6155, allocations: 1 kB / 1.064 GB, free: 60.45 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003191/0.6158, allocations: 455.5 kB / 1.064 GB, free: 60.26 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006463/0.6165, allocations: 323.9 kB / 1.064 GB, free: 60.23 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.6185, allocations: 1.518 MB / 1.066 GB, free: 59.53 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.6186, allocations: 195 kB / 1.066 GB, free: 59.45 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004162/0.619, allocations: 189.3 kB / 1.066 GB, free: 59.41 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004866/0.6195, allocations: 363.1 kB / 1.066 GB, free: 59.35 MB / 1.01 GB Notification: Performance of SimCode: time 1.262e-06/0.6195, allocations: 0.9375 kB / 1.066 GB, free: 59.35 MB / 1.01 GB Notification: Performance of Templates: time 0.01996/0.6394, allocations: 16.79 MB / 1.083 GB, free: 57.88 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.254737492185086]