Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008851/0.0008851, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001025/0.001025, allocations: 177 kB / 23.36 MB, free: 1.129 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.8992/0.8992, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.231/2.231, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0.6562 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.504e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.004938/0.004953, allocations: 5.038 MB / 0.8435 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1293/0.1343, allocations: 146.1 MB / 0.9862 GB, free: 6.488 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000661/0.1349, allocations: 27.81 kB / 0.9862 GB, free: 6.461 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005127/0.1355, allocations: 206.1 kB / 0.9864 GB, free: 6.258 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001326/0.1368, allocations: 0.6095 MB / 0.987 GB, free: 5.645 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.1382, allocations: 0.8763 MB / 0.9878 GB, free: 4.766 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.00177/0.14, allocations: 1.54 MB / 0.9893 GB, free: 3.219 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005524/0.1405, allocations: 426.7 kB / 0.9897 GB, free: 2.773 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009524/0.1415, allocations: 0.8147 MB / 0.9905 GB, free: 1.957 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004376/0.1419, allocations: 398.8 kB / 0.9909 GB, free: 1.566 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.142, allocations: 120 kB / 0.991 GB, free: 1.449 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006884/0.1427, allocations: 0.4914 MB / 0.9915 GB, free: 0.957 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.1429, allocations: 306.9 kB / 0.9918 GB, free: 0.6562 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002697/0.1432, allocations: 402.9 kB / 0.9922 GB, free: 268 kB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.1444, allocations: 1.284 MB / 0.9934 GB, free: 14.97 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1444, allocations: 0 / 0.9934 GB, free: 14.97 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1444, allocations: 0 / 0.9934 GB, free: 14.97 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.791e-05/0.1445, allocations: 0 / 0.9934 GB, free: 14.97 MB / 0.9636 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.001507/0.146, allocations: 1.438 MB / 0.9948 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.146, allocations: 16.56 kB / 0.9949 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007575/0.1468, allocations: 292.2 kB / 0.9951 GB, free: 13.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008908/0.1476, allocations: 0.5979 MB / 0.9957 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.1477, allocations: 74.06 kB / 0.9958 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.499e-05/0.1478, allocations: 96 kB / 0.9959 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006761/0.1484, allocations: 0.8992 MB / 0.9968 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.1485, allocations: 3.938 kB / 0.9968 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.602e-05/0.1485, allocations: 40 kB / 0.9968 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.1485, allocations: 24 kB / 0.9968 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005808/0.1491, allocations: 0.5986 MB / 0.9974 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.1511, allocations: 1.691 MB / 0.9991 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/0.1516, allocations: 442.7 kB / 0.9995 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.1517, allocations: 143.8 kB / 0.9996 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.667e-05/0.1518, allocations: 28.97 kB / 0.9997 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003588/0.1522, allocations: 475.2 kB / 1 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=93): time 3.957e-06/0.1522, allocations: 3.984 kB / 1 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of matching and sorting (n=93): time 0.001011/0.1532, allocations: 0.5889 MB / 1.001 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.1532, allocations: 204.8 kB / 1.001 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.1536, allocations: 0.5211 MB / 1.001 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/0.1536, allocations: 49.7 kB / 1.001 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.1538, allocations: 346.5 kB / 1.002 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.1539, allocations: 305.3 kB / 1.002 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.1541, allocations: 174.5 kB / 1.002 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1542, allocations: 398.6 kB / 1.003 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004522/0.1547, allocations: 104.8 kB / 1.003 GB, free: 5.145 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.1549, allocations: 323.6 kB / 1.003 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.1552, allocations: 345.1 kB / 1.003 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.1552, allocations: 4 kB / 1.003 GB, free: 4.434 MB / 0.9636 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0006182/0.1558, allocations: 483 kB / 1.004 GB, free: 3.953 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1559, allocations: 4 kB / 1.004 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.1559, allocations: 4 kB / 1.004 GB, free: 3.945 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003836/0.1562, allocations: 128.7 kB / 1.004 GB, free: 3.816 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.1566, allocations: 187.7 kB / 1.004 GB, free: 3.633 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009704/0.1576, allocations: 1.308 MB / 1.005 GB, free: 2.234 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.1578, allocations: 79.72 kB / 1.005 GB, free: 2.156 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.076e-05/0.1579, allocations: 31.97 kB / 1.006 GB, free: 2.125 MB / 0.9636 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.0001823/0.1581, allocations: 175.1 kB / 1.006 GB, free: 1.945 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.529e-05/0.1581, allocations: 83.92 kB / 1.006 GB, free: 1.863 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007929/0.1589, allocations: 0.6304 MB / 1.006 GB, free: 1.215 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1589, allocations: 16 kB / 1.006 GB, free: 1.199 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.1589, allocations: 0 / 1.006 GB, free: 1.199 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.159, allocations: 3.984 kB / 1.006 GB, free: 1.195 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.1602, allocations: 1.144 MB / 1.008 GB, free: 8 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1603, allocations: 0 / 1.008 GB, free: 8 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003237/0.1606, allocations: 143.8 kB / 1.008 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002971/0.1609, allocations: 116.7 kB / 1.008 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.1609, allocations: 19.98 kB / 1.008 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008163/0.1617, allocations: 1.333 MB / 1.009 GB, free: 14.31 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1617, allocations: 4.031 kB / 1.009 GB, free: 14.3 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.1628, allocations: 0.7242 MB / 1.01 GB, free: 13.56 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.163, allocations: 155.1 kB / 1.01 GB, free: 13.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.625e-05/0.1631, allocations: 24 kB / 1.01 GB, free: 13.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.1633, allocations: 42.19 kB / 1.01 GB, free: 13.35 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/0.1634, allocations: 76.8 kB / 1.01 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.318e-05/0.1634, allocations: 27.97 kB / 1.01 GB, free: 13.25 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001891/0.1636, allocations: 255.4 kB / 1.01 GB, free: 13 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2e-07/0.1636, allocations: 0 / 1.01 GB, free: 13 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005549/0.1641, allocations: 355.1 kB / 1.011 GB, free: 12.65 MB / 0.9792 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 (103): * Single equations (assignments): 92 * 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.001431/0.1656, allocations: 0.7567 MB / 1.011 GB, free: 12.16 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006052/0.1662, allocations: 0.537 MB / 1.012 GB, free: 11.61 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.1662, allocations: 4 kB / 1.012 GB, free: 11.6 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003286/0.1665, allocations: 387.1 kB / 1.012 GB, free: 11.21 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006326/0.1671, allocations: 325.9 kB / 1.013 GB, free: 10.91 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.1694, allocations: 1.682 MB / 1.014 GB, free: 9.191 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.1696, allocations: 203 kB / 1.014 GB, free: 8.973 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0004116/0.17, allocations: 195 kB / 1.015 GB, free: 8.777 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000513/0.1705, allocations: 315 kB / 1.015 GB, free: 8.469 MB / 0.9792 GB Notification: Performance of SimCode: time 8.62e-07/0.1705, allocations: 4 kB / 1.015 GB, free: 8.465 MB / 0.9792 GB Notification: Performance of Templates: time 0.0206/0.1911, allocations: 17.24 MB / 1.032 GB, free: 7.531 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.654194402974099]