Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.001031/0.001031, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.0009816/0.0009816, allocations: 173 kB / 24.28 MB, free: 272 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.9005/0.9005, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.903/1.903, allocations: 377.8 MB / 0.6239 GB, free: 8.539 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.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0.7656 kB / 0.8115 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.566e-05, allocations: 5.125 kB / 0.8115 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.004509/0.004524, allocations: 4.796 MB / 0.8162 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1268/0.1314, allocations: 146.3 MB / 0.959 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007855/0.1321, allocations: 23.81 kB / 0.9591 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005528/0.1327, allocations: 198.2 kB / 0.9593 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.134, allocations: 0.5746 MB / 0.9598 GB, free: 9.711 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.1356, allocations: 0.8646 MB / 0.9607 GB, free: 8.844 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0011/0.1367, allocations: 1.459 MB / 0.9621 GB, free: 7.375 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000575/0.1373, allocations: 389.9 kB / 0.9625 GB, free: 6.977 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007095/0.138, allocations: 0.7368 MB / 0.9632 GB, free: 6.238 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004267/0.1384, allocations: 410.8 kB / 0.9636 GB, free: 5.836 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.1385, allocations: 124 kB / 0.9637 GB, free: 5.715 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006242/0.1391, allocations: 499.3 kB / 0.9642 GB, free: 5.227 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003635/0.1395, allocations: 311 kB / 0.9645 GB, free: 4.922 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000326/0.1398, allocations: 398.9 kB / 0.9648 GB, free: 4.531 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.1411, allocations: 1.265 MB / 0.9661 GB, free: 3.258 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1411, allocations: 4 kB / 0.9661 GB, free: 3.254 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1411, allocations: 0 / 0.9661 GB, free: 3.254 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.1411, allocations: 0 / 0.9661 GB, free: 3.254 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001806/0.1429, allocations: 1.527 MB / 0.9676 GB, free: 1.68 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.143, allocations: 8.031 kB / 0.9676 GB, free: 1.672 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.1441, allocations: 323.6 kB / 0.9679 GB, free: 1.355 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009308/0.145, allocations: 0.7286 MB / 0.9686 GB, free: 0.6016 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.426e-05/0.1451, allocations: 74.11 kB / 0.9687 GB, free: 0.5312 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.1452, allocations: 92 kB / 0.9688 GB, free: 452 kB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.1464, allocations: 1.013 MB / 0.9697 GB, free: 15.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.1464, allocations: 0 / 0.9697 GB, free: 15.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.049e-05/0.1465, allocations: 36 kB / 0.9698 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.1465, allocations: 20 kB / 0.9698 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.1476, allocations: 0.788 MB / 0.9706 GB, free: 14.46 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003008/0.1506, allocations: 2.469 MB / 0.973 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009186/0.1515, allocations: 493.3 kB / 0.9735 GB, free: 11.44 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.1518, allocations: 179.2 kB / 0.9736 GB, free: 11.26 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.584e-05/0.1519, allocations: 28.64 kB / 0.9736 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005938/0.1525, allocations: 499.9 kB / 0.9741 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=86): time 2.164e-06/0.1525, allocations: 0 / 0.9741 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86): time 0.001943/0.1544, allocations: 0.8508 MB / 0.975 GB, free: 9.844 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.087e-05/0.1545, allocations: 196.9 kB / 0.9751 GB, free: 9.605 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005909/0.1551, allocations: 0.5855 MB / 0.9757 GB, free: 9.004 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.969e-05/0.1552, allocations: 53.69 kB / 0.9758 GB, free: 8.945 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.1554, allocations: 463.9 kB / 0.9762 GB, free: 8.484 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.1556, allocations: 285.5 kB / 0.9765 GB, free: 8.203 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.1557, allocations: 188.2 kB / 0.9767 GB, free: 8.012 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.1559, allocations: 0.5625 MB / 0.9772 GB, free: 7.438 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.1562, allocations: 141.9 kB / 0.9773 GB, free: 7.301 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/0.1565, allocations: 393.5 kB / 0.9777 GB, free: 6.855 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005187/0.157, allocations: 402.8 kB / 0.9781 GB, free: 6.445 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.157, allocations: 4 kB / 0.9781 GB, free: 6.441 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001013/0.1581, allocations: 0.6839 MB / 0.9788 GB, free: 5.746 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1581, allocations: 12.11 kB / 0.9788 GB, free: 5.734 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1581, allocations: 4 kB / 0.9788 GB, free: 5.73 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004467/0.1585, allocations: 123.6 kB / 0.9789 GB, free: 5.605 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/0.1589, allocations: 175.8 kB / 0.9791 GB, free: 5.434 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.1602, allocations: 1.913 MB / 0.9809 GB, free: 3.395 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.1604, allocations: 71.59 kB / 0.981 GB, free: 3.324 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.492e-05/0.1605, allocations: 35.98 kB / 0.981 GB, free: 3.289 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 105 * 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.0002025/0.1607, allocations: 223 kB / 0.9813 GB, free: 3.059 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.1608, allocations: 115.5 kB / 0.9814 GB, free: 2.945 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.1619, allocations: 0.8421 MB / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.1619, allocations: 8 kB / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.162, allocations: 3.984 kB / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.162, allocations: 7.969 kB / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.1637, allocations: 1.632 MB / 0.9838 GB, free: 380 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1637, allocations: 0 / 0.9838 GB, free: 380 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/0.164, allocations: 143.8 kB / 0.9839 GB, free: 236 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003734/0.1644, allocations: 115.6 kB / 0.9841 GB, free: 116 kB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.1644, allocations: 27.97 kB / 0.9841 GB, free: 88 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.1655, allocations: 1.926 MB / 0.986 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1655, allocations: 0 / 0.986 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.1665, allocations: 0.8805 MB / 0.9868 GB, free: 13.13 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.1667, allocations: 195.1 kB / 0.987 GB, free: 12.94 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.376e-05/0.1668, allocations: 24 kB / 0.987 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.1671, allocations: 43.95 kB / 0.9871 GB, free: 12.87 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.1672, allocations: 80.94 kB / 0.9871 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/0.1672, allocations: 35.92 kB / 0.9872 GB, free: 12.76 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002937/0.1675, allocations: 403 kB / 0.9876 GB, free: 12.37 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1675, allocations: 0 / 0.9876 GB, free: 12.37 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005325/0.168, allocations: 347.1 kB / 0.9879 GB, free: 12.03 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (97): * Single equations (assignments): 86 * 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.001197/0.1692, allocations: 0.6284 MB / 0.9885 GB, free: 11.57 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008606/0.1701, allocations: 0.672 MB / 0.9892 GB, free: 10.88 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1701, allocations: 8 kB / 0.9892 GB, free: 10.87 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004627/0.1706, allocations: 477 kB / 0.9896 GB, free: 10.38 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006818/0.1712, allocations: 322 kB / 0.9899 GB, free: 10.09 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.1733, allocations: 1.556 MB / 0.9915 GB, free: 8.492 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.1734, allocations: 194.9 kB / 0.9916 GB, free: 8.281 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004381/0.1738, allocations: 254.7 kB / 0.9919 GB, free: 8.027 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.174, allocations: 108.4 kB / 0.992 GB, free: 7.922 MB / 0.948 GB Notification: Performance of SimCode: time 7.82e-07/0.174, allocations: 0 / 0.992 GB, free: 7.922 MB / 0.948 GB Notification: Performance of Templates: time 0.01759/0.1916, allocations: 15.77 MB / 1.007 GB, free: 8.445 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.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.620490509085357]