Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001202/0.001202, allocations: 164.5 kB / 24.86 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.9627/0.9627, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.847/1.847, allocations: 359 MB / 0.6063 GB, free: 10.91 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.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.475e-05, allocations: 4.188 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007213/0.007238, allocations: 5.033 MB / 0.7932 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1311/0.1384, allocations: 143.9 MB / 0.9337 GB, free: 6.805 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008671/0.1392, allocations: 23.81 kB / 0.9338 GB, free: 6.781 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005729/0.1398, allocations: 202.1 kB / 0.934 GB, free: 6.582 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.1414, allocations: 0.6017 MB / 0.9345 GB, free: 5.977 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.1431, allocations: 0.8802 MB / 0.9354 GB, free: 5.094 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001785/0.1448, allocations: 1.536 MB / 0.9369 GB, free: 3.551 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006493/0.1455, allocations: 422.8 kB / 0.9373 GB, free: 3.117 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.1466, allocations: 0.8185 MB / 0.9381 GB, free: 2.297 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005143/0.1471, allocations: 398.8 kB / 0.9385 GB, free: 1.906 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.1472, allocations: 120 kB / 0.9386 GB, free: 1.789 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008515/0.1481, allocations: 491.4 kB / 0.9391 GB, free: 1.309 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0002197/0.1483, allocations: 314.9 kB / 0.9394 GB, free: 1 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0003141/0.1486, allocations: 398.9 kB / 0.9397 GB, free: 0.6094 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.1501, allocations: 1.288 MB / 0.941 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1501, allocations: 4 kB / 0.941 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.72e-07/0.1501, allocations: 0 / 0.941 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.145e-05/0.1501, allocations: 4 kB / 0.941 GB, free: 15.31 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.001775/0.1519, allocations: 1.583 MB / 0.9426 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.1519, allocations: 8.031 kB / 0.9426 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008805/0.1528, allocations: 339.5 kB / 0.9429 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.1539, allocations: 0.7305 MB / 0.9436 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.736e-05/0.154, allocations: 74.12 kB / 0.9437 GB, free: 12.51 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.763e-05/0.1541, allocations: 104 kB / 0.9438 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008104/0.1549, allocations: 0.9007 MB / 0.9446 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.1549, allocations: 0 / 0.9446 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.523e-05/0.1549, allocations: 43.98 kB / 0.9447 GB, free: 11.37 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.155, allocations: 31.88 kB / 0.9447 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006977/0.1557, allocations: 0.6962 MB / 0.9454 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002493/0.1581, allocations: 2.27 MB / 0.9476 GB, free: 8.312 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006495/0.1588, allocations: 0.4962 MB / 0.9481 GB, free: 7.816 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.159, allocations: 166.5 kB / 0.9483 GB, free: 7.648 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.769e-05/0.159, allocations: 28.98 kB / 0.9483 GB, free: 7.621 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000418/0.1594, allocations: 490.7 kB / 0.9488 GB, free: 7.094 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=93): time 2.625e-06/0.1594, allocations: 0 / 0.9488 GB, free: 7.094 MB / 0.9011 GB Notification: Performance of matching and sorting (n=93): time 0.001378/0.1608, allocations: 0.8001 MB / 0.9495 GB, free: 6.285 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.946e-05/0.1609, allocations: 196.9 kB / 0.9497 GB, free: 6.051 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007025/0.1616, allocations: 0.5851 MB / 0.9503 GB, free: 5.449 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.876e-05/0.1617, allocations: 53.69 kB / 0.9503 GB, free: 5.391 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.1619, allocations: 471.9 kB / 0.9508 GB, free: 4.922 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.1621, allocations: 317.3 kB / 0.9511 GB, free: 4.609 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.1623, allocations: 200.1 kB / 0.9513 GB, free: 4.402 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1624, allocations: 0.574 MB / 0.9519 GB, free: 3.816 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.1626, allocations: 113.9 kB / 0.952 GB, free: 3.707 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.1628, allocations: 357.7 kB / 0.9523 GB, free: 3.309 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/0.1632, allocations: 363 kB / 0.9526 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1633, allocations: 0 / 0.9526 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0008916/0.1641, allocations: 0.645 MB / 0.9533 GB, free: 2.281 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1642, allocations: 8 kB / 0.9533 GB, free: 2.273 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1642, allocations: 3.984 kB / 0.9533 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004474/0.1646, allocations: 131.5 kB / 0.9534 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004119/0.165, allocations: 195.7 kB / 0.9536 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.1663, allocations: 1.877 MB / 0.9554 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/0.1666, allocations: 79.61 kB / 0.9555 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/0.1667, allocations: 31.97 kB / 0.9555 GB, free: 15.84 MB / 0.9167 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.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 (113): * Single equations (assignments): 112 * 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.0002251/0.1669, allocations: 223.2 kB / 0.9558 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.167, allocations: 119.4 kB / 0.9559 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.1681, allocations: 0.8148 MB / 0.9567 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.1681, allocations: 16 kB / 0.9567 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.1681, allocations: 0 / 0.9567 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.1681, allocations: 3.984 kB / 0.9567 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.17, allocations: 1.499 MB / 0.9581 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.17, allocations: 4 kB / 0.9582 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/0.1704, allocations: 155.8 kB / 0.9583 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003511/0.1707, allocations: 119.5 kB / 0.9584 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/0.1708, allocations: 31.92 kB / 0.9584 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.1719, allocations: 1.887 MB / 0.9603 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1719, allocations: 7.969 kB / 0.9603 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.173, allocations: 0.9838 MB / 0.9613 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002494/0.1733, allocations: 195 kB / 0.9614 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.191e-05/0.1733, allocations: 27.98 kB / 0.9615 GB, free: 9.539 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002481/0.1736, allocations: 45.81 kB / 0.9615 GB, free: 9.496 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.1737, allocations: 76.86 kB / 0.9616 GB, free: 9.422 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.865e-05/0.1737, allocations: 27.92 kB / 0.9616 GB, free: 9.395 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002522/0.174, allocations: 382.8 kB / 0.962 GB, free: 9.027 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.21e-07/0.174, allocations: 0 / 0.962 GB, free: 9.027 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007328/0.1747, allocations: 351.1 kB / 0.9623 GB, free: 8.684 MB / 0.9167 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 (104): * Single equations (assignments): 93 * 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.001305/0.176, allocations: 0.6161 MB / 0.9629 GB, free: 8.23 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0007881/0.1768, allocations: 0.6443 MB / 0.9635 GB, free: 7.562 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1768, allocations: 0 / 0.9635 GB, free: 7.562 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004167/0.1772, allocations: 461 kB / 0.964 GB, free: 7.094 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007501/0.178, allocations: 334.6 kB / 0.9643 GB, free: 6.785 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.1806, allocations: 1.701 MB / 0.966 GB, free: 5.047 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.1807, allocations: 202.9 kB / 0.9662 GB, free: 4.832 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004444/0.1812, allocations: 191.2 kB / 0.9663 GB, free: 4.641 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005702/0.1817, allocations: 373.9 kB / 0.9667 GB, free: 4.273 MB / 0.9167 GB Notification: Performance of SimCode: time 1.102e-06/0.1817, allocations: 0 / 0.9667 GB, free: 4.273 MB / 0.9167 GB Notification: Performance of Templates: time 0.02243/0.2042, allocations: 17.5 MB / 0.9838 GB, free: 3.07 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.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.9149041920900345]