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.0008161/0.0008161, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009179/0.0009179, allocations: 169 kB / 24.28 MB, free: 276 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.8945/0.8945, allocations: 177.1 MB / 204.6 MB, free: 5.652 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.778/1.778, 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.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.273e-06/1.273e-06, allocations: 3.938 kB / 0.7871 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045e-05/1.172e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.004798/0.004809, allocations: 4.778 MB / 0.7917 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1251/0.13, allocations: 146.3 MB / 0.9346 GB, free: 5.289 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007038/0.1307, allocations: 23.81 kB / 0.9346 GB, free: 5.266 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005069/0.1312, allocations: 202.1 kB / 0.9348 GB, free: 5.066 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001407/0.1326, allocations: 0.5785 MB / 0.9354 GB, free: 4.484 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.134, allocations: 0.8569 MB / 0.9362 GB, free: 3.625 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.00125/0.1353, allocations: 1.459 MB / 0.9376 GB, free: 2.16 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000798/0.1361, allocations: 393.9 kB / 0.938 GB, free: 1.754 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008411/0.1369, allocations: 0.7406 MB / 0.9387 GB, free: 1.012 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004252/0.1374, allocations: 410.7 kB / 0.9391 GB, free: 0.6094 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.1375, allocations: 120 kB / 0.9392 GB, free: 0.4922 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000711/0.1382, allocations: 0.4955 MB / 0.9397 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.1384, allocations: 314.9 kB / 0.94 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002777/0.1387, allocations: 387 kB / 0.9404 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.14, allocations: 1.269 MB / 0.9416 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.14, allocations: 0 / 0.9416 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.002e-06/0.14, allocations: 0 / 0.9416 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.14, allocations: 0 / 0.9416 GB, free: 14.04 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.001578/0.1416, allocations: 1.527 MB / 0.9431 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1416, allocations: 8.031 kB / 0.9431 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000842/0.1425, allocations: 331.5 kB / 0.9434 GB, free: 12.13 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007279/0.1432, allocations: 0.717 MB / 0.9441 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.251e-05/0.1433, allocations: 74.06 kB / 0.9442 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.533e-05/0.1433, allocations: 92 kB / 0.9443 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.1445, allocations: 1.017 MB / 0.9453 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.1445, allocations: 4 kB / 0.9453 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-05/0.1445, allocations: 32 kB / 0.9453 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.1446, allocations: 20 kB / 0.9453 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008067/0.1454, allocations: 0.7841 MB / 0.9461 GB, free: 9.242 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.1476, allocations: 2.464 MB / 0.9485 GB, free: 6.707 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007129/0.1484, allocations: 0.4955 MB / 0.949 GB, free: 6.207 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.1486, allocations: 171.2 kB / 0.9492 GB, free: 6.039 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.752e-05/0.1486, allocations: 28.62 kB / 0.9492 GB, free: 6.008 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004541/0.1491, allocations: 498.5 kB / 0.9497 GB, free: 5.477 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=86): time 1.773e-06/0.1491, allocations: 4 kB / 0.9497 GB, free: 5.473 MB / 0.9011 GB Notification: Performance of matching and sorting (n=86): time 0.001436/0.1505, allocations: 0.8469 MB / 0.9505 GB, free: 4.613 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/0.1506, allocations: 200.9 kB / 0.9507 GB, free: 4.375 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004406/0.151, allocations: 0.5932 MB / 0.9513 GB, free: 3.766 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.1511, allocations: 49.7 kB / 0.9513 GB, free: 3.711 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004573/0.1515, allocations: 459.9 kB / 0.9518 GB, free: 3.254 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.1517, allocations: 285.6 kB / 0.952 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.1518, allocations: 192.2 kB / 0.9522 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.152, allocations: 0.5586 MB / 0.9528 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.1522, allocations: 149.8 kB / 0.9529 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003259/0.1525, allocations: 393.5 kB / 0.9533 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004962/0.153, allocations: 402.8 kB / 0.9537 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.153, allocations: 0 / 0.9537 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0009348/0.154, allocations: 0.6917 MB / 0.9543 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.154, allocations: 8 kB / 0.9543 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.154, allocations: 0 / 0.9543 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004294/0.1544, allocations: 127.7 kB / 0.9545 GB, free: 380 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/0.1548, allocations: 175.8 kB / 0.9546 GB, free: 204 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.156, allocations: 1.912 MB / 0.9565 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.1563, allocations: 79.58 kB / 0.9566 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/0.1563, allocations: 43.97 kB / 0.9566 GB, free: 14.04 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.0001915/0.1565, allocations: 211 kB / 0.9568 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.1566, allocations: 111.5 kB / 0.9569 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.1577, allocations: 0.8539 MB / 0.9578 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.1577, allocations: 16 kB / 0.9578 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.1577, allocations: 0 / 0.9578 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.1577, allocations: 3.984 kB / 0.9578 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001984/0.1597, allocations: 1.632 MB / 0.9594 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1597, allocations: 0 / 0.9594 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.16, allocations: 135.8 kB / 0.9595 GB, free: 11 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003284/0.1603, allocations: 119.6 kB / 0.9596 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.551e-05/0.1604, allocations: 23.98 kB / 0.9596 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.1614, allocations: 1.933 MB / 0.9615 GB, free: 8.797 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1614, allocations: 0 / 0.9615 GB, free: 8.797 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009886/0.1624, allocations: 0.8766 MB / 0.9624 GB, free: 7.895 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/0.1627, allocations: 195.1 kB / 0.9626 GB, free: 7.703 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.466e-05/0.1627, allocations: 27.98 kB / 0.9626 GB, free: 7.676 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.163, allocations: 39.97 kB / 0.9626 GB, free: 7.637 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.1631, allocations: 76.84 kB / 0.9627 GB, free: 7.562 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.1631, allocations: 35.92 kB / 0.9627 GB, free: 7.527 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003001/0.1634, allocations: 407 kB / 0.9631 GB, free: 7.137 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.1634, allocations: 0 / 0.9631 GB, free: 7.137 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000562/0.164, allocations: 347.1 kB / 0.9635 GB, free: 6.797 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.1651, allocations: 0.6184 MB / 0.9641 GB, free: 6.352 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0009038/0.1661, allocations: 0.6757 MB / 0.9647 GB, free: 5.656 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1661, allocations: 0 / 0.9647 GB, free: 5.656 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004447/0.1665, allocations: 485.3 kB / 0.9652 GB, free: 5.16 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006976/0.1672, allocations: 328.3 kB / 0.9655 GB, free: 4.859 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.1697, allocations: 1.552 MB / 0.967 GB, free: 3.266 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.1698, allocations: 194.9 kB / 0.9672 GB, free: 3.047 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004497/0.1703, allocations: 246.7 kB / 0.9674 GB, free: 2.801 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.1704, allocations: 116.4 kB / 0.9675 GB, free: 2.684 MB / 0.9167 GB Notification: Performance of SimCode: time 9.42e-07/0.1704, allocations: 0 / 0.9675 GB, free: 2.684 MB / 0.9167 GB Notification: Performance of Templates: time 0.01731/0.1878, allocations: 15.75 MB / 0.9829 GB, free: 3.195 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.467239932157099]