Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009872/0.0009872, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.0009202/0.0009202, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9071/0.9071, allocations: 177.1 MB / 204.2 MB, free: 5.246 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.678/1.678, allocations: 359 MB / 0.6052 GB, free: 10.96 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.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.787 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.76e-05/1.894e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.004799/0.004818, allocations: 4.822 MB / 0.7918 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1323/0.1372, allocations: 146.5 MB / 0.9349 GB, free: 4.656 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006979/0.1379, allocations: 23.81 kB / 0.9349 GB, free: 4.633 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005053/0.1384, allocations: 198.2 kB / 0.9351 GB, free: 4.438 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.1397, allocations: 0.5823 MB / 0.9357 GB, free: 3.852 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.1411, allocations: 0.8724 MB / 0.9365 GB, free: 2.977 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001144/0.1422, allocations: 1.451 MB / 0.9379 GB, free: 1.52 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007672/0.143, allocations: 393.9 kB / 0.9383 GB, free: 1.113 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007768/0.1437, allocations: 0.7718 MB / 0.9391 GB, free: 348 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003714/0.1441, allocations: 382.8 kB / 0.9394 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.1442, allocations: 108 kB / 0.9395 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006061/0.1448, allocations: 491.3 kB / 0.94 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.145, allocations: 299 kB / 0.9403 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.1452, allocations: 371 kB / 0.9406 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.1464, allocations: 1.234 MB / 0.9418 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1464, allocations: 8 kB / 0.9418 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1464, allocations: 3.938 kB / 0.9418 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.597e-05/0.1465, allocations: 0 / 0.9418 GB, free: 13.47 MB / 0.9011 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.001532/0.148, allocations: 1.519 MB / 0.9433 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.148, allocations: 8.031 kB / 0.9433 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008393/0.1489, allocations: 323.5 kB / 0.9436 GB, free: 11.58 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006988/0.1496, allocations: 0.715 MB / 0.9443 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.1496, allocations: 70.12 kB / 0.9444 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.826e-05/0.1497, allocations: 91.94 kB / 0.9445 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.1508, allocations: 0.9357 MB / 0.9454 GB, free: 9.641 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.1508, allocations: 4 kB / 0.9454 GB, free: 9.637 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.172e-05/0.1509, allocations: 36 kB / 0.9454 GB, free: 9.602 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.1509, allocations: 20 kB / 0.9455 GB, free: 9.582 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000802/0.1517, allocations: 0.7841 MB / 0.9462 GB, free: 8.793 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00219/0.1539, allocations: 2.429 MB / 0.9486 GB, free: 6.297 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006877/0.1546, allocations: 494.3 kB / 0.9491 GB, free: 5.809 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.1548, allocations: 179.2 kB / 0.9492 GB, free: 5.633 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.816e-05/0.1549, allocations: 28.64 kB / 0.9493 GB, free: 5.602 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004546/0.1553, allocations: 494.6 kB / 0.9497 GB, free: 5.074 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=86): time 1.913e-06/0.1553, allocations: 0 / 0.9497 GB, free: 5.074 MB / 0.9011 GB Notification: Performance of matching and sorting (n=86): time 0.001415/0.1567, allocations: 0.8353 MB / 0.9506 GB, free: 4.227 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.1568, allocations: 204.8 kB / 0.9508 GB, free: 3.984 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004276/0.1572, allocations: 0.5854 MB / 0.9513 GB, free: 3.387 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.141e-05/0.1573, allocations: 53.7 kB / 0.9514 GB, free: 3.328 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.1575, allocations: 455.9 kB / 0.9518 GB, free: 2.875 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.1576, allocations: 285.6 kB / 0.9521 GB, free: 2.594 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004057/0.158, allocations: 188.2 kB / 0.9523 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.1582, allocations: 0.5586 MB / 0.9528 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.1584, allocations: 137.9 kB / 0.9529 GB, free: 1.695 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/0.1587, allocations: 397.5 kB / 0.9533 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004791/0.1592, allocations: 406.8 kB / 0.9537 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1592, allocations: 0 / 0.9537 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0009645/0.1602, allocations: 0.6879 MB / 0.9544 GB, free: 144 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1602, allocations: 11.94 kB / 0.9544 GB, free: 132 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1602, allocations: 0 / 0.9544 GB, free: 132 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004676/0.1606, allocations: 123.6 kB / 0.9545 GB, free: 4 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/0.161, allocations: 179.8 kB / 0.9547 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.1623, allocations: 1.906 MB / 0.9565 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.1625, allocations: 79.53 kB / 0.9566 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/0.1626, allocations: 35.98 kB / 0.9567 GB, free: 13.68 MB / 0.9167 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.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 (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.000189/0.1628, allocations: 215 kB / 0.9569 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.1629, allocations: 119.5 kB / 0.957 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.164, allocations: 0.8345 MB / 0.9578 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.164, allocations: 12 kB / 0.9578 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.164, allocations: 4 kB / 0.9578 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.164, allocations: 7.922 kB / 0.9578 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.1659, allocations: 1.612 MB / 0.9594 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1659, allocations: 0 / 0.9594 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/0.1662, allocations: 143.8 kB / 0.9595 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003298/0.1665, allocations: 111.6 kB / 0.9596 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/0.1665, allocations: 27.97 kB / 0.9597 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.1676, allocations: 1.925 MB / 0.9615 GB, free: 8.465 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1676, allocations: 4 kB / 0.9615 GB, free: 8.461 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009561/0.1686, allocations: 0.8689 MB / 0.9624 GB, free: 7.566 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.1688, allocations: 195 kB / 0.9626 GB, free: 7.375 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.077e-05/0.1689, allocations: 27.94 kB / 0.9626 GB, free: 7.348 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.1691, allocations: 38.5 kB / 0.9626 GB, free: 7.312 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.1692, allocations: 68.86 kB / 0.9627 GB, free: 7.246 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.1692, allocations: 47.91 kB / 0.9627 GB, free: 7.199 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002894/0.1695, allocations: 391 kB / 0.9631 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.1695, allocations: 0 / 0.9631 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006322/0.1702, allocations: 331.1 kB / 0.9634 GB, free: 6.496 MB / 0.9167 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.001207/0.1714, allocations: 0.625 MB / 0.964 GB, free: 6.043 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0008413/0.1722, allocations: 0.676 MB / 0.9647 GB, free: 5.348 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1722, allocations: 0 / 0.9647 GB, free: 5.348 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004274/0.1726, allocations: 481 kB / 0.9652 GB, free: 4.855 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006822/0.1733, allocations: 319.5 kB / 0.9655 GB, free: 4.57 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.1756, allocations: 1.549 MB / 0.967 GB, free: 2.98 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.1757, allocations: 198.8 kB / 0.9672 GB, free: 2.758 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005404/0.1762, allocations: 258.6 kB / 0.9674 GB, free: 2.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/0.1765, allocations: 104.5 kB / 0.9675 GB, free: 2.395 MB / 0.9167 GB Notification: Performance of SimCode: time 1.112e-06/0.1765, allocations: 4 kB / 0.9675 GB, free: 2.391 MB / 0.9167 GB Notification: Performance of Templates: time 0.01897/0.1955, allocations: 16.46 MB / 0.9836 GB, free: 2.211 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.390945511404425]