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.0009578/0.0009578, allocations: 77.97 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.001015/0.001015, allocations: 155.5 kB / 24.86 MB, free: 8.887 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.9241/0.9241, allocations: 177.2 MB / 205.3 MB, free: 5.5 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.789/1.789, allocations: 359 MB / 0.6063 GB, free: 10.86 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.583e-06/1.583e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.686e-05, allocations: 4.984 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.01244/0.01247, allocations: 4.925 MB / 0.7931 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1224/0.1349, allocations: 143.9 MB / 0.9336 GB, free: 6.934 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008704/0.1357, allocations: 23.81 kB / 0.9336 GB, free: 6.91 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004896/0.1362, allocations: 206.1 kB / 0.9338 GB, free: 6.707 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.1375, allocations: 0.59 MB / 0.9344 GB, free: 6.113 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.1388, allocations: 0.8763 MB / 0.9352 GB, free: 5.234 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0009764/0.1398, allocations: 1.517 MB / 0.9367 GB, free: 3.711 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004939/0.1403, allocations: 402.2 kB / 0.9371 GB, free: 3.297 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008239/0.1411, allocations: 0.799 MB / 0.9379 GB, free: 2.496 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003598/0.1415, allocations: 394.8 kB / 0.9383 GB, free: 2.109 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.1416, allocations: 116 kB / 0.9384 GB, free: 1.996 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005153/0.1421, allocations: 495.3 kB / 0.9389 GB, free: 1.512 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.1423, allocations: 303 kB / 0.9391 GB, free: 1.215 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002502/0.1426, allocations: 398.9 kB / 0.9395 GB, free: 0.8242 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0009948/0.1436, allocations: 1.265 MB / 0.9408 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1436, allocations: 4 kB / 0.9408 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1436, allocations: 0 / 0.9408 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.1436, allocations: 0 / 0.9408 GB, free: 15.55 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001401/0.145, allocations: 1.558 MB / 0.9423 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.145, allocations: 12.03 kB / 0.9423 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007662/0.1458, allocations: 331.5 kB / 0.9426 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006712/0.1464, allocations: 0.7267 MB / 0.9433 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/0.1465, allocations: 70.12 kB / 0.9434 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.286e-05/0.1466, allocations: 99.98 kB / 0.9435 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007044/0.1473, allocations: 0.8968 MB / 0.9444 GB, free: 11.69 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.1473, allocations: 0 / 0.9444 GB, free: 11.69 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.2e-05/0.1473, allocations: 36 kB / 0.9444 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.1474, allocations: 24 kB / 0.9444 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007609/0.1481, allocations: 0.7 MB / 0.9451 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.1502, allocations: 2.228 MB / 0.9473 GB, free: 8.652 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005488/0.1507, allocations: 478.7 kB / 0.9477 GB, free: 8.18 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.1509, allocations: 158.6 kB / 0.9479 GB, free: 8.023 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.422e-05/0.1509, allocations: 28.98 kB / 0.9479 GB, free: 7.996 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003824/0.1513, allocations: 486.7 kB / 0.9484 GB, free: 7.469 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=90): time 2.194e-06/0.1513, allocations: 0 / 0.9484 GB, free: 7.469 MB / 0.9011 GB Notification: Performance of matching and sorting (n=90): time 0.001263/0.1526, allocations: 0.7767 MB / 0.9491 GB, free: 6.688 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.1527, allocations: 204.9 kB / 0.9493 GB, free: 6.441 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003575/0.153, allocations: 0.5734 MB / 0.9499 GB, free: 5.852 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.002e-05/0.1531, allocations: 49.7 kB / 0.9499 GB, free: 5.797 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.1533, allocations: 467.9 kB / 0.9504 GB, free: 5.332 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.1534, allocations: 305.4 kB / 0.9507 GB, free: 5.031 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.1536, allocations: 200.1 kB / 0.9509 GB, free: 4.828 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1538, allocations: 0.5701 MB / 0.9514 GB, free: 4.246 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.154, allocations: 113.9 kB / 0.9515 GB, free: 4.137 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.1543, allocations: 357.7 kB / 0.9519 GB, free: 3.734 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.1546, allocations: 351 kB / 0.9522 GB, free: 3.379 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1546, allocations: 0 / 0.9522 GB, free: 3.379 MB / 0.9011 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0008173/0.1555, allocations: 0.6255 MB / 0.9528 GB, free: 2.738 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1555, allocations: 4 kB / 0.9528 GB, free: 2.734 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1555, allocations: 3.984 kB / 0.9528 GB, free: 2.73 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004175/0.1559, allocations: 135.5 kB / 0.953 GB, free: 2.594 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/0.1563, allocations: 191.7 kB / 0.9531 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.1574, allocations: 1.863 MB / 0.955 GB, free: 436 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.1577, allocations: 83.52 kB / 0.955 GB, free: 352 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-05/0.1577, allocations: 31.97 kB / 0.9551 GB, free: 320 kB / 0.9011 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 (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.0001854/0.1579, allocations: 219 kB / 0.9553 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.158, allocations: 115.7 kB / 0.9554 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009856/0.159, allocations: 0.8029 MB / 0.9562 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.159, allocations: 8 kB / 0.9562 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.159, allocations: 0 / 0.9562 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.159, allocations: 11.97 kB / 0.9562 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.1605, allocations: 1.476 MB / 0.9576 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1605, allocations: 4 kB / 0.9576 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003143/0.1609, allocations: 155.8 kB / 0.9578 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003325/0.1612, allocations: 115.5 kB / 0.9579 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/0.1612, allocations: 27.92 kB / 0.9579 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.1623, allocations: 1.883 MB / 0.9598 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1623, allocations: 0 / 0.9598 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.1634, allocations: 0.9722 MB / 0.9607 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002102/0.1636, allocations: 199.1 kB / 0.9609 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.179e-05/0.1637, allocations: 20 kB / 0.9609 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.1639, allocations: 39.97 kB / 0.961 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.641e-05/0.164, allocations: 76.8 kB / 0.961 GB, free: 9.977 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.164, allocations: 31.97 kB / 0.9611 GB, free: 9.945 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002201/0.1642, allocations: 366.9 kB / 0.9614 GB, free: 9.59 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.1642, allocations: 4 kB / 0.9614 GB, free: 9.586 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005026/0.1647, allocations: 351 kB / 0.9617 GB, free: 9.242 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 (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.001127/0.1659, allocations: 0.6311 MB / 0.9624 GB, free: 8.781 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0006657/0.1665, allocations: 0.6248 MB / 0.963 GB, free: 8.133 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.1665, allocations: 0 / 0.963 GB, free: 8.133 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003697/0.1669, allocations: 465.1 kB / 0.9634 GB, free: 7.656 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006667/0.1676, allocations: 324.8 kB / 0.9637 GB, free: 7.367 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.1695, allocations: 1.615 MB / 0.9653 GB, free: 5.715 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.1696, allocations: 202.9 kB / 0.9655 GB, free: 5.496 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005087/0.1701, allocations: 194.9 kB / 0.9657 GB, free: 5.301 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005241/0.1706, allocations: 373.9 kB / 0.966 GB, free: 4.934 MB / 0.9167 GB Notification: Performance of SimCode: time 6.21e-07/0.1706, allocations: 0 / 0.966 GB, free: 4.934 MB / 0.9167 GB Notification: Performance of Templates: time 0.0185/0.1891, allocations: 17.31 MB / 0.9829 GB, free: 3.922 MB / 0.9323 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.836038163397461]