Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009341/0.0009341, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0014/0.0014, allocations: 165.6 kB / 24.87 MB, free: 8.891 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.938/0.938, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.847/1.847, allocations: 377.9 MB / 0.6247 GB, free: 8.438 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 3.938 kB / 0.8127 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165e-05/1.279e-05, allocations: 10.78 kB / 0.8127 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.004729/0.004742, allocations: 4.735 MB / 0.8174 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1164/0.1212, allocations: 143.8 MB / 0.9578 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000704/0.1219, allocations: 23.81 kB / 0.9579 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005837/0.1225, allocations: 198.1 kB / 0.958 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.1241, allocations: 0.5824 MB / 0.9586 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.1257, allocations: 0.8685 MB / 0.9595 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.00129/0.127, allocations: 1.455 MB / 0.9609 GB, free: 9.301 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000598/0.1276, allocations: 390 kB / 0.9612 GB, free: 8.902 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009105/0.1285, allocations: 0.7757 MB / 0.962 GB, free: 8.125 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000447/0.1289, allocations: 382.8 kB / 0.9624 GB, free: 7.75 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.1291, allocations: 108 kB / 0.9625 GB, free: 7.645 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009793/0.13, allocations: 495.3 kB / 0.9629 GB, free: 7.16 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000219/0.1303, allocations: 291 kB / 0.9632 GB, free: 6.875 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003172/0.1306, allocations: 379 kB / 0.9636 GB, free: 6.504 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.1318, allocations: 1.234 MB / 0.9648 GB, free: 5.266 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1318, allocations: 4 kB / 0.9648 GB, free: 5.262 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1318, allocations: 0 / 0.9648 GB, free: 5.262 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.1319, allocations: 0 / 0.9648 GB, free: 5.262 MB / 0.9167 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.00174/0.1336, allocations: 1.531 MB / 0.9663 GB, free: 3.684 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.1336, allocations: 8.031 kB / 0.9663 GB, free: 3.676 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.1347, allocations: 319.6 kB / 0.9666 GB, free: 3.359 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008353/0.1355, allocations: 0.715 MB / 0.9673 GB, free: 2.621 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.14e-05/0.1355, allocations: 70.12 kB / 0.9674 GB, free: 2.551 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.1356, allocations: 88 kB / 0.9675 GB, free: 2.465 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009/0.1365, allocations: 0.8809 MB / 0.9683 GB, free: 1.484 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.1366, allocations: 7.938 kB / 0.9683 GB, free: 1.477 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.551e-05/0.1366, allocations: 36 kB / 0.9684 GB, free: 1.441 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.1367, allocations: 20 kB / 0.9684 GB, free: 1.422 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008499/0.1375, allocations: 0.6767 MB / 0.969 GB, free: 0.7422 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002866/0.1404, allocations: 2.297 MB / 0.9713 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006964/0.1411, allocations: 449.2 kB / 0.9717 GB, free: 13.94 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.1413, allocations: 153.5 kB / 0.9719 GB, free: 13.78 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.354e-05/0.1413, allocations: 28.64 kB / 0.9719 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004723/0.1418, allocations: 468.1 kB / 0.9723 GB, free: 13.25 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=86): time 2.364e-06/0.1418, allocations: 0 / 0.9723 GB, free: 13.25 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86): time 0.001606/0.1434, allocations: 0.761 MB / 0.9731 GB, free: 12.48 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.491e-05/0.1435, allocations: 200.9 kB / 0.9733 GB, free: 12.24 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004859/0.144, allocations: 0.5694 MB / 0.9738 GB, free: 11.66 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.941e-05/0.144, allocations: 57.69 kB / 0.9739 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002727/0.1443, allocations: 459.8 kB / 0.9743 GB, free: 11.14 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.1445, allocations: 293.5 kB / 0.9746 GB, free: 10.85 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.1447, allocations: 184.2 kB / 0.9748 GB, free: 10.66 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.1449, allocations: 0.5741 MB / 0.9753 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.1451, allocations: 101.9 kB / 0.9754 GB, free: 9.977 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003231/0.1454, allocations: 361.4 kB / 0.9758 GB, free: 9.566 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004675/0.1459, allocations: 346.7 kB / 0.9761 GB, free: 9.211 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1459, allocations: 4 kB / 0.9761 GB, free: 9.207 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001281/0.1472, allocations: 0.6216 MB / 0.9767 GB, free: 8.574 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1472, allocations: 6.5 kB / 0.9767 GB, free: 8.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.1472, allocations: 4 kB / 0.9767 GB, free: 8.566 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005333/0.1477, allocations: 127.5 kB / 0.9768 GB, free: 8.438 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/0.1482, allocations: 183.8 kB / 0.977 GB, free: 8.258 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.1496, allocations: 1.871 MB / 0.9788 GB, free: 6.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/0.1499, allocations: 79.47 kB / 0.9789 GB, free: 6.191 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.573e-05/0.15, allocations: 27.98 kB / 0.9789 GB, free: 6.164 MB / 0.9323 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.0002214/0.1502, allocations: 219 kB / 0.9792 GB, free: 5.941 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.1504, allocations: 119.5 kB / 0.9793 GB, free: 5.824 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.1517, allocations: 0.7719 MB / 0.98 GB, free: 5.027 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.1517, allocations: 12 kB / 0.98 GB, free: 5.016 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.1517, allocations: 0 / 0.98 GB, free: 5.016 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.1517, allocations: 3.984 kB / 0.98 GB, free: 5.012 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.1536, allocations: 1.464 MB / 0.9815 GB, free: 3.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.1536, allocations: 0 / 0.9815 GB, free: 3.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003823/0.154, allocations: 143.8 kB / 0.9816 GB, free: 3.359 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004183/0.1544, allocations: 115.6 kB / 0.9817 GB, free: 3.242 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.382e-05/0.1545, allocations: 27.98 kB / 0.9817 GB, free: 3.215 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/0.1559, allocations: 1.884 MB / 0.9836 GB, free: 1.211 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1559, allocations: 0 / 0.9836 GB, free: 1.211 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.157, allocations: 0.818 MB / 0.9844 GB, free: 376 kB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/0.1573, allocations: 195 kB / 0.9846 GB, free: 180 kB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.968e-05/0.1574, allocations: 19.98 kB / 0.9846 GB, free: 160 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.1577, allocations: 39.97 kB / 0.9846 GB, free: 120 kB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.1578, allocations: 72.86 kB / 0.9847 GB, free: 48 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.563e-05/0.1578, allocations: 27.98 kB / 0.9847 GB, free: 20 kB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002858/0.1581, allocations: 366.9 kB / 0.9851 GB, free: 15.66 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.1581, allocations: 0 / 0.9851 GB, free: 15.66 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006714/0.1588, allocations: 343.1 kB / 0.9854 GB, free: 15.33 MB / 0.948 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 (97): * Single equations (assignments): 86 * 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.001324/0.1601, allocations: 0.629 MB / 0.986 GB, free: 14.86 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008086/0.1609, allocations: 0.6016 MB / 0.9866 GB, free: 14.24 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1609, allocations: 0 / 0.9866 GB, free: 14.24 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004801/0.1614, allocations: 456.9 kB / 0.987 GB, free: 13.77 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008818/0.1623, allocations: 325.7 kB / 0.9873 GB, free: 13.48 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.1646, allocations: 1.521 MB / 0.9888 GB, free: 11.92 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.1647, allocations: 194.9 kB / 0.989 GB, free: 11.71 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004628/0.1652, allocations: 182.8 kB / 0.9892 GB, free: 11.53 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006419/0.1658, allocations: 377.8 kB / 0.9895 GB, free: 11.16 MB / 0.948 GB Notification: Performance of SimCode: time 5.52e-07/0.1658, allocations: 0 / 0.9895 GB, free: 11.16 MB / 0.948 GB Notification: Performance of Templates: time 0.02333/0.1892, allocations: 17.05 MB / 1.006 GB, free: 10.42 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.785712986253202]