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.0009333/0.0009333, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009063/0.0009063, allocations: 161 kB / 23.82 MB, free: 0.75 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.9045/0.9045, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.807/1.807, allocations: 359 MB / 0.6052 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.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 3.497e-06/3.497e-06, allocations: 4 kB / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/3.012e-05, allocations: 3.562 kB / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006418/0.006448, allocations: 5.025 MB / 0.792 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.124/0.1305, allocations: 146.6 MB / 0.9351 GB, free: 4.414 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007945/0.1313, allocations: 23.81 kB / 0.9352 GB, free: 4.391 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005863/0.1319, allocations: 206.1 kB / 0.9354 GB, free: 4.188 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001548/0.1334, allocations: 0.5901 MB / 0.9359 GB, free: 3.594 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.1351, allocations: 0.8763 MB / 0.9368 GB, free: 2.715 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001252/0.1363, allocations: 1.509 MB / 0.9383 GB, free: 1.199 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000572/0.1369, allocations: 418.1 kB / 0.9387 GB, free: 0.7695 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007765/0.1377, allocations: 0.7602 MB / 0.9394 GB, free: 8 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004663/0.1381, allocations: 426.7 kB / 0.9398 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.1383, allocations: 128 kB / 0.9399 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009049/0.1392, allocations: 499.3 kB / 0.9404 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002079/0.1394, allocations: 326.9 kB / 0.9407 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002861/0.1397, allocations: 403 kB / 0.9411 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.141, allocations: 1.308 MB / 0.9424 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.141, allocations: 4 kB / 0.9424 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.293e-06/0.141, allocations: 0 / 0.9424 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.422e-05/0.1411, allocations: 0 / 0.9424 GB, free: 12.95 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.001797/0.1429, allocations: 1.558 MB / 0.9439 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1429, allocations: 8.031 kB / 0.9439 GB, free: 11.33 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000865/0.1438, allocations: 339.5 kB / 0.9442 GB, free: 11 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008297/0.1446, allocations: 0.7403 MB / 0.945 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.429e-05/0.1446, allocations: 70.12 kB / 0.945 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.1447, allocations: 92 kB / 0.9451 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.1457, allocations: 1.032 MB / 0.9461 GB, free: 8.922 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.1458, allocations: 0 / 0.9461 GB, free: 8.922 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.5e-05/0.1458, allocations: 40 kB / 0.9462 GB, free: 8.883 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.1458, allocations: 24 kB / 0.9462 GB, free: 8.859 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000911/0.1467, allocations: 0.8036 MB / 0.947 GB, free: 8.055 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002766/0.1495, allocations: 2.395 MB / 0.9493 GB, free: 5.598 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009383/0.1504, allocations: 0.5089 MB / 0.9498 GB, free: 5.082 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.1507, allocations: 182.6 kB / 0.95 GB, free: 4.902 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.07e-05/0.1508, allocations: 36.97 kB / 0.95 GB, free: 4.867 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005015/0.1513, allocations: 0.4949 MB / 0.9505 GB, free: 4.32 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=90): time 2.254e-06/0.1513, allocations: 4 kB / 0.9505 GB, free: 4.316 MB / 0.9011 GB Notification: Performance of matching and sorting (n=90): time 0.001617/0.1529, allocations: 0.8665 MB / 0.9513 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.037e-05/0.153, allocations: 204.9 kB / 0.9515 GB, free: 3.199 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005004/0.1535, allocations: 0.5971 MB / 0.9521 GB, free: 2.59 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.416e-05/0.1535, allocations: 53.69 kB / 0.9522 GB, free: 2.531 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.1538, allocations: 460 kB / 0.9526 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.1539, allocations: 301.5 kB / 0.9529 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.1541, allocations: 192.2 kB / 0.9531 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.1543, allocations: 0.5664 MB / 0.9536 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.1545, allocations: 149.9 kB / 0.9538 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/0.1549, allocations: 389.7 kB / 0.9542 GB, free: 436 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005263/0.1554, allocations: 411.1 kB / 0.9545 GB, free: 12 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1554, allocations: 0 / 0.9545 GB, free: 12 kB / 0.9011 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001064/0.1565, allocations: 0.6997 MB / 0.9552 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1565, allocations: 4 kB / 0.9552 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1565, allocations: 0 / 0.9552 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004734/0.157, allocations: 123.7 kB / 0.9554 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/0.1574, allocations: 195.7 kB / 0.9555 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.1589, allocations: 1.913 MB / 0.9574 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.1593, allocations: 75.5 kB / 0.9575 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/0.1593, allocations: 39.97 kB / 0.9575 GB, free: 12.82 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 (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.0002543/0.1596, allocations: 223.3 kB / 0.9577 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.1597, allocations: 115.4 kB / 0.9578 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/0.1609, allocations: 0.8578 MB / 0.9587 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.1609, allocations: 12 kB / 0.9587 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.1609, allocations: 0 / 0.9587 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.161, allocations: 7.984 kB / 0.9587 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002002/0.163, allocations: 1.667 MB / 0.9603 GB, free: 9.859 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.163, allocations: 0 / 0.9603 GB, free: 9.859 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003496/0.1633, allocations: 163.7 kB / 0.9605 GB, free: 9.699 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003638/0.1637, allocations: 111.6 kB / 0.9606 GB, free: 9.586 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/0.1637, allocations: 27.98 kB / 0.9606 GB, free: 9.559 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.1649, allocations: 1.918 MB / 0.9625 GB, free: 7.512 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1649, allocations: 3.938 kB / 0.9625 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.1664, allocations: 1.078 MB / 0.9635 GB, free: 6.406 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002801/0.1666, allocations: 203.1 kB / 0.9637 GB, free: 6.207 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.803e-05/0.1667, allocations: 35.83 kB / 0.9638 GB, free: 6.172 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.167, allocations: 47.98 kB / 0.9638 GB, free: 6.125 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.1671, allocations: 72.86 kB / 0.9639 GB, free: 6.055 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.992e-05/0.1672, allocations: 39.97 kB / 0.9639 GB, free: 6.016 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003355/0.1675, allocations: 399 kB / 0.9643 GB, free: 5.633 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.1675, allocations: 0 / 0.9643 GB, free: 5.633 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006877/0.1682, allocations: 355.1 kB / 0.9646 GB, free: 5.285 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.001271/0.1694, allocations: 0.629 MB / 0.9653 GB, free: 4.824 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0009516/0.1704, allocations: 0.6838 MB / 0.9659 GB, free: 4.117 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.1704, allocations: 7.938 kB / 0.9659 GB, free: 4.109 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004809/0.1709, allocations: 489 kB / 0.9664 GB, free: 3.609 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007338/0.1716, allocations: 329.7 kB / 0.9667 GB, free: 3.309 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/0.174, allocations: 1.649 MB / 0.9683 GB, free: 1.625 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.1741, allocations: 202.9 kB / 0.9685 GB, free: 1.41 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004829/0.1746, allocations: 250.9 kB / 0.9688 GB, free: 1.16 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.1748, allocations: 112.4 kB / 0.9689 GB, free: 1.051 MB / 0.9167 GB Notification: Performance of SimCode: time 7.42e-07/0.1748, allocations: 0 / 0.9689 GB, free: 1.051 MB / 0.9167 GB Notification: Performance of Templates: time 0.0203/0.1951, allocations: 15.99 MB / 0.9845 GB, free: 1.332 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.822665513027459]