Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001062/0.001062, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001513/0.001513, allocations: 173 kB / 24.28 MB, free: 280 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.9364/0.9364, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.828/1.828, allocations: 377.8 MB / 0.6239 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.82e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005188/0.005206, allocations: 5.124 MB / 0.8165 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1264/0.1316, allocations: 146.4 MB / 0.9595 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006834/0.1323, allocations: 23.81 kB / 0.9595 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005335/0.1328, allocations: 210.1 kB / 0.9597 GB, free: 9.848 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.1341, allocations: 0.5979 MB / 0.9603 GB, free: 9.246 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.1357, allocations: 0.8763 MB / 0.9611 GB, free: 8.367 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001015/0.1368, allocations: 1.544 MB / 0.9626 GB, free: 6.812 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000523/0.1373, allocations: 410.8 kB / 0.963 GB, free: 6.395 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006124/0.1379, allocations: 0.7874 MB / 0.9638 GB, free: 5.605 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003689/0.1383, allocations: 430.8 kB / 0.9642 GB, free: 5.184 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.1384, allocations: 128 kB / 0.9643 GB, free: 5.059 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005595/0.1389, allocations: 0.4954 MB / 0.9648 GB, free: 4.562 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.1392, allocations: 330.9 kB / 0.9651 GB, free: 4.238 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002957/0.1395, allocations: 418.9 kB / 0.9655 GB, free: 3.828 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.1406, allocations: 1.319 MB / 0.9668 GB, free: 2.5 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1406, allocations: 0 / 0.9668 GB, free: 2.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1406, allocations: 0 / 0.9668 GB, free: 2.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.1406, allocations: 0 / 0.9668 GB, free: 2.5 MB / 0.9167 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.001736/0.1424, allocations: 1.591 MB / 0.9684 GB, free: 0.8672 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1424, allocations: 8.031 kB / 0.9684 GB, free: 0.8594 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008745/0.1433, allocations: 335.5 kB / 0.9687 GB, free: 0.5312 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000766/0.1441, allocations: 0.748 MB / 0.9694 GB, free: 15.76 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.618e-05/0.1441, allocations: 78.12 kB / 0.9695 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.379e-05/0.1442, allocations: 95.98 kB / 0.9696 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009608/0.1452, allocations: 1.04 MB / 0.9706 GB, free: 14.43 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.1452, allocations: 3.984 kB / 0.9706 GB, free: 14.43 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-05/0.1452, allocations: 39.98 kB / 0.9706 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/0.1453, allocations: 27.94 kB / 0.9707 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008814/0.1461, allocations: 0.8036 MB / 0.9715 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002384/0.1485, allocations: 2.434 MB / 0.9738 GB, free: 11.06 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008343/0.1494, allocations: 0.5364 MB / 0.9744 GB, free: 10.52 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.1496, allocations: 200.9 kB / 0.9745 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 4.966e-05/0.1497, allocations: 36.92 kB / 0.9746 GB, free: 10.28 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005818/0.1503, allocations: 0.5105 MB / 0.9751 GB, free: 9.727 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=93): time 2.184e-06/0.1503, allocations: 0 / 0.9751 GB, free: 9.727 MB / 0.9323 GB Notification: Performance of matching and sorting (n=93): time 0.001626/0.1519, allocations: 0.8821 MB / 0.9759 GB, free: 8.832 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.152, allocations: 208.9 kB / 0.9761 GB, free: 8.586 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004912/0.1524, allocations: 0.601 MB / 0.9767 GB, free: 7.969 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.176e-05/0.1525, allocations: 49.7 kB / 0.9768 GB, free: 7.914 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.1527, allocations: 472.1 kB / 0.9772 GB, free: 7.445 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.1529, allocations: 321.4 kB / 0.9775 GB, free: 7.129 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.1531, allocations: 192.2 kB / 0.9777 GB, free: 6.934 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1532, allocations: 0.5664 MB / 0.9783 GB, free: 6.355 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.1535, allocations: 153.9 kB / 0.9784 GB, free: 6.203 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.1538, allocations: 393.8 kB / 0.9788 GB, free: 5.77 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005561/0.1544, allocations: 423.1 kB / 0.9792 GB, free: 5.34 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1544, allocations: 0 / 0.9792 GB, free: 5.34 MB / 0.9323 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001046/0.1555, allocations: 0.7152 MB / 0.9799 GB, free: 4.617 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1555, allocations: 4 kB / 0.9799 GB, free: 4.613 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.465e-06/0.1555, allocations: 4 kB / 0.9799 GB, free: 4.609 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004535/0.1559, allocations: 123.7 kB / 0.98 GB, free: 4.484 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/0.1563, allocations: 195.7 kB / 0.9802 GB, free: 4.293 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.1577, allocations: 1.904 MB / 0.9821 GB, free: 2.258 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.158, allocations: 79.53 kB / 0.9821 GB, free: 2.18 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/0.158, allocations: 43.97 kB / 0.9822 GB, free: 2.137 MB / 0.9323 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.0002169/0.1582, allocations: 219 kB / 0.9824 GB, free: 1.91 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.1584, allocations: 127.4 kB / 0.9825 GB, free: 1.785 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.1596, allocations: 0.8696 MB / 0.9834 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.1596, allocations: 12 kB / 0.9834 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.1596, allocations: 0 / 0.9834 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.1596, allocations: 11.97 kB / 0.9834 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.1615, allocations: 1.713 MB / 0.9851 GB, free: 15.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1615, allocations: 0 / 0.9851 GB, free: 15.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/0.1618, allocations: 163.8 kB / 0.9852 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003387/0.1622, allocations: 115.6 kB / 0.9853 GB, free: 14.83 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.789e-05/0.1622, allocations: 27.98 kB / 0.9854 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.1633, allocations: 1.914 MB / 0.9872 GB, free: 12.75 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1633, allocations: 3.938 kB / 0.9872 GB, free: 12.75 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.1646, allocations: 1.093 MB / 0.9883 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.1648, allocations: 203.1 kB / 0.9885 GB, free: 11.44 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.481e-05/0.1649, allocations: 23.94 kB / 0.9885 GB, free: 11.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.1652, allocations: 58.58 kB / 0.9886 GB, free: 11.36 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.1653, allocations: 80.84 kB / 0.9886 GB, free: 11.28 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.1653, allocations: 35.98 kB / 0.9887 GB, free: 11.24 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003772/0.1657, allocations: 407 kB / 0.9891 GB, free: 10.85 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.1657, allocations: 0 / 0.9891 GB, free: 10.85 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000542/0.1662, allocations: 359.1 kB / 0.9894 GB, free: 10.5 MB / 0.948 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.001097/0.1673, allocations: 0.6232 MB / 0.99 GB, free: 10.04 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008926/0.1682, allocations: 0.7032 MB / 0.9907 GB, free: 9.32 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1682, allocations: 0 / 0.9907 GB, free: 9.32 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004644/0.1687, allocations: 0.4893 MB / 0.9912 GB, free: 8.809 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007014/0.1694, allocations: 327.9 kB / 0.9915 GB, free: 8.508 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.1717, allocations: 1.732 MB / 0.9932 GB, free: 6.734 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.1718, allocations: 206.9 kB / 0.9934 GB, free: 6.512 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004596/0.1723, allocations: 255.1 kB / 0.9936 GB, free: 6.258 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.1725, allocations: 108.5 kB / 0.9937 GB, free: 6.152 MB / 0.948 GB Notification: Performance of SimCode: time 7.92e-07/0.1725, allocations: 3.938 kB / 0.9937 GB, free: 6.148 MB / 0.948 GB Notification: Performance of Templates: time 0.02404/0.1965, allocations: 16.17 MB / 1.01 GB, free: 6.266 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.571823203004897]