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.00093/0.00093, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009677/0.0009677, allocations: 161 kB / 23.81 MB, free: 0.7578 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.9093/0.9093, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.689/1.689, allocations: 359 MB / 0.6052 GB, free: 11.01 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.272e-06/1.272e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/1.966e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.004832/0.004852, allocations: 5.157 MB / 0.7921 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.121/0.1259, allocations: 146.6 MB / 0.9353 GB, free: 4.254 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006768/0.1266, allocations: 23.81 kB / 0.9353 GB, free: 4.23 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.000519/0.1271, allocations: 210.1 kB / 0.9355 GB, free: 4.023 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.1284, allocations: 0.6055 MB / 0.9361 GB, free: 3.414 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.1297, allocations: 0.8841 MB / 0.937 GB, free: 2.527 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001071/0.1308, allocations: 1.533 MB / 0.9385 GB, free: 0.9883 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005262/0.1313, allocations: 422.8 kB / 0.9389 GB, free: 0.5547 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007851/0.1321, allocations: 0.8147 MB / 0.9397 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003715/0.1324, allocations: 402.7 kB / 0.94 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.1326, allocations: 120 kB / 0.9402 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006171/0.1332, allocations: 495.4 kB / 0.9406 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.1334, allocations: 310.9 kB / 0.9409 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002714/0.1336, allocations: 402.9 kB / 0.9413 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.1348, allocations: 1.292 MB / 0.9426 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1348, allocations: 0 / 0.9426 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1348, allocations: 4 kB / 0.9426 GB, free: 12.74 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.1348, allocations: 4 kB / 0.9426 GB, free: 12.74 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.001499/0.1363, allocations: 1.571 MB / 0.9441 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1363, allocations: 8.031 kB / 0.9441 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007939/0.1371, allocations: 343.5 kB / 0.9444 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007146/0.1378, allocations: 0.7422 MB / 0.9452 GB, free: 10.01 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/0.1379, allocations: 70.12 kB / 0.9452 GB, free: 9.941 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.871e-05/0.138, allocations: 92 kB / 0.9453 GB, free: 9.852 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008888/0.1389, allocations: 0.9673 MB / 0.9463 GB, free: 8.785 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.1389, allocations: 0 / 0.9463 GB, free: 8.785 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/0.1389, allocations: 43.98 kB / 0.9463 GB, free: 8.742 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.1389, allocations: 24 kB / 0.9463 GB, free: 8.719 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008194/0.1398, allocations: 0.8075 MB / 0.9471 GB, free: 7.91 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002327/0.1421, allocations: 2.383 MB / 0.9494 GB, free: 5.461 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007733/0.1429, allocations: 0.5439 MB / 0.95 GB, free: 4.914 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.1431, allocations: 201.8 kB / 0.9502 GB, free: 4.715 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.91e-05/0.1432, allocations: 36.91 kB / 0.9502 GB, free: 4.68 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000461/0.1436, allocations: 0.495 MB / 0.9507 GB, free: 4.137 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=93): time 2.344e-06/0.1436, allocations: 0 / 0.9507 GB, free: 4.137 MB / 0.9011 GB Notification: Performance of matching and sorting (n=93): time 0.001466/0.1451, allocations: 0.8822 MB / 0.9516 GB, free: 3.246 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/0.1452, allocations: 204.8 kB / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004415/0.1456, allocations: 0.5893 MB / 0.9523 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.142e-05/0.1457, allocations: 57.69 kB / 0.9524 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.1459, allocations: 472 kB / 0.9528 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.146, allocations: 313.4 kB / 0.9531 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.1462, allocations: 188.2 kB / 0.9533 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1464, allocations: 0.5742 MB / 0.9539 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.1466, allocations: 145.9 kB / 0.954 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003199/0.1469, allocations: 393.8 kB / 0.9544 GB, free: 212 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005068/0.1474, allocations: 423.1 kB / 0.9548 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1474, allocations: 0 / 0.9548 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0009481/0.1483, allocations: 0.7074 MB / 0.9555 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1484, allocations: 9.406 kB / 0.9555 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1484, allocations: 0 / 0.9555 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004319/0.1488, allocations: 131.6 kB / 0.9556 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000406/0.1492, allocations: 195.7 kB / 0.9558 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.1504, allocations: 1.905 MB / 0.9577 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.1507, allocations: 79.53 kB / 0.9577 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.684e-05/0.1507, allocations: 35.98 kB / 0.9578 GB, free: 12.58 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.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 (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.0001981/0.1509, allocations: 227.2 kB / 0.958 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.151, allocations: 123.4 kB / 0.9581 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.1521, allocations: 0.8696 MB / 0.959 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.1522, allocations: 12 kB / 0.959 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.1522, allocations: 4 kB / 0.959 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.1522, allocations: 7.969 kB / 0.959 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.1539, allocations: 1.678 MB / 0.9606 GB, free: 9.574 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.154, allocations: 4 kB / 0.9606 GB, free: 9.57 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003533/0.1543, allocations: 159.7 kB / 0.9608 GB, free: 9.414 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000337/0.1546, allocations: 115.6 kB / 0.9609 GB, free: 9.297 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/0.1547, allocations: 23.98 kB / 0.9609 GB, free: 9.273 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.1557, allocations: 1.925 MB / 0.9628 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1557, allocations: 3.984 kB / 0.9628 GB, free: 7.215 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.157, allocations: 1.089 MB / 0.9639 GB, free: 6.102 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.1572, allocations: 203 kB / 0.964 GB, free: 5.902 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.21e-05/0.1573, allocations: 23.94 kB / 0.9641 GB, free: 5.879 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.1575, allocations: 44 kB / 0.9641 GB, free: 5.836 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-05/0.1576, allocations: 72.86 kB / 0.9642 GB, free: 5.766 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/0.1576, allocations: 35.97 kB / 0.9642 GB, free: 5.73 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002799/0.1579, allocations: 399 kB / 0.9646 GB, free: 5.348 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.1579, allocations: 0 / 0.9646 GB, free: 5.348 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005407/0.1585, allocations: 351.1 kB / 0.9649 GB, free: 5.004 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.00117/0.1596, allocations: 0.632 MB / 0.9655 GB, free: 4.543 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0008672/0.1605, allocations: 0.6993 MB / 0.9662 GB, free: 3.82 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1605, allocations: 0 / 0.9662 GB, free: 3.82 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004391/0.1609, allocations: 0.4892 MB / 0.9667 GB, free: 3.309 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006867/0.1616, allocations: 330 kB / 0.967 GB, free: 3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.1639, allocations: 1.724 MB / 0.9687 GB, free: 1.238 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.1641, allocations: 207 kB / 0.9689 GB, free: 1.02 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00041/0.1645, allocations: 251 kB / 0.9691 GB, free: 0.7695 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.1647, allocations: 120.4 kB / 0.9693 GB, free: 0.6523 MB / 0.9167 GB Notification: Performance of SimCode: time 6.61e-07/0.1647, allocations: 0 / 0.9693 GB, free: 0.6523 MB / 0.9167 GB Notification: Performance of Templates: time 0.01869/0.1834, allocations: 16.88 MB / 0.9857 GB, free: 60 kB / 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.507398097310215]