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.0009314/0.0009314, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.0009744/0.0009744, allocations: 169 kB / 24.06 MB, free: 452 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.9824/0.9824, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.14/2.14, allocations: 429.5 MB / 0.6743 GB, free: 3.875 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 2.505e-06/2.505e-06, allocations: 0 / 0.8793 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.2e-05, allocations: 2.312 kB / 0.8793 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1432/0.1432, allocations: 144.9 MB / 1.021 GB, free: 4.656 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.003657/0.1469, allocations: 2.893 MB / 1.024 GB, free: 1.758 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002596/0.1471, allocations: 27.81 kB / 1.024 GB, free: 1.73 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.000554/0.1477, allocations: 214.6 kB / 1.024 GB, free: 1.52 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.1487, allocations: 0.7576 MB / 1.025 GB, free: 0.7578 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005356/0.1493, allocations: 422.8 kB / 1.025 GB, free: 352 kB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0008883/0.1502, allocations: 1.144 MB / 1.026 GB, free: 15.2 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003113/0.1505, allocations: 293.2 kB / 1.026 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.1516, allocations: 0.709 MB / 1.027 GB, free: 14.23 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003486/0.152, allocations: 315 kB / 1.027 GB, free: 13.92 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.564e-05/0.152, allocations: 40 kB / 1.027 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003834/0.1524, allocations: 339.1 kB / 1.028 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.1525, allocations: 175.4 kB / 1.028 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.1527, allocations: 183.5 kB / 1.028 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006628/0.1533, allocations: 0.5917 MB / 1.029 GB, free: 12.61 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1533, allocations: 0 / 1.029 GB, free: 12.61 MB / 0.9948 GB Notification: Performance of FrontEnd: time 8.82e-07/0.1533, allocations: 0 / 1.029 GB, free: 12.61 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.1533, allocations: 0 / 1.029 GB, free: 12.61 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.001008/0.1543, allocations: 0.896 MB / 1.03 GB, free: 11.67 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.1544, allocations: 8.031 kB / 1.03 GB, free: 11.66 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005916/0.155, allocations: 184.3 kB / 1.03 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005206/0.1555, allocations: 429.1 kB / 1.03 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.1555, allocations: 24.78 kB / 1.03 GB, free: 11.02 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.1556, allocations: 39.95 kB / 1.03 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.1559, allocations: 342.1 kB / 1.031 GB, free: 10.6 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.1559, allocations: 3.984 kB / 1.031 GB, free: 10.6 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.1559, allocations: 15.98 kB / 1.031 GB, free: 10.58 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.1559, allocations: 12.66 kB / 1.031 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.1561, allocations: 91.12 kB / 1.031 GB, free: 10.48 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.0009403/0.157, allocations: 0.9006 MB / 1.032 GB, free: 9.547 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.1572, allocations: 144.4 kB / 1.032 GB, free: 9.395 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.68e-05/0.1573, allocations: 51.66 kB / 1.032 GB, free: 9.34 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.1573, allocations: 8 kB / 1.032 GB, free: 9.332 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.1575, allocations: 219.8 kB / 1.032 GB, free: 9.078 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=26): time 1.643e-06/0.1575, allocations: 0 / 1.032 GB, free: 9.078 MB / 0.9948 GB Notification: Performance of matching and sorting (n=29): time 0.00126/0.1587, allocations: 0.7017 MB / 1.033 GB, free: 8.332 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.1588, allocations: 55.41 kB / 1.033 GB, free: 8.266 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.159, allocations: 442.4 kB / 1.033 GB, free: 7.812 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.1591, allocations: 37.64 kB / 1.033 GB, free: 7.77 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.1592, allocations: 295.2 kB / 1.033 GB, free: 7.477 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.184e-05/0.1592, allocations: 107.1 kB / 1.034 GB, free: 7.371 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.113e-05/0.1593, allocations: 83.64 kB / 1.034 GB, free: 7.281 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1595, allocations: 0.5468 MB / 1.034 GB, free: 6.723 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.95e-05/0.1595, allocations: 40.72 kB / 1.034 GB, free: 6.684 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.1596, allocations: 119.6 kB / 1.034 GB, free: 6.543 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.1598, allocations: 176.8 kB / 1.034 GB, free: 6.348 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1598, allocations: 0 / 1.034 GB, free: 6.348 MB / 0.9948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004021/0.1602, allocations: 325.2 kB / 1.035 GB, free: 6.02 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.1602, allocations: 4 kB / 1.035 GB, free: 6.016 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1602, allocations: 7.984 kB / 1.035 GB, free: 6.008 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000233/0.1604, allocations: 79.78 kB / 1.035 GB, free: 5.926 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.1606, allocations: 67.91 kB / 1.035 GB, free: 5.859 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.1617, allocations: 2.103 MB / 1.037 GB, free: 3.645 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.1619, allocations: 15.98 kB / 1.037 GB, free: 3.629 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.1619, allocations: 12 kB / 1.037 GB, free: 3.617 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.0001174/0.162, allocations: 178.8 kB / 1.037 GB, free: 3.434 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.1621, allocations: 55.72 kB / 1.037 GB, free: 3.379 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.1624, allocations: 281.7 kB / 1.038 GB, free: 3.09 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1624, allocations: 4 kB / 1.038 GB, free: 3.086 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1625, allocations: 0 / 1.038 GB, free: 3.086 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1625, allocations: 0 / 1.038 GB, free: 3.086 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000704/0.1632, allocations: 0.6814 MB / 1.038 GB, free: 2.367 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1632, allocations: 0 / 1.038 GB, free: 2.367 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.1633, allocations: 63.91 kB / 1.038 GB, free: 2.305 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002015/0.1636, allocations: 83.59 kB / 1.038 GB, free: 2.219 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.1636, allocations: 7.984 kB / 1.038 GB, free: 2.211 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007356/0.1643, allocations: 1.796 MB / 1.04 GB, free: 308 kB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1643, allocations: 4.031 kB / 1.04 GB, free: 304 kB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004569/0.1648, allocations: 461.9 kB / 1.041 GB, free: 15.82 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 9.4e-05/0.1649, allocations: 79.62 kB / 1.041 GB, free: 15.74 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.1649, allocations: 12 kB / 1.041 GB, free: 15.73 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.165, allocations: 11.94 kB / 1.041 GB, free: 15.71 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.1651, allocations: 19.95 kB / 1.041 GB, free: 15.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.1651, allocations: 15.98 kB / 1.041 GB, free: 15.68 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001414/0.1652, allocations: 275 kB / 1.041 GB, free: 15.42 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.1652, allocations: 0 / 1.041 GB, free: 15.42 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003352/0.1656, allocations: 128 kB / 1.041 GB, free: 15.29 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.0008656/0.1664, allocations: 413.6 kB / 1.041 GB, free: 15.02 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000343/0.1668, allocations: 348.7 kB / 1.042 GB, free: 14.66 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1668, allocations: 0 / 1.042 GB, free: 14.66 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.1669, allocations: 265.6 kB / 1.042 GB, free: 14.38 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007616/0.1677, allocations: 244.8 kB / 1.042 GB, free: 14.15 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.1688, allocations: 0.8498 MB / 1.043 GB, free: 13.26 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.763e-05/0.1689, allocations: 141 kB / 1.043 GB, free: 13.1 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001615/0.1691, allocations: 68.34 kB / 1.043 GB, free: 13.04 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003015/0.1694, allocations: 234 kB / 1.044 GB, free: 12.8 MB / 1.01 GB Notification: Performance of SimCode: time 6.01e-07/0.1694, allocations: 0 / 1.044 GB, free: 12.8 MB / 1.01 GB Notification: Performance of Templates: time 0.01181/0.1812, allocations: 10.55 MB / 1.054 GB, free: 2.473 MB / 1.01 GB " [Timeout remaining time 300] 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: 6.288829329889268]