Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001398/0.001398, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001761/0.001761, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9738/0.9738, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.781/1.781, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.7871 GB, free: 11.7 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.724e-05, allocations: 9.125 kB / 0.7871 GB, free: 11.7 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.005212/0.005239, allocations: 4.982 MB / 0.7919 GB, free: 6.703 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1274/0.1327, allocations: 146.4 MB / 0.9349 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000755/0.1334, allocations: 23.81 kB / 0.9349 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005731/0.134, allocations: 210 kB / 0.9351 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.1355, allocations: 0.5824 MB / 0.9356 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.137, allocations: 0.8802 MB / 0.9365 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.001357/0.1383, allocations: 1.517 MB / 0.938 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00061/0.1389, allocations: 402.3 kB / 0.9384 GB, free: 236 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009295/0.1399, allocations: 0.7641 MB / 0.9391 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000515/0.1404, allocations: 430.6 kB / 0.9395 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.1405, allocations: 124 kB / 0.9396 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008086/0.1413, allocations: 0.4916 MB / 0.9401 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.1416, allocations: 322.9 kB / 0.9404 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0005252/0.1421, allocations: 410.9 kB / 0.9408 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00209/0.1442, allocations: 1.304 MB / 0.9421 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1442, allocations: 0 / 0.9421 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1442, allocations: 0 / 0.9421 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.241e-05/0.1442, allocations: 0 / 0.9421 GB, free: 12.4 MB / 0.8542 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.002101/0.1463, allocations: 1.554 MB / 0.9436 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.1464, allocations: 12.03 kB / 0.9436 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.1474, allocations: 335.5 kB / 0.9439 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009243/0.1483, allocations: 0.7403 MB / 0.9447 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.337e-05/0.1484, allocations: 74.11 kB / 0.9447 GB, free: 9.621 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.1485, allocations: 92 kB / 0.9448 GB, free: 9.531 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.1496, allocations: 1.032 MB / 0.9458 GB, free: 8.383 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.1496, allocations: 3.938 kB / 0.9458 GB, free: 8.379 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.989e-05/0.1497, allocations: 40 kB / 0.9459 GB, free: 8.34 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.1497, allocations: 20 kB / 0.9459 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009417/0.1506, allocations: 0.7997 MB / 0.9467 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003238/0.1539, allocations: 2.398 MB / 0.949 GB, free: 5.062 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008463/0.1547, allocations: 0.5195 MB / 0.9495 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.155, allocations: 178.6 kB / 0.9497 GB, free: 4.359 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.324e-05/0.155, allocations: 32.98 kB / 0.9497 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005229/0.1555, allocations: 0.5065 MB / 0.9502 GB, free: 3.77 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=90): time 3.066e-06/0.1555, allocations: 0 / 0.9502 GB, free: 3.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=90): time 0.001699/0.1572, allocations: 0.8665 MB / 0.9511 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.801e-05/0.1573, allocations: 204.8 kB / 0.9513 GB, free: 2.652 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005552/0.1579, allocations: 0.5894 MB / 0.9518 GB, free: 2.047 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.102e-05/0.1579, allocations: 49.7 kB / 0.9519 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/0.1582, allocations: 464 kB / 0.9523 GB, free: 1.531 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.1584, allocations: 301.5 kB / 0.9526 GB, free: 1.234 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.1586, allocations: 188.2 kB / 0.9528 GB, free: 1.043 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1587, allocations: 0.5703 MB / 0.9534 GB, free: 472 kB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.159, allocations: 145.9 kB / 0.9535 GB, free: 328 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003723/0.1594, allocations: 393.8 kB / 0.9539 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005363/0.1599, allocations: 411.1 kB / 0.9543 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1599, allocations: 0 / 0.9543 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001226/0.1611, allocations: 0.7035 MB / 0.9549 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.1611, allocations: 4 kB / 0.955 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1612, allocations: 4 kB / 0.955 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004812/0.1616, allocations: 127.7 kB / 0.9551 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004109/0.162, allocations: 187.7 kB / 0.9553 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.1634, allocations: 1.898 MB / 0.9571 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003667/0.1638, allocations: 82.34 kB / 0.9572 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.086e-05/0.1638, allocations: 48 kB / 0.9572 GB, free: 12.28 MB / 0.8698 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.0002484/0.1641, allocations: 215 kB / 0.9574 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.1642, allocations: 127.4 kB / 0.9576 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.1654, allocations: 0.8618 MB / 0.9584 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1655, allocations: 12 kB / 0.9584 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.1655, allocations: 0 / 0.9584 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.1655, allocations: 7.984 kB / 0.9584 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.1675, allocations: 1.667 MB / 0.96 GB, free: 9.312 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1675, allocations: 0 / 0.96 GB, free: 9.312 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003488/0.1678, allocations: 159.7 kB / 0.9602 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003624/0.1682, allocations: 119.6 kB / 0.9603 GB, free: 9.035 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.407e-05/0.1682, allocations: 27.98 kB / 0.9603 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.1696, allocations: 1.918 MB / 0.9622 GB, free: 6.957 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1696, allocations: 3.984 kB / 0.9622 GB, free: 6.953 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.1709, allocations: 1.074 MB / 0.9633 GB, free: 5.855 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002825/0.1712, allocations: 207 kB / 0.9635 GB, free: 5.652 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.478e-05/0.1713, allocations: 23.94 kB / 0.9635 GB, free: 5.629 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.1716, allocations: 43.97 kB / 0.9635 GB, free: 5.586 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.1717, allocations: 76.84 kB / 0.9636 GB, free: 5.512 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-05/0.1717, allocations: 39.97 kB / 0.9636 GB, free: 5.473 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003388/0.1721, allocations: 399 kB / 0.964 GB, free: 5.086 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1721, allocations: 0 / 0.964 GB, free: 5.086 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007564/0.1728, allocations: 351.1 kB / 0.9644 GB, free: 4.742 MB / 0.8698 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 (101): * Single equations (assignments): 90 * 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.001244/0.1741, allocations: 0.6368 MB / 0.965 GB, free: 4.277 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.1751, allocations: 0.6874 MB / 0.9656 GB, free: 3.566 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.1751, allocations: 0 / 0.9656 GB, free: 3.566 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004902/0.1756, allocations: 497.2 kB / 0.9661 GB, free: 3.059 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007696/0.1764, allocations: 323.6 kB / 0.9664 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.179, allocations: 1.654 MB / 0.968 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.1791, allocations: 198.9 kB / 0.9682 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005246/0.1797, allocations: 254.9 kB / 0.9685 GB, free: 0.6055 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.1799, allocations: 116.4 kB / 0.9686 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of SimCode: time 1.923e-06/0.1799, allocations: 0 / 0.9686 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of Templates: time 0.02117/0.201, allocations: 15.98 MB / 0.9842 GB, free: 0.7773 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 5.503411359153688]