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.001356/0.001356, 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.001479/0.001479, 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.9552/0.9552, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.355/2.355, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] 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.072e-06/1.072e-06, allocations: 0 / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.634e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.004894/0.00491, allocations: 4.798 MB / 0.8433 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1472/0.1521, allocations: 146 MB / 0.9859 GB, free: 6.836 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006324/0.1527, allocations: 19.88 kB / 0.9859 GB, free: 6.816 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004207/0.1531, allocations: 198.2 kB / 0.9861 GB, free: 6.621 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.1542, allocations: 0.5589 MB / 0.9866 GB, free: 6.059 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.1555, allocations: 0.8606 MB / 0.9874 GB, free: 5.195 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001114/0.1566, allocations: 1.451 MB / 0.9889 GB, free: 3.738 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004968/0.1571, allocations: 409.9 kB / 0.9893 GB, free: 3.309 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007966/0.1579, allocations: 0.764 MB / 0.99 GB, free: 2.543 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003374/0.1583, allocations: 382.8 kB / 0.9904 GB, free: 2.168 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 9.794e-05/0.1584, allocations: 112 kB / 0.9905 GB, free: 2.059 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006463/0.159, allocations: 0.5032 MB / 0.991 GB, free: 1.555 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.1592, allocations: 299 kB / 0.9913 GB, free: 1.262 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.1594, allocations: 367 kB / 0.9916 GB, free: 0.9023 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.1607, allocations: 1.234 MB / 0.9928 GB, free: 15.66 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1607, allocations: 0 / 0.9928 GB, free: 15.66 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1607, allocations: 0 / 0.9928 GB, free: 15.66 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.1607, allocations: 3.984 kB / 0.9928 GB, free: 15.66 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.001241/0.1619, allocations: 1.37 MB / 0.9941 GB, free: 14.26 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.1619, allocations: 8.625 kB / 0.9942 GB, free: 14.25 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007931/0.1627, allocations: 292.2 kB / 0.9944 GB, free: 13.96 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006111/0.1633, allocations: 0.5823 MB / 0.995 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.771e-05/0.1634, allocations: 66.12 kB / 0.9951 GB, free: 13.29 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-05/0.1635, allocations: 96 kB / 0.9952 GB, free: 13.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006333/0.1641, allocations: 0.8649 MB / 0.996 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.1641, allocations: 3.938 kB / 0.996 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.26e-05/0.1642, allocations: 36 kB / 0.996 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.1642, allocations: 24 kB / 0.9961 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005501/0.1647, allocations: 0.5674 MB / 0.9966 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.1665, allocations: 1.71 MB / 0.9983 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004684/0.167, allocations: 403.3 kB / 0.9987 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.1671, allocations: 126.8 kB / 0.9988 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.626e-05/0.1672, allocations: 28.64 kB / 0.9988 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003421/0.1675, allocations: 455 kB / 0.9993 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=86): time 1.823e-06/0.1675, allocations: 0 / 0.9993 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of matching and sorting (n=86): time 0.001243/0.1687, allocations: 0.5615 MB / 0.9998 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.1688, allocations: 196.9 kB / 1 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.1692, allocations: 0.5171 MB / 1 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/0.1692, allocations: 45.7 kB / 1.001 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.1694, allocations: 330.4 kB / 1.001 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.1695, allocations: 289.5 kB / 1.001 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.1696, allocations: 166.5 kB / 1.001 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1697, allocations: 398.6 kB / 1.002 GB, free: 6.242 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.1699, allocations: 100.8 kB / 1.002 GB, free: 6.145 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.1701, allocations: 316.5 kB / 1.002 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/0.1704, allocations: 334.1 kB / 1.002 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1704, allocations: 4 kB / 1.002 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0006126/0.171, allocations: 470.8 kB / 1.003 GB, free: 4.969 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.171, allocations: 4 kB / 1.003 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.171, allocations: 4 kB / 1.003 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003902/0.1714, allocations: 124.8 kB / 1.003 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/0.1718, allocations: 187.7 kB / 1.003 GB, free: 4.652 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009632/0.1728, allocations: 1.309 MB / 1.004 GB, free: 3.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.173, allocations: 79.56 kB / 1.004 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/0.173, allocations: 31.91 kB / 1.005 GB, free: 3.141 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.0001614/0.1732, allocations: 171.3 kB / 1.005 GB, free: 2.965 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.111e-05/0.1733, allocations: 75.92 kB / 1.005 GB, free: 2.891 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007864/0.1741, allocations: 0.603 MB / 1.005 GB, free: 2.27 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.1741, allocations: 12 kB / 1.005 GB, free: 2.258 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.1741, allocations: 0 / 1.005 GB, free: 2.258 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.1741, allocations: 11.91 kB / 1.005 GB, free: 2.246 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.1755, allocations: 1.093 MB / 1.006 GB, free: 1.109 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1755, allocations: 0 / 1.006 GB, free: 1.109 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.1758, allocations: 143.8 kB / 1.007 GB, free: 0.9688 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002995/0.1761, allocations: 112.7 kB / 1.007 GB, free: 0.8555 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/0.1762, allocations: 27.97 kB / 1.007 GB, free: 0.8281 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000814/0.177, allocations: 1.321 MB / 1.008 GB, free: 15.42 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.177, allocations: 3.938 kB / 1.008 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005781/0.1776, allocations: 0.5595 MB / 1.009 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.1777, allocations: 151.1 kB / 1.009 GB, free: 14.69 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.563e-05/0.1778, allocations: 23.98 kB / 1.009 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.178, allocations: 39.97 kB / 1.009 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.61e-05/0.1781, allocations: 64.88 kB / 1.009 GB, free: 14.56 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.1781, allocations: 23.97 kB / 1.009 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001821/0.1783, allocations: 247.4 kB / 1.009 GB, free: 14.3 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.1783, allocations: 0 / 1.009 GB, free: 14.3 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004825/0.1788, allocations: 343.1 kB / 1.009 GB, free: 13.96 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.001337/0.1801, allocations: 0.755 MB / 1.01 GB, free: 13.47 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005672/0.1807, allocations: 0.5021 MB / 1.011 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.1807, allocations: 12.06 kB / 1.011 GB, free: 12.94 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003086/0.181, allocations: 370.9 kB / 1.011 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005799/0.1816, allocations: 317.6 kB / 1.011 GB, free: 12.28 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.1834, allocations: 1.507 MB / 1.013 GB, free: 10.73 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.1835, allocations: 190.9 kB / 1.013 GB, free: 10.52 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003445/0.1839, allocations: 186.8 kB / 1.013 GB, free: 10.34 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005013/0.1844, allocations: 311 kB / 1.013 GB, free: 10.03 MB / 0.9792 GB Notification: Performance of SimCode: time 7.51e-07/0.1844, allocations: 0 / 1.013 GB, free: 10.03 MB / 0.9792 GB Notification: Performance of Templates: time 0.0187/0.2031, allocations: 16.81 MB / 1.03 GB, free: 9.531 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 -s gbode -gbm=radauIIA3 -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.874278989620507]