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.001048/0.001048, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001117/0.001117, allocations: 173 kB / 23.49 MB, free: 1.055 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.95/0.95, allocations: 177.1 MB / 203.8 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.052/2.052, allocations: 429.5 MB / 0.6736 GB, free: 4.004 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.303e-06/1.303e-06, allocations: 0 / 0.8781 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.613e-05, allocations: 5.5 kB / 0.8781 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1419/0.1419, allocations: 159 MB / 1.033 GB, free: 7.086 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004342/0.1463, allocations: 3.547 MB / 1.037 GB, free: 3.531 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002769/0.1466, allocations: 23.81 kB / 1.037 GB, free: 3.508 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007313/0.1473, allocations: 282.3 kB / 1.037 GB, free: 3.23 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001493/0.1488, allocations: 0.9521 MB / 1.038 GB, free: 2.273 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006612/0.1494, allocations: 462.5 kB / 1.039 GB, free: 1.82 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001141/0.1506, allocations: 1.148 MB / 1.04 GB, free: 0.668 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003322/0.1509, allocations: 292.7 kB / 1.04 GB, free: 392 kB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007378/0.1517, allocations: 0.5882 MB / 1.041 GB, free: 15.79 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006772/0.1523, allocations: 338.1 kB / 1.041 GB, free: 15.47 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 5.863e-05/0.1524, allocations: 44 kB / 1.041 GB, free: 15.43 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007379/0.1531, allocations: 0.5842 MB / 1.041 GB, free: 14.84 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.1533, allocations: 187.4 kB / 1.042 GB, free: 14.66 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.1535, allocations: 191.5 kB / 1.042 GB, free: 14.47 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0008528/0.1543, allocations: 0.7086 MB / 1.043 GB, free: 13.76 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1543, allocations: 0 / 1.043 GB, free: 13.76 MB / 1.01 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1543, allocations: 0 / 1.043 GB, free: 13.76 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.1543, allocations: 4 kB / 1.043 GB, free: 13.76 MB / 1.01 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.001099/0.1554, allocations: 0.9148 MB / 1.043 GB, free: 12.8 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1555, allocations: 12.03 kB / 1.043 GB, free: 12.79 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008809/0.1564, allocations: 183.4 kB / 1.044 GB, free: 12.61 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000609/0.157, allocations: 468.9 kB / 1.044 GB, free: 12.13 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.157, allocations: 24.64 kB / 1.044 GB, free: 12.11 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.252e-05/0.1571, allocations: 32 kB / 1.044 GB, free: 12.07 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/0.1575, allocations: 354.2 kB / 1.044 GB, free: 11.69 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1575, allocations: 0 / 1.044 GB, free: 11.69 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.001e-05/0.1576, allocations: 12 kB / 1.044 GB, free: 11.68 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.1576, allocations: 12.66 kB / 1.044 GB, free: 11.66 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002544/0.1578, allocations: 123.8 kB / 1.045 GB, free: 11.54 MB / 1.01 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.001327/0.1592, allocations: 0.9665 MB / 1.046 GB, free: 10.54 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.1594, allocations: 156 kB / 1.046 GB, free: 10.37 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1595, allocations: 63.66 kB / 1.046 GB, free: 10.3 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.1595, allocations: 7.938 kB / 1.046 GB, free: 10.3 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/0.1598, allocations: 228.2 kB / 1.046 GB, free: 10.04 MB / 1.01 GB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.1598, allocations: 0 / 1.046 GB, free: 10.04 MB / 1.01 GB Notification: Performance of matching and sorting (n=29): time 0.001797/0.1616, allocations: 0.8098 MB / 1.047 GB, free: 9.18 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.1616, allocations: 55.41 kB / 1.047 GB, free: 9.113 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004086/0.162, allocations: 454.6 kB / 1.047 GB, free: 8.652 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.162, allocations: 37.7 kB / 1.047 GB, free: 8.609 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.1622, allocations: 299.2 kB / 1.048 GB, free: 8.312 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.9e-05/0.1623, allocations: 107.1 kB / 1.048 GB, free: 8.207 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.1624, allocations: 79.67 kB / 1.048 GB, free: 8.121 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.1626, allocations: 0.5313 MB / 1.048 GB, free: 7.578 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.1627, allocations: 60.7 kB / 1.048 GB, free: 7.52 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.1628, allocations: 131.6 kB / 1.048 GB, free: 7.367 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.1631, allocations: 208.9 kB / 1.049 GB, free: 7.141 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1631, allocations: 0 / 1.049 GB, free: 7.141 MB / 1.01 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006174/0.1637, allocations: 349.2 kB / 1.049 GB, free: 6.789 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1638, allocations: 12.09 kB / 1.049 GB, free: 6.777 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1638, allocations: 4 kB / 1.049 GB, free: 6.773 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003218/0.1641, allocations: 91.55 kB / 1.049 GB, free: 6.68 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.1643, allocations: 63.91 kB / 1.049 GB, free: 6.617 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.1656, allocations: 2.133 MB / 1.051 GB, free: 4.363 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.1658, allocations: 8 kB / 1.051 GB, free: 4.355 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.1658, allocations: 15.98 kB / 1.051 GB, free: 4.34 MB / 1.01 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.0001304/0.1659, allocations: 180.5 kB / 1.051 GB, free: 4.152 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.999e-05/0.166, allocations: 51.72 kB / 1.051 GB, free: 4.102 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005396/0.1665, allocations: 302.5 kB / 1.052 GB, free: 3.797 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1666, allocations: 7.938 kB / 1.052 GB, free: 3.789 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1666, allocations: 4 kB / 1.052 GB, free: 3.785 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1666, allocations: 4 kB / 1.052 GB, free: 3.781 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009934/0.1676, allocations: 0.7552 MB / 1.053 GB, free: 2.98 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1676, allocations: 0 / 1.053 GB, free: 2.98 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.1678, allocations: 59.97 kB / 1.053 GB, free: 2.922 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002493/0.1681, allocations: 79.61 kB / 1.053 GB, free: 2.84 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.1681, allocations: 11.92 kB / 1.053 GB, free: 2.828 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.1691, allocations: 1.818 MB / 1.054 GB, free: 0.8828 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1691, allocations: 0 / 1.054 GB, free: 0.8828 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006417/0.1698, allocations: 497.1 kB / 1.055 GB, free: 376 kB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.1699, allocations: 79.7 kB / 1.055 GB, free: 296 kB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.1699, allocations: 12 kB / 1.055 GB, free: 284 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.1701, allocations: 14.05 kB / 1.055 GB, free: 272 kB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/0.1702, allocations: 23.84 kB / 1.055 GB, free: 248 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.1702, allocations: 19.98 kB / 1.055 GB, free: 228 kB / 1.01 GB Notification: Performance of sorting global known variables: time 0.4631/0.6334, allocations: 287.5 kB / 1.055 GB, free: 61.12 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6334, allocations: 0 / 1.055 GB, free: 61.12 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005662/0.6339, allocations: 129.7 kB / 1.055 GB, free: 61.12 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.0009415/0.6349, allocations: 400.5 kB / 1.056 GB, free: 61 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005348/0.6354, allocations: 375.6 kB / 1.056 GB, free: 60.82 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.6354, allocations: 1.219 kB / 1.056 GB, free: 60.82 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.6356, allocations: 273.9 kB / 1.056 GB, free: 60.63 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006895/0.6363, allocations: 252 kB / 1.057 GB, free: 60.62 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.6377, allocations: 0.8519 MB / 1.058 GB, free: 60.24 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.382e-05/0.6378, allocations: 129.8 kB / 1.058 GB, free: 60.17 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002312/0.638, allocations: 77.22 kB / 1.058 GB, free: 60.16 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.796e-05/0.6381, allocations: 40.5 kB / 1.058 GB, free: 60.16 MB / 1.01 GB Notification: Performance of SimCode: time 9.81e-07/0.6381, allocations: 2.75 kB / 1.058 GB, free: 60.16 MB / 1.01 GB Notification: Performance of Templates: time 0.01071/0.6488, allocations: 9.695 MB / 1.067 GB, free: 59.45 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: 6.060106961987913]