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.0009324/0.0009324, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009335/0.0009335, allocations: 173.4 kB / 23.36 MB, free: 1.133 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.9165/0.9165, 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.227/2.227, allocations: 438.8 MB / 0.6826 GB, free: 13.59 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.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.092e-06/1.092e-06, allocations: 0 / 0.8385 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01e-05/1.119e-05, allocations: 2.312 kB / 0.8385 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.004352/0.004363, allocations: 4.746 MB / 0.8432 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1323/0.1366, allocations: 146 MB / 0.9858 GB, free: 6.898 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007462/0.1374, allocations: 27.81 kB / 0.9858 GB, free: 6.871 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005158/0.1379, allocations: 194.2 kB / 0.986 GB, free: 6.68 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.1392, allocations: 0.5862 MB / 0.9865 GB, free: 6.09 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.1407, allocations: 0.8685 MB / 0.9874 GB, free: 5.219 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0009951/0.1417, allocations: 1.459 MB / 0.9888 GB, free: 3.754 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004973/0.1422, allocations: 406 kB / 0.9892 GB, free: 3.328 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006657/0.1429, allocations: 0.7717 MB / 0.99 GB, free: 2.555 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003411/0.1432, allocations: 374.8 kB / 0.9903 GB, free: 2.188 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 9.723e-05/0.1433, allocations: 112 kB / 0.9904 GB, free: 2.078 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006674/0.144, allocations: 483.4 kB / 0.9909 GB, free: 1.605 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.1442, allocations: 298.9 kB / 0.9912 GB, free: 1.312 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003123/0.1445, allocations: 375.1 kB / 0.9915 GB, free: 0.9453 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.1456, allocations: 1.238 MB / 0.9927 GB, free: 15.7 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1456, allocations: 0 / 0.9927 GB, free: 15.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1456, allocations: 0 / 0.9927 GB, free: 15.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.1456, allocations: 0 / 0.9927 GB, free: 15.7 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001334/0.147, allocations: 1.367 MB / 0.9941 GB, free: 14.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.147, allocations: 16.62 kB / 0.9941 GB, free: 14.29 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007279/0.1477, allocations: 288.2 kB / 0.9944 GB, free: 14.01 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006605/0.1484, allocations: 0.5823 MB / 0.9949 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/0.1484, allocations: 70.12 kB / 0.995 GB, free: 13.33 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.789e-05/0.1485, allocations: 92 kB / 0.9951 GB, free: 13.24 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006566/0.1492, allocations: 0.8571 MB / 0.9959 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.1492, allocations: 4 kB / 0.9959 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.67e-05/0.1492, allocations: 39.98 kB / 0.996 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.1492, allocations: 20 kB / 0.996 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005471/0.1498, allocations: 0.5713 MB / 0.9965 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.1517, allocations: 1.702 MB / 0.9982 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005688/0.1522, allocations: 399.4 kB / 0.9986 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.1524, allocations: 138.7 kB / 0.9987 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.283e-05/0.1524, allocations: 28.62 kB / 0.9987 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003439/0.1528, allocations: 447 kB / 0.9992 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=86): time 2.615e-06/0.1528, allocations: 0 / 0.9992 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of matching and sorting (n=86): time 0.0009914/0.1538, allocations: 0.5615 MB / 0.9997 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.712e-05/0.1539, allocations: 196.9 kB / 0.9999 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003439/0.1542, allocations: 0.5133 MB / 1 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.967e-05/0.1542, allocations: 49.7 kB / 1 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.1544, allocations: 334.4 kB / 1.001 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.1545, allocations: 289.5 kB / 1.001 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.1547, allocations: 178.5 kB / 1.001 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.1548, allocations: 390.6 kB / 1.002 GB, free: 6.289 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.1549, allocations: 96.7 kB / 1.002 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.1551, allocations: 320.4 kB / 1.002 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.1555, allocations: 338.1 kB / 1.002 GB, free: 5.484 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1555, allocations: 0 / 1.002 GB, free: 5.484 MB / 0.9636 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0006177/0.1561, allocations: 470.8 kB / 1.003 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1561, allocations: 8 kB / 1.003 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1561, allocations: 0 / 1.003 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003919/0.1565, allocations: 124.9 kB / 1.003 GB, free: 4.883 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/0.1568, allocations: 171.7 kB / 1.003 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.1579, allocations: 1.305 MB / 1.004 GB, free: 3.316 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.1581, allocations: 79.56 kB / 1.004 GB, free: 3.238 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.1582, allocations: 31.91 kB / 1.004 GB, free: 3.207 MB / 0.9636 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.0001897/0.1583, allocations: 175.1 kB / 1.005 GB, free: 3.027 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.698e-05/0.1584, allocations: 79.92 kB / 1.005 GB, free: 2.949 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007921/0.1592, allocations: 0.603 MB / 1.005 GB, free: 2.328 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.1592, allocations: 8 kB / 1.005 GB, free: 2.32 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.1592, allocations: 4 kB / 1.005 GB, free: 2.316 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1592, allocations: 3.984 kB / 1.005 GB, free: 2.312 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.1605, allocations: 1.093 MB / 1.006 GB, free: 1.176 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1605, allocations: 0 / 1.006 GB, free: 1.176 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.1608, allocations: 135.8 kB / 1.006 GB, free: 1.043 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002989/0.1611, allocations: 116.7 kB / 1.007 GB, free: 0.9258 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.1611, allocations: 19.98 kB / 1.007 GB, free: 0.9062 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008787/0.162, allocations: 1.321 MB / 1.008 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.162, allocations: 3.938 kB / 1.008 GB, free: 15.49 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005725/0.1625, allocations: 0.5556 MB / 1.008 GB, free: 14.92 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/0.1627, allocations: 155.1 kB / 1.009 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.107e-05/0.1628, allocations: 23.98 kB / 1.009 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.1631, allocations: 39.97 kB / 1.009 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.735e-05/0.1631, allocations: 64.86 kB / 1.009 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.1632, allocations: 23.98 kB / 1.009 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001951/0.1634, allocations: 247.4 kB / 1.009 GB, free: 14.38 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.1634, allocations: 0 / 1.009 GB, free: 14.38 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0006079/0.164, allocations: 343 kB / 1.009 GB, free: 14.04 MB / 0.9792 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.001478/0.1655, allocations: 0.7579 MB / 1.01 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006418/0.1661, allocations: 0.5059 MB / 1.011 GB, free: 13.03 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/0.1661, allocations: 8 kB / 1.011 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003298/0.1664, allocations: 371 kB / 1.011 GB, free: 12.64 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006264/0.1671, allocations: 312.8 kB / 1.011 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.1692, allocations: 1.511 MB / 1.013 GB, free: 10.82 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.1694, allocations: 194.9 kB / 1.013 GB, free: 10.6 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003992/0.1698, allocations: 190.8 kB / 1.013 GB, free: 10.41 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004881/0.1703, allocations: 303 kB / 1.013 GB, free: 10.11 MB / 0.9792 GB Notification: Performance of SimCode: time 1.122e-06/0.1703, allocations: 0 / 1.013 GB, free: 10.11 MB / 0.9792 GB Notification: Performance of Templates: time 0.02009/0.1903, allocations: 16.81 MB / 1.03 GB, free: 9.613 MB / 0.9948 GB " [Timeout remaining time 300] 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: 5.592218409758061]