Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.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.001382/0.001382, allocations: 93.06 kB / 19.65 MB, free: 276 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.001606/0.001606, allocations: 169 kB / 23.02 MB, free: 1.547 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.9254/0.9254, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.067/2.067, allocations: 429.5 MB / 0.6732 GB, free: 4.055 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.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 5.031 kB / 0.8781 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.988e-05/2.139e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1429/0.1429, allocations: 147.6 MB / 1.022 GB, free: 2.207 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.003461/0.1464, allocations: 2.925 MB / 1.025 GB, free: 15.28 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003017/0.1467, allocations: 27.75 kB / 1.025 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000576/0.1473, allocations: 214.6 kB / 1.025 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.1484, allocations: 0.7615 MB / 1.026 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006103/0.149, allocations: 422.8 kB / 1.027 GB, free: 13.86 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0009394/0.15, allocations: 1.14 MB / 1.028 GB, free: 12.71 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000317/0.1503, allocations: 289.2 kB / 1.028 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.1514, allocations: 0.7166 MB / 1.029 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000345/0.1517, allocations: 315 kB / 1.029 GB, free: 11.44 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.928e-05/0.1518, allocations: 40 kB / 1.029 GB, free: 11.4 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004092/0.1522, allocations: 331.1 kB / 1.029 GB, free: 11.07 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.1523, allocations: 183.4 kB / 1.029 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.1525, allocations: 175.5 kB / 1.03 GB, free: 10.72 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006202/0.1531, allocations: 0.5995 MB / 1.03 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1531, allocations: 0 / 1.03 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1531, allocations: 0 / 1.03 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.1531, allocations: 0 / 1.03 GB, free: 10.12 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009414/0.1541, allocations: 0.8883 MB / 1.031 GB, free: 9.195 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.1541, allocations: 16.03 kB / 1.031 GB, free: 9.18 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000563/0.1546, allocations: 176.3 kB / 1.031 GB, free: 9.008 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004901/0.1551, allocations: 445 kB / 1.032 GB, free: 8.551 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.1552, allocations: 24.78 kB / 1.032 GB, free: 8.523 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.1552, allocations: 35.95 kB / 1.032 GB, free: 8.488 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.1556, allocations: 354.2 kB / 1.032 GB, free: 8.102 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.1556, allocations: 3.938 kB / 1.032 GB, free: 8.098 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.1556, allocations: 16 kB / 1.032 GB, free: 8.082 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.1556, allocations: 12.64 kB / 1.032 GB, free: 8.07 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/0.1558, allocations: 119.8 kB / 1.032 GB, free: 7.953 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.1569, allocations: 0.9704 MB / 1.033 GB, free: 6.941 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.1572, allocations: 159.2 kB / 1.033 GB, free: 6.773 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.563e-05/0.1573, allocations: 63.66 kB / 1.033 GB, free: 6.707 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.1573, allocations: 4 kB / 1.033 GB, free: 6.703 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.1575, allocations: 219.8 kB / 1.034 GB, free: 6.449 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=26): time 1.663e-06/0.1575, allocations: 0 / 1.034 GB, free: 6.449 MB / 0.9948 GB Notification: Performance of matching and sorting (n=29): time 0.001459/0.1589, allocations: 0.8217 MB / 1.034 GB, free: 5.582 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.159, allocations: 55.41 kB / 1.034 GB, free: 5.516 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.1593, allocations: 442.7 kB / 1.035 GB, free: 5.066 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.1593, allocations: 37.7 kB / 1.035 GB, free: 5.023 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.1594, allocations: 303.2 kB / 1.035 GB, free: 4.723 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.435e-05/0.1595, allocations: 103.1 kB / 1.035 GB, free: 4.621 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.257e-05/0.1596, allocations: 83.66 kB / 1.035 GB, free: 4.531 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1597, allocations: 0.5313 MB / 1.036 GB, free: 3.988 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.607e-05/0.1598, allocations: 60.7 kB / 1.036 GB, free: 3.93 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.16, allocations: 131.6 kB / 1.036 GB, free: 3.777 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.1602, allocations: 196.9 kB / 1.036 GB, free: 3.562 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1602, allocations: 7.938 kB / 1.036 GB, free: 3.555 MB / 0.9948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004805/0.1607, allocations: 353.4 kB / 1.037 GB, free: 3.199 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1607, allocations: 4 kB / 1.037 GB, free: 3.195 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1607, allocations: 4 kB / 1.037 GB, free: 3.191 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003915/0.1611, allocations: 95.52 kB / 1.037 GB, free: 3.094 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.1612, allocations: 67.91 kB / 1.037 GB, free: 3.027 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/0.1623, allocations: 2.126 MB / 1.039 GB, free: 0.7812 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.1624, allocations: 19.95 kB / 1.039 GB, free: 0.7617 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.1625, allocations: 16 kB / 1.039 GB, free: 0.7461 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.1626, allocations: 174.9 kB / 1.039 GB, free: 0.5664 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.1626, allocations: 59.67 kB / 1.039 GB, free: 0.5078 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004266/0.1631, allocations: 297.7 kB / 1.039 GB, free: 212 kB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1631, allocations: 4 kB / 1.039 GB, free: 208 kB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.1631, allocations: 4 kB / 1.039 GB, free: 204 kB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1631, allocations: 0 / 1.039 GB, free: 204 kB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008303/0.1639, allocations: 0.7592 MB / 1.04 GB, free: 15.39 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1639, allocations: 4 kB / 1.04 GB, free: 15.39 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.1641, allocations: 63.91 kB / 1.04 GB, free: 15.33 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002039/0.1643, allocations: 79.61 kB / 1.04 GB, free: 15.25 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.1643, allocations: 11.98 kB / 1.04 GB, free: 15.23 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008259/0.1651, allocations: 1.818 MB / 1.042 GB, free: 13.29 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1651, allocations: 0 / 1.042 GB, free: 13.29 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005191/0.1657, allocations: 0.4935 MB / 1.043 GB, free: 12.77 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 9.715e-05/0.1658, allocations: 71.69 kB / 1.043 GB, free: 12.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.1658, allocations: 8 kB / 1.043 GB, free: 12.69 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.1659, allocations: 15.92 kB / 1.043 GB, free: 12.67 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.166, allocations: 23.95 kB / 1.043 GB, free: 12.65 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.166, allocations: 12 kB / 1.043 GB, free: 12.64 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001877/0.1662, allocations: 291 kB / 1.043 GB, free: 12.36 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.1662, allocations: 0 / 1.043 GB, free: 12.36 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003267/0.1665, allocations: 124 kB / 1.043 GB, free: 12.23 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008759/0.1674, allocations: 421.7 kB / 1.043 GB, free: 11.96 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005742/0.168, allocations: 368.7 kB / 1.044 GB, free: 11.58 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.168, allocations: 3.938 kB / 1.044 GB, free: 11.57 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.1681, allocations: 273.4 kB / 1.044 GB, free: 11.29 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006212/0.1688, allocations: 254.5 kB / 1.044 GB, free: 11.05 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.1701, allocations: 0.8576 MB / 1.045 GB, free: 10.15 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.813e-05/0.1701, allocations: 129.1 kB / 1.045 GB, free: 10 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001868/0.1703, allocations: 76.33 kB / 1.045 GB, free: 9.93 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.308e-05/0.1704, allocations: 36.5 kB / 1.045 GB, free: 9.895 MB / 1.01 GB Notification: Performance of SimCode: time 8.02e-07/0.1704, allocations: 4 kB / 1.045 GB, free: 9.891 MB / 1.01 GB Notification: Performance of Templates: time 0.3716/0.542, allocations: 10.17 MB / 1.055 GB, free: 78.05 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_Boiler_System1.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.974421010818332]