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.001187/0.001187, 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.001304/0.001304, 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.9834/0.9834, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.543 MB / 0.5886 GB " [Timeout remaining time 177] 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 2.345e-06/2.345e-06, allocations: 4 kB / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.649e-05, allocations: 4.703 kB / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005172/0.005198, allocations: 5.144 MB / 0.8165 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1348/0.14, allocations: 146.6 MB / 0.9597 GB, free: 9.441 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008312/0.1408, allocations: 23.81 kB / 0.9598 GB, free: 9.418 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006023/0.1414, allocations: 210.1 kB / 0.96 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.1431, allocations: 0.6057 MB / 0.9605 GB, free: 8.602 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.1447, allocations: 0.8802 MB / 0.9614 GB, free: 7.719 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001197/0.1459, allocations: 1.548 MB / 0.9629 GB, free: 6.16 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000581/0.1465, allocations: 406.8 kB / 0.9633 GB, free: 5.746 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007219/0.1472, allocations: 0.7874 MB / 0.9641 GB, free: 4.957 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004225/0.1476, allocations: 426.8 kB / 0.9645 GB, free: 4.539 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.1477, allocations: 128 kB / 0.9646 GB, free: 4.414 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007756/0.1485, allocations: 0.4954 MB / 0.9651 GB, free: 3.918 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002171/0.1487, allocations: 330.9 kB / 0.9654 GB, free: 3.594 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002824/0.149, allocations: 410.9 kB / 0.9658 GB, free: 3.188 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.1504, allocations: 1.331 MB / 0.9671 GB, free: 1.852 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1504, allocations: 0 / 0.9671 GB, free: 1.852 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1504, allocations: 0 / 0.9671 GB, free: 1.852 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.1504, allocations: 0 / 0.9671 GB, free: 1.852 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.001792/0.1522, allocations: 1.591 MB / 0.9686 GB, free: 224 kB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1522, allocations: 8.031 kB / 0.9687 GB, free: 216 kB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008471/0.1531, allocations: 335.5 kB / 0.969 GB, free: 15.88 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008165/0.1539, allocations: 0.748 MB / 0.9697 GB, free: 15.11 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.864e-05/0.1539, allocations: 70.12 kB / 0.9698 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.1541, allocations: 104 kB / 0.9699 GB, free: 14.94 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009931/0.155, allocations: 1.032 MB / 0.9709 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.1551, allocations: 0 / 0.9709 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.547e-05/0.1551, allocations: 44 kB / 0.9709 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.1551, allocations: 23.94 kB / 0.9709 GB, free: 13.72 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008971/0.156, allocations: 0.8153 MB / 0.9717 GB, free: 12.9 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/0.1586, allocations: 2.434 MB / 0.9741 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009186/0.1595, allocations: 0.5403 MB / 0.9746 GB, free: 9.855 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.1598, allocations: 190.6 kB / 0.9748 GB, free: 9.664 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.6e-05/0.1598, allocations: 32.92 kB / 0.9749 GB, free: 9.633 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005015/0.1603, allocations: 0.5067 MB / 0.9754 GB, free: 9.082 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=93): time 2.124e-06/0.1603, allocations: 3.938 kB / 0.9754 GB, free: 9.078 MB / 0.9323 GB Notification: Performance of matching and sorting (n=93): time 0.001623/0.1619, allocations: 0.8938 MB / 0.9762 GB, free: 8.176 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.051e-05/0.162, allocations: 192.9 kB / 0.9764 GB, free: 7.945 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005434/0.1626, allocations: 0.6089 MB / 0.977 GB, free: 7.324 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.609e-05/0.1626, allocations: 49.69 kB / 0.9771 GB, free: 7.27 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.1629, allocations: 472.1 kB / 0.9775 GB, free: 6.801 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.163, allocations: 317.4 kB / 0.9778 GB, free: 6.488 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.1632, allocations: 192.2 kB / 0.978 GB, free: 6.293 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.1634, allocations: 0.5742 MB / 0.9786 GB, free: 5.707 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.1636, allocations: 145.9 kB / 0.9787 GB, free: 5.562 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003547/0.164, allocations: 397.8 kB / 0.9791 GB, free: 5.121 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005345/0.1645, allocations: 423.1 kB / 0.9795 GB, free: 4.691 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1645, allocations: 0 / 0.9795 GB, free: 4.691 MB / 0.9323 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001026/0.1656, allocations: 0.7152 MB / 0.9802 GB, free: 3.969 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1656, allocations: 8 kB / 0.9802 GB, free: 3.961 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1656, allocations: 0 / 0.9802 GB, free: 3.961 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004735/0.1661, allocations: 127.7 kB / 0.9803 GB, free: 3.832 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/0.1665, allocations: 195.7 kB / 0.9805 GB, free: 3.641 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.1679, allocations: 1.898 MB / 0.9823 GB, free: 1.609 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003104/0.1682, allocations: 79.53 kB / 0.9824 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.967e-05/0.1682, allocations: 39.97 kB / 0.9825 GB, free: 1.492 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.000205/0.1685, allocations: 227.2 kB / 0.9827 GB, free: 1.262 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.1686, allocations: 123.4 kB / 0.9828 GB, free: 1.141 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.1698, allocations: 0.8774 MB / 0.9836 GB, free: 256 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.1698, allocations: 8 kB / 0.9837 GB, free: 248 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.1698, allocations: 0 / 0.9837 GB, free: 248 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.1698, allocations: 7.969 kB / 0.9837 GB, free: 240 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.1718, allocations: 1.709 MB / 0.9853 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.1718, allocations: 0 / 0.9853 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003494/0.1721, allocations: 155.8 kB / 0.9855 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003552/0.1725, allocations: 123.5 kB / 0.9856 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.031e-05/0.1725, allocations: 31.92 kB / 0.9856 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.1736, allocations: 1.914 MB / 0.9875 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1736, allocations: 3.938 kB / 0.9875 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.175, allocations: 1.093 MB / 0.9886 GB, free: 10.99 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000268/0.1753, allocations: 203.2 kB / 0.9888 GB, free: 10.79 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.577e-05/0.1754, allocations: 27.94 kB / 0.9888 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.1757, allocations: 54.7 kB / 0.9888 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.1758, allocations: 76.84 kB / 0.9889 GB, free: 10.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.1758, allocations: 35.98 kB / 0.989 GB, free: 10.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003319/0.1761, allocations: 407 kB / 0.9893 GB, free: 10.21 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.1761, allocations: 0 / 0.9893 GB, free: 10.21 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007087/0.1768, allocations: 359.1 kB / 0.9897 GB, free: 9.855 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.001322/0.1782, allocations: 0.639 MB / 0.9903 GB, free: 9.391 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.1792, allocations: 0.6991 MB / 0.991 GB, free: 8.672 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1792, allocations: 0 / 0.991 GB, free: 8.672 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004812/0.1797, allocations: 0.4895 MB / 0.9915 GB, free: 8.164 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007741/0.1804, allocations: 320.9 kB / 0.9918 GB, free: 7.875 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.1831, allocations: 1.736 MB / 0.9935 GB, free: 6.094 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.1833, allocations: 202.9 kB / 0.9937 GB, free: 5.875 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005231/0.1838, allocations: 259 kB / 0.9939 GB, free: 5.617 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.184, allocations: 112.5 kB / 0.994 GB, free: 5.508 MB / 0.948 GB Notification: Performance of SimCode: time 1.392e-06/0.184, allocations: 0 / 0.994 GB, free: 5.508 MB / 0.948 GB Notification: Performance of Templates: time 0.01937/0.2034, allocations: 16.17 MB / 1.01 GB, free: 5.621 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.946581083815545]