Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.0009305/0.0009305, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009875/0.0009875, allocations: 169.3 kB / 23.02 MB, free: 1.551 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.8983/0.8983, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.073/2.073, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0.875 kB / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.786e-05/1.921e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.005255/0.005274, allocations: 5.035 MB / 0.8831 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1525/0.1578, allocations: 146.6 MB / 1.026 GB, free: 14.19 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007359/0.1585, allocations: 23.81 kB / 1.026 GB, free: 14.17 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004907/0.159, allocations: 206.1 kB / 1.026 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.1603, allocations: 0.5939 MB / 1.027 GB, free: 13.37 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.1616, allocations: 0.8763 MB / 1.028 GB, free: 12.49 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0008919/0.1625, allocations: 1.513 MB / 1.029 GB, free: 10.96 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004986/0.163, allocations: 410.9 kB / 1.03 GB, free: 10.55 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005862/0.1636, allocations: 0.7641 MB / 1.03 GB, free: 9.781 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003676/0.164, allocations: 418.8 kB / 1.031 GB, free: 9.371 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.1641, allocations: 124 kB / 1.031 GB, free: 9.25 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005069/0.1646, allocations: 0.4993 MB / 1.031 GB, free: 8.75 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001995/0.1648, allocations: 322.9 kB / 1.032 GB, free: 8.434 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.1651, allocations: 411 kB / 1.032 GB, free: 8.031 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.1662, allocations: 1.3 MB / 1.033 GB, free: 6.727 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1662, allocations: 0 / 1.033 GB, free: 6.727 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1662, allocations: 0 / 1.033 GB, free: 6.727 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.1662, allocations: 0 / 1.033 GB, free: 6.727 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001547/0.1678, allocations: 1.558 MB / 1.035 GB, free: 5.121 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1678, allocations: 12.03 kB / 1.035 GB, free: 5.109 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008112/0.1686, allocations: 331.6 kB / 1.035 GB, free: 4.785 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000765/0.1694, allocations: 0.7402 MB / 1.036 GB, free: 4.02 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/0.1694, allocations: 82.05 kB / 1.036 GB, free: 3.941 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.362e-05/0.1695, allocations: 92 kB / 1.036 GB, free: 3.852 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009277/0.1704, allocations: 1.029 MB / 1.037 GB, free: 2.703 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.1705, allocations: 4 kB / 1.037 GB, free: 2.699 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-05/0.1705, allocations: 36 kB / 1.037 GB, free: 2.664 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.1705, allocations: 24 kB / 1.037 GB, free: 2.641 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008466/0.1714, allocations: 0.7997 MB / 1.038 GB, free: 1.84 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/0.1738, allocations: 2.376 MB / 1.04 GB, free: 15.4 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007582/0.1746, allocations: 0.5187 MB / 1.041 GB, free: 14.87 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.1748, allocations: 186.6 kB / 1.041 GB, free: 14.69 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.21e-05/0.1748, allocations: 28.98 kB / 1.041 GB, free: 14.66 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004695/0.1753, allocations: 0.4949 MB / 1.042 GB, free: 14.12 MB / 1.01 GB Notification: Performance of pre-optimization done (n=90): time 2.114e-06/0.1753, allocations: 0 / 1.042 GB, free: 14.12 MB / 1.01 GB Notification: Performance of matching and sorting (n=90): time 0.00153/0.1768, allocations: 0.8704 MB / 1.042 GB, free: 13.24 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.1769, allocations: 196.9 kB / 1.043 GB, free: 13 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004653/0.1774, allocations: 0.5933 MB / 1.043 GB, free: 12.39 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.1774, allocations: 49.7 kB / 1.043 GB, free: 12.34 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.1776, allocations: 463.9 kB / 1.044 GB, free: 11.88 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.1778, allocations: 305.4 kB / 1.044 GB, free: 11.58 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.178, allocations: 192.2 kB / 1.044 GB, free: 11.38 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1781, allocations: 0.5702 MB / 1.045 GB, free: 10.8 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.1784, allocations: 145.9 kB / 1.045 GB, free: 10.66 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.1787, allocations: 397.8 kB / 1.045 GB, free: 10.22 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005201/0.1792, allocations: 403.1 kB / 1.046 GB, free: 9.809 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1792, allocations: 0 / 1.046 GB, free: 9.809 MB / 1.01 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0009958/0.1802, allocations: 0.6996 MB / 1.046 GB, free: 9.098 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1802, allocations: 6.5 kB / 1.046 GB, free: 9.094 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1802, allocations: 4 kB / 1.046 GB, free: 9.09 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004525/0.1807, allocations: 131.7 kB / 1.046 GB, free: 8.957 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004691/0.1812, allocations: 179.8 kB / 1.047 GB, free: 8.781 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.1824, allocations: 1.916 MB / 1.048 GB, free: 6.738 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.1826, allocations: 79.55 kB / 1.049 GB, free: 6.66 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-05/0.1827, allocations: 43.97 kB / 1.049 GB, free: 6.617 MB / 1.01 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 (110): * Single equations (assignments): 109 * 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.0001947/0.1829, allocations: 219 kB / 1.049 GB, free: 6.395 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.183, allocations: 123.4 kB / 1.049 GB, free: 6.273 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.1842, allocations: 0.8462 MB / 1.05 GB, free: 5.41 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.1842, allocations: 16 kB / 1.05 GB, free: 5.395 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.1842, allocations: 0 / 1.05 GB, free: 5.395 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.1842, allocations: 7.969 kB / 1.05 GB, free: 5.387 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.186, allocations: 1.663 MB / 1.051 GB, free: 3.668 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.186, allocations: 4 kB / 1.051 GB, free: 3.664 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.1863, allocations: 155.7 kB / 1.052 GB, free: 3.512 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003317/0.1867, allocations: 115.6 kB / 1.052 GB, free: 3.395 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.1867, allocations: 23.98 kB / 1.052 GB, free: 3.371 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.1878, allocations: 1.929 MB / 1.054 GB, free: 1.312 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1878, allocations: 4.031 kB / 1.054 GB, free: 1.309 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.1891, allocations: 1.066 MB / 1.055 GB, free: 224 kB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002273/0.1893, allocations: 195.1 kB / 1.055 GB, free: 28 kB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.3928/0.5821, allocations: 30.58 kB / 1.055 GB, free: 73.58 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004784/0.5826, allocations: 47.5 kB / 1.055 GB, free: 73.58 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.5827, allocations: 77.72 kB / 1.055 GB, free: 73.58 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.813e-05/0.5828, allocations: 34.66 kB / 1.055 GB, free: 73.58 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003577/0.5831, allocations: 404.8 kB / 1.055 GB, free: 73.45 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.5831, allocations: 0 / 1.055 GB, free: 73.45 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007652/0.5839, allocations: 349.4 kB / 1.056 GB, free: 73.45 MB / 1.01 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 (100): * Single equations (assignments): 89 * 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.001246/0.5851, allocations: 0.6292 MB / 1.056 GB, free: 73.32 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009605/0.5861, allocations: 0.6849 MB / 1.057 GB, free: 73.14 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.5861, allocations: 0 / 1.057 GB, free: 73.14 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000421/0.5865, allocations: 496.6 kB / 1.057 GB, free: 72.95 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007099/0.5872, allocations: 314.7 kB / 1.058 GB, free: 72.94 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.5894, allocations: 1.637 MB / 1.059 GB, free: 72.23 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.683e-05/0.5895, allocations: 202 kB / 1.06 GB, free: 72.15 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004387/0.59, allocations: 261.2 kB / 1.06 GB, free: 72.12 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.5901, allocations: 113.9 kB / 1.06 GB, free: 72.12 MB / 1.01 GB Notification: Performance of SimCode: time 7.82e-07/0.5901, allocations: 0.6562 kB / 1.06 GB, free: 72.12 MB / 1.01 GB Notification: Performance of Templates: time 0.01691/0.6071, allocations: 15.97 MB / 1.075 GB, free: 70.69 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.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: 6.471980850212276]