Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001358/0.001358, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.0009856/0.0009856, allocations: 177 kB / 23.36 MB, free: 1.129 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.9119/0.9119, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.403/2.403, allocations: 438.8 MB / 0.6827 GB, free: 13.64 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.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.254e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.005053/0.005075, allocations: 4.978 MB / 0.8435 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1388/0.1439, allocations: 146.1 MB / 0.9861 GB, free: 6.613 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006112/0.1445, allocations: 23.81 kB / 0.9861 GB, free: 6.59 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005022/0.145, allocations: 202.1 kB / 0.9863 GB, free: 6.391 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.1462, allocations: 0.5783 MB / 0.9869 GB, free: 5.809 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.1475, allocations: 0.8528 MB / 0.9877 GB, free: 4.953 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0009734/0.1485, allocations: 1.509 MB / 0.9892 GB, free: 3.438 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004795/0.1489, allocations: 426.1 kB / 0.9896 GB, free: 2.992 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006799/0.1496, allocations: 0.7874 MB / 0.9904 GB, free: 2.203 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003682/0.15, allocations: 390.8 kB / 0.9907 GB, free: 1.82 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.1501, allocations: 119.9 kB / 0.9909 GB, free: 1.703 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006128/0.1507, allocations: 0.5149 MB / 0.9914 GB, free: 1.188 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.1509, allocations: 303 kB / 0.9916 GB, free: 0.8906 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.1511, allocations: 390.9 kB / 0.992 GB, free: 0.5078 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.1524, allocations: 1.269 MB / 0.9933 GB, free: 15.23 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1524, allocations: 0 / 0.9933 GB, free: 15.23 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.82e-07/0.1524, allocations: 4 kB / 0.9933 GB, free: 15.23 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.1524, allocations: 0 / 0.9933 GB, free: 15.23 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001305/0.1537, allocations: 1.402 MB / 0.9946 GB, free: 13.79 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.1538, allocations: 8.625 kB / 0.9946 GB, free: 13.79 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007724/0.1545, allocations: 300.2 kB / 0.9949 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006381/0.1552, allocations: 0.5901 MB / 0.9955 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/0.1552, allocations: 78.11 kB / 0.9956 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.009e-05/0.1553, allocations: 88 kB / 0.9957 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006541/0.1559, allocations: 0.8797 MB / 0.9965 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.156, allocations: 8 kB / 0.9965 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.533e-05/0.156, allocations: 39.98 kB / 0.9966 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.156, allocations: 20 kB / 0.9966 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005838/0.1566, allocations: 0.5869 MB / 0.9972 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.1585, allocations: 1.671 MB / 0.9988 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/0.159, allocations: 424.7 kB / 0.9992 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00038/0.1593, allocations: 143.7 kB / 0.9993 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.864e-05/0.1594, allocations: 28.97 kB / 0.9994 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003501/0.1597, allocations: 466.7 kB / 0.9998 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=90): time 2.715e-06/0.1597, allocations: 0 / 0.9998 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of matching and sorting (n=90): time 0.001002/0.1607, allocations: 0.5772 MB / 1 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.1608, allocations: 196.9 kB / 1.001 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.1611, allocations: 0.5172 MB / 1.001 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/0.1612, allocations: 45.7 kB / 1.001 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.1613, allocations: 346.4 kB / 1.001 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.1615, allocations: 297.4 kB / 1.002 GB, free: 6.25 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.1616, allocations: 174.5 kB / 1.002 GB, free: 6.074 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1617, allocations: 394.6 kB / 1.002 GB, free: 5.68 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.1619, allocations: 104.7 kB / 1.002 GB, free: 5.574 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.1621, allocations: 319.6 kB / 1.003 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.1624, allocations: 337.2 kB / 1.003 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1624, allocations: 0 / 1.003 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0006278/0.163, allocations: 475 kB / 1.003 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1631, allocations: 4 kB / 1.003 GB, free: 4.395 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1631, allocations: 8.062 kB / 1.003 GB, free: 4.387 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003986/0.1635, allocations: 124.7 kB / 1.004 GB, free: 4.262 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.1639, allocations: 203.3 kB / 1.004 GB, free: 4.066 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009893/0.1649, allocations: 1.309 MB / 1.005 GB, free: 2.668 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.1651, allocations: 83.48 kB / 1.005 GB, free: 2.586 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.263e-05/0.1652, allocations: 23.98 kB / 1.005 GB, free: 2.562 MB / 0.9636 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 (110): * Single equations (assignments): 109 * 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.0001849/0.1654, allocations: 175.1 kB / 1.005 GB, free: 2.383 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.677e-05/0.1655, allocations: 83.92 kB / 1.005 GB, free: 2.301 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008258/0.1663, allocations: 0.6149 MB / 1.006 GB, free: 1.668 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.1663, allocations: 15.94 kB / 1.006 GB, free: 1.652 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.1663, allocations: 0 / 1.006 GB, free: 1.652 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.1663, allocations: 7.922 kB / 1.006 GB, free: 1.645 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.1678, allocations: 1.117 MB / 1.007 GB, free: 500 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1678, allocations: 0 / 1.007 GB, free: 500 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/0.1682, allocations: 171.8 kB / 1.007 GB, free: 328 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003116/0.1685, allocations: 108.7 kB / 1.007 GB, free: 216 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.55e-05/0.1685, allocations: 19.98 kB / 1.007 GB, free: 196 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008673/0.1694, allocations: 1.325 MB / 1.009 GB, free: 14.78 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1694, allocations: 0 / 1.009 GB, free: 14.78 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007946/0.1702, allocations: 0.7163 MB / 1.009 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.1704, allocations: 155.1 kB / 1.01 GB, free: 13.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.386e-05/0.1705, allocations: 28.05 kB / 1.01 GB, free: 13.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.1707, allocations: 42.16 kB / 1.01 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.395e-05/0.1708, allocations: 72.8 kB / 1.01 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.318e-05/0.1708, allocations: 19.98 kB / 1.01 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001883/0.171, allocations: 259.4 kB / 1.01 GB, free: 13.48 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9e-08/0.171, allocations: 0 / 1.01 GB, free: 13.48 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005606/0.1715, allocations: 343.1 kB / 1.01 GB, free: 13.14 MB / 0.9792 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 (100): * Single equations (assignments): 89 * 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.001406/0.173, allocations: 0.7493 MB / 1.011 GB, free: 12.66 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006174/0.1736, allocations: 0.5292 MB / 1.012 GB, free: 12.11 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.1736, allocations: 8 kB / 1.012 GB, free: 12.11 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003337/0.1739, allocations: 375.2 kB / 1.012 GB, free: 11.72 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006168/0.1745, allocations: 310.9 kB / 1.012 GB, free: 11.44 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.1768, allocations: 1.599 MB / 1.014 GB, free: 9.801 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.1769, allocations: 194.9 kB / 1.014 GB, free: 9.59 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0004022/0.1773, allocations: 202.8 kB / 1.014 GB, free: 9.387 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005457/0.1779, allocations: 323 kB / 1.014 GB, free: 9.07 MB / 0.9792 GB Notification: Performance of SimCode: time 1.492e-06/0.1779, allocations: 0 / 1.014 GB, free: 9.07 MB / 0.9792 GB Notification: Performance of Templates: time 0.02129/0.1992, allocations: 17.16 MB / 1.031 GB, free: 8.227 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.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.12564142793417]