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.0008981/0.0008981, 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.001214/0.001214, 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.8955/0.8955, allocations: 177.1 MB / 204.2 MB, free: 5.266 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.916/1.916, allocations: 377.8 MB / 0.6236 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.793e-06/1.793e-06, allocations: 0 / 0.8115 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.637e-05, allocations: 4.984 kB / 0.8115 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.004812/0.004828, allocations: 4.821 MB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1252/0.13, allocations: 146.5 MB / 0.9593 GB, free: 9.895 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006642/0.1307, allocations: 19.88 kB / 0.9593 GB, free: 9.875 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005396/0.1312, allocations: 206.1 kB / 0.9595 GB, free: 9.672 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.1325, allocations: 0.5747 MB / 0.9601 GB, free: 9.094 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.1339, allocations: 0.8685 MB / 0.9609 GB, free: 8.223 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001049/0.1349, allocations: 1.463 MB / 0.9624 GB, free: 6.75 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005139/0.1355, allocations: 386 kB / 0.9627 GB, free: 6.355 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006733/0.1361, allocations: 0.7484 MB / 0.9635 GB, free: 5.605 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004063/0.1365, allocations: 406.8 kB / 0.9639 GB, free: 5.207 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0002615/0.1368, allocations: 120 kB / 0.964 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006589/0.1375, allocations: 0.4955 MB / 0.9644 GB, free: 4.594 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.1376, allocations: 307 kB / 0.9647 GB, free: 4.293 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002571/0.1379, allocations: 394.9 kB / 0.9651 GB, free: 3.91 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.139, allocations: 1.273 MB / 0.9664 GB, free: 2.629 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.139, allocations: 0 / 0.9664 GB, free: 2.629 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.183e-06/0.139, allocations: 0 / 0.9664 GB, free: 2.629 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.139, allocations: 0 / 0.9664 GB, free: 2.629 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.001515/0.1405, allocations: 1.527 MB / 0.9679 GB, free: 1.055 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.1406, allocations: 8.031 kB / 0.9679 GB, free: 1.047 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007941/0.1414, allocations: 323.6 kB / 0.9682 GB, free: 0.7305 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007351/0.1421, allocations: 0.7208 MB / 0.9689 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.23e-05/0.1421, allocations: 74.11 kB / 0.9689 GB, free: 15.91 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.201e-05/0.1422, allocations: 88 kB / 0.969 GB, free: 15.83 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009104/0.1431, allocations: 1.02 MB / 0.97 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.1432, allocations: 0 / 0.97 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.275e-05/0.1432, allocations: 35.98 kB / 0.9701 GB, free: 14.65 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.1432, allocations: 20 kB / 0.9701 GB, free: 14.63 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009643/0.1442, allocations: 0.7879 MB / 0.9708 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.1465, allocations: 2.46 MB / 0.9732 GB, free: 11.31 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007253/0.1473, allocations: 0.4896 MB / 0.9737 GB, free: 10.81 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.1475, allocations: 179.3 kB / 0.9739 GB, free: 10.63 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.123e-05/0.1475, allocations: 24.64 kB / 0.9739 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004596/0.148, allocations: 498.5 kB / 0.9744 GB, free: 10.08 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=86): time 1.943e-06/0.148, allocations: 4 kB / 0.9744 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86): time 0.001485/0.1495, allocations: 0.8469 MB / 0.9752 GB, free: 9.223 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.1495, allocations: 196.9 kB / 0.9754 GB, free: 8.984 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004569/0.15, allocations: 0.5933 MB / 0.976 GB, free: 8.379 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.15, allocations: 49.7 kB / 0.976 GB, free: 8.324 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.1503, allocations: 459.9 kB / 0.9765 GB, free: 7.867 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.1504, allocations: 285.6 kB / 0.9768 GB, free: 7.586 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.1506, allocations: 188.2 kB / 0.9769 GB, free: 7.395 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1507, allocations: 0.5625 MB / 0.9775 GB, free: 6.82 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.151, allocations: 141.9 kB / 0.9776 GB, free: 6.684 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004729/0.1514, allocations: 393.5 kB / 0.978 GB, free: 6.242 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005084/0.152, allocations: 406.8 kB / 0.9784 GB, free: 5.828 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.152, allocations: 0 / 0.9784 GB, free: 5.828 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0009832/0.1529, allocations: 0.6879 MB / 0.9791 GB, free: 5.125 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.153, allocations: 8 kB / 0.9791 GB, free: 5.117 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.153, allocations: 0 / 0.9791 GB, free: 5.117 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004599/0.1534, allocations: 127.7 kB / 0.9792 GB, free: 4.988 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003722/0.1538, allocations: 183.7 kB / 0.9794 GB, free: 4.809 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.155, allocations: 1.906 MB / 0.9812 GB, free: 2.777 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/0.1553, allocations: 71.59 kB / 0.9813 GB, free: 2.707 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/0.1554, allocations: 43.97 kB / 0.9813 GB, free: 2.664 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.0001937/0.1556, allocations: 223.2 kB / 0.9815 GB, free: 2.434 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.1557, allocations: 111.5 kB / 0.9816 GB, free: 2.324 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.1568, allocations: 0.8499 MB / 0.9825 GB, free: 1.457 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.1568, allocations: 11.94 kB / 0.9825 GB, free: 1.445 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.1568, allocations: 0 / 0.9825 GB, free: 1.445 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.1568, allocations: 3.984 kB / 0.9825 GB, free: 1.441 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.1586, allocations: 1.628 MB / 0.9841 GB, free: 15.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1586, allocations: 0 / 0.9841 GB, free: 15.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/0.1589, allocations: 143.7 kB / 0.9842 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003421/0.1592, allocations: 115.6 kB / 0.9843 GB, free: 15.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-05/0.1593, allocations: 23.98 kB / 0.9844 GB, free: 15.47 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.1605, allocations: 1.938 MB / 0.9862 GB, free: 13.41 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1605, allocations: 0 / 0.9862 GB, free: 13.41 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009716/0.1615, allocations: 0.8727 MB / 0.9871 GB, free: 12.51 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000232/0.1617, allocations: 199.1 kB / 0.9873 GB, free: 12.31 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.707e-05/0.1618, allocations: 28.03 kB / 0.9873 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.162, allocations: 43.95 kB / 0.9874 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.1621, allocations: 72.86 kB / 0.9874 GB, free: 12.17 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.803e-05/0.1622, allocations: 39.91 kB / 0.9875 GB, free: 12.13 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002936/0.1625, allocations: 399 kB / 0.9878 GB, free: 11.75 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1625, allocations: 0 / 0.9878 GB, free: 11.75 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005815/0.1631, allocations: 343.1 kB / 0.9882 GB, free: 11.41 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.001145/0.1642, allocations: 0.6388 MB / 0.9888 GB, free: 10.95 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008385/0.165, allocations: 0.668 MB / 0.9894 GB, free: 10.25 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.165, allocations: 0 / 0.9894 GB, free: 10.25 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004364/0.1655, allocations: 489.2 kB / 0.9899 GB, free: 9.754 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007004/0.1662, allocations: 319.5 kB / 0.9902 GB, free: 9.465 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.1683, allocations: 1.556 MB / 0.9917 GB, free: 7.871 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.1684, allocations: 190.9 kB / 0.9919 GB, free: 7.664 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005468/0.1689, allocations: 254.7 kB / 0.9922 GB, free: 7.41 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.1691, allocations: 112.5 kB / 0.9923 GB, free: 7.301 MB / 0.948 GB Notification: Performance of SimCode: time 5.61e-07/0.1691, allocations: 0 / 0.9923 GB, free: 7.301 MB / 0.948 GB Notification: Performance of Templates: time 0.01734/0.1865, allocations: 15.76 MB / 1.008 GB, free: 7.82 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.739232873078436]