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.001385/0.001385, 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.001521/0.001521, allocations: 159.4 kB / 24.86 MB, free: 8.895 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.9018/0.9018, allocations: 177.2 MB / 205.3 MB, free: 5.504 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.742/1.742, allocations: 359 MB / 0.6063 GB, free: 10.88 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.442e-06/1.442e-06, allocations: 0 / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.293e-05/1.438e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.004932/0.004947, allocations: 4.74 MB / 0.7929 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1298/0.1348, allocations: 143.8 MB / 0.9334 GB, free: 7.191 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008159/0.1356, allocations: 23.81 kB / 0.9334 GB, free: 7.168 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005425/0.1361, allocations: 194.2 kB / 0.9336 GB, free: 6.977 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.1377, allocations: 0.5862 MB / 0.9341 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.139, allocations: 0.853 MB / 0.935 GB, free: 5.531 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0009796/0.14, allocations: 1.474 MB / 0.9364 GB, free: 4.051 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004738/0.1404, allocations: 386 kB / 0.9368 GB, free: 3.652 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006679/0.1411, allocations: 0.7757 MB / 0.9375 GB, free: 2.875 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003419/0.1414, allocations: 374.9 kB / 0.9379 GB, free: 2.508 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.1415, allocations: 112 kB / 0.938 GB, free: 2.398 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005722/0.1421, allocations: 491.3 kB / 0.9385 GB, free: 1.918 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.1423, allocations: 291 kB / 0.9387 GB, free: 1.633 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002326/0.1425, allocations: 371 kB / 0.9391 GB, free: 1.27 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.1436, allocations: 1.238 MB / 0.9403 GB, free: 28 kB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1436, allocations: 0 / 0.9403 GB, free: 28 kB / 0.8855 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1436, allocations: 7.938 kB / 0.9403 GB, free: 20 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.1436, allocations: 0 / 0.9403 GB, free: 20 kB / 0.8855 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.001648/0.1452, allocations: 1.531 MB / 0.9418 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.1453, allocations: 8.031 kB / 0.9418 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007624/0.146, allocations: 327.6 kB / 0.9421 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006573/0.1467, allocations: 0.7072 MB / 0.9428 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.268e-05/0.1467, allocations: 78.12 kB / 0.9429 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.717e-05/0.1468, allocations: 91.98 kB / 0.943 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007098/0.1475, allocations: 0.877 MB / 0.9438 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.1475, allocations: 0 / 0.9438 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.528e-05/0.1476, allocations: 40 kB / 0.9439 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.1476, allocations: 20 kB / 0.9439 GB, free: 12.17 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006037/0.1482, allocations: 0.6766 MB / 0.9446 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/0.1504, allocations: 2.301 MB / 0.9468 GB, free: 9.133 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005614/0.1509, allocations: 449.3 kB / 0.9472 GB, free: 8.688 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.1511, allocations: 149.5 kB / 0.9474 GB, free: 8.539 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.746e-05/0.1511, allocations: 28.64 kB / 0.9474 GB, free: 8.508 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003941/0.1515, allocations: 476.1 kB / 0.9479 GB, free: 8 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=86): time 1.773e-06/0.1515, allocations: 0 / 0.9479 GB, free: 8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=86): time 0.001526/0.1531, allocations: 0.7649 MB / 0.9486 GB, free: 7.223 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.1531, allocations: 196.9 kB / 0.9488 GB, free: 6.988 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003702/0.1535, allocations: 0.5733 MB / 0.9494 GB, free: 6.398 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/0.1536, allocations: 49.7 kB / 0.9494 GB, free: 6.344 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.1538, allocations: 451.9 kB / 0.9498 GB, free: 5.895 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.1539, allocations: 297.5 kB / 0.9501 GB, free: 5.602 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.1541, allocations: 192.1 kB / 0.9503 GB, free: 5.406 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1542, allocations: 0.5663 MB / 0.9509 GB, free: 4.828 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.1544, allocations: 105.9 kB / 0.951 GB, free: 4.723 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.1546, allocations: 365.3 kB / 0.9513 GB, free: 4.312 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.155, allocations: 354.7 kB / 0.9516 GB, free: 3.949 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.155, allocations: 4 kB / 0.9516 GB, free: 3.945 MB / 0.9011 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0008089/0.1558, allocations: 0.6175 MB / 0.9522 GB, free: 3.316 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1558, allocations: 4 kB / 0.9522 GB, free: 3.312 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1558, allocations: 4.125 kB / 0.9523 GB, free: 3.309 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004419/0.1563, allocations: 127.5 kB / 0.9524 GB, free: 3.18 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003695/0.1567, allocations: 179.7 kB / 0.9525 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/0.1578, allocations: 1.874 MB / 0.9544 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.1581, allocations: 87.5 kB / 0.9545 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.1582, allocations: 31.97 kB / 0.9545 GB, free: 0.8984 MB / 0.9011 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.0001862/0.1583, allocations: 215 kB / 0.9547 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.1585, allocations: 111.4 kB / 0.9548 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.1597, allocations: 0.7835 MB / 0.9556 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.1597, allocations: 12 kB / 0.9556 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.1597, allocations: 0 / 0.9556 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.485e-06/0.1597, allocations: 7.969 kB / 0.9556 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.1613, allocations: 1.445 MB / 0.957 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1613, allocations: 0 / 0.957 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002813/0.1615, allocations: 139.8 kB / 0.9571 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003507/0.1619, allocations: 119.6 kB / 0.9572 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.1619, allocations: 31.91 kB / 0.9573 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/0.163, allocations: 1.879 MB / 0.9591 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.163, allocations: 4 kB / 0.9591 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008585/0.1638, allocations: 0.822 MB / 0.9599 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/0.164, allocations: 191 kB / 0.9601 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.284e-05/0.1641, allocations: 24 kB / 0.9601 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.1643, allocations: 35.97 kB / 0.9602 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-05/0.1644, allocations: 76.86 kB / 0.9602 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/0.1645, allocations: 23.98 kB / 0.9603 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002129/0.1647, allocations: 366.9 kB / 0.9606 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1647, allocations: 3.938 kB / 0.9606 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005802/0.1653, allocations: 339.1 kB / 0.9609 GB, free: 10.08 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.001164/0.1664, allocations: 0.6342 MB / 0.9615 GB, free: 9.617 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0009324/0.1674, allocations: 0.6093 MB / 0.9621 GB, free: 8.988 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1674, allocations: 0 / 0.9621 GB, free: 8.988 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003603/0.1677, allocations: 445.3 kB / 0.9626 GB, free: 8.531 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007005/0.1684, allocations: 323.7 kB / 0.9629 GB, free: 8.238 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.1703, allocations: 1.521 MB / 0.9644 GB, free: 6.68 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.1704, allocations: 198.9 kB / 0.9646 GB, free: 6.457 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003505/0.1708, allocations: 186.8 kB / 0.9647 GB, free: 6.27 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005186/0.1713, allocations: 373.9 kB / 0.9651 GB, free: 5.902 MB / 0.9167 GB Notification: Performance of SimCode: time 6.41e-07/0.1713, allocations: 0 / 0.9651 GB, free: 5.902 MB / 0.9167 GB Notification: Performance of Templates: time 0.0193/0.1906, allocations: 17.05 MB / 0.9817 GB, free: 5.156 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.618743620347232]