Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001027/0.001027, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004393/0.00542, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009154/0.0009154, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001786/0.002702, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9498/0.9498, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08271/1.033, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.798/1.798, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5031/2.301, allocations: 123.3 MB / 0.7283 GB, free: 5.742 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_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_12_Buildings.Examples.Tutorial.Boiler.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.7296 GB, free: 4.461 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.807e-05, allocations: 5.844 kB / 0.7296 GB, free: 4.457 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1548/0.1548, allocations: 147.5 MB / 0.8736 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00458/0.1594, allocations: 2.979 MB / 0.8765 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005854/0.16, allocations: 23.81 kB / 0.8766 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006483/0.1606, allocations: 210.6 kB / 0.8768 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001564/0.1622, allocations: 0.7575 MB / 0.8775 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008023/0.163, allocations: 418.7 kB / 0.8779 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001396/0.1644, allocations: 1.124 MB / 0.879 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007545/0.1651, allocations: 307.8 kB / 0.8793 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.1663, allocations: 0.7094 MB / 0.88 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003996/0.1667, allocations: 299.1 kB / 0.8803 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.919e-05/0.1667, allocations: 36 kB / 0.8803 GB, free: 9.855 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00062/0.1673, allocations: 339 kB / 0.8806 GB, free: 9.523 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.1675, allocations: 159.5 kB / 0.8808 GB, free: 9.367 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.1676, allocations: 147.7 kB / 0.8809 GB, free: 9.223 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007683/0.1684, allocations: 0.545 MB / 0.8814 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.345e-05/0.1684, allocations: 0 / 0.8814 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.893e-06/0.1684, allocations: 0 / 0.8814 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.1684, allocations: 4 kB / 0.8814 GB, free: 8.672 MB / 0.8542 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.001046/0.1695, allocations: 0.8647 MB / 0.8823 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1695, allocations: 8.031 kB / 0.8823 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006557/0.1702, allocations: 253.6 kB / 0.8825 GB, free: 7.508 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004806/0.1706, allocations: 366.5 kB / 0.8829 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.1707, allocations: 32.78 kB / 0.8829 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.1707, allocations: 39.97 kB / 0.883 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.171, allocations: 343.3 kB / 0.8833 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.171, allocations: 0 / 0.8833 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.1711, allocations: 15.98 kB / 0.8833 GB, free: 6.656 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.1711, allocations: 8.656 kB / 0.8833 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.1712, allocations: 89.98 kB / 0.8834 GB, free: 6.559 MB / 0.8542 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.0009855/0.1722, allocations: 0.6748 MB / 0.8841 GB, free: 5.863 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.1724, allocations: 164.1 kB / 0.8842 GB, free: 5.691 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.632e-05/0.1725, allocations: 45.27 kB / 0.8843 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.1725, allocations: 19.88 kB / 0.8843 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.1727, allocations: 212.9 kB / 0.8845 GB, free: 5.379 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=26): time 2.414e-06/0.1727, allocations: 0 / 0.8845 GB, free: 5.379 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29): time 0.001448/0.1741, allocations: 0.6776 MB / 0.8851 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.1742, allocations: 55.41 kB / 0.8852 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.1744, allocations: 374.1 kB / 0.8855 GB, free: 4.215 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.1745, allocations: 33.7 kB / 0.8856 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.979e-05/0.1745, allocations: 197.4 kB / 0.8858 GB, free: 3.98 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.253e-05/0.1746, allocations: 111.1 kB / 0.8859 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.988e-05/0.1747, allocations: 74.02 kB / 0.8859 GB, free: 3.793 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1748, allocations: 358.7 kB / 0.8863 GB, free: 3.434 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-05/0.1749, allocations: 43.56 kB / 0.8863 GB, free: 3.391 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.032e-05/0.175, allocations: 102.6 kB / 0.8864 GB, free: 3.273 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.1751, allocations: 172.5 kB / 0.8866 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1751, allocations: 0 / 0.8866 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000354/0.1755, allocations: 268.5 kB / 0.8868 GB, free: 2.812 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1755, allocations: 4 kB / 0.8869 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.1755, allocations: 4 kB / 0.8869 GB, free: 2.805 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000234/0.1757, allocations: 83.61 kB / 0.8869 GB, free: 2.719 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.1759, allocations: 75.91 kB / 0.887 GB, free: 2.645 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/0.177, allocations: 1.565 MB / 0.8885 GB, free: 0.9844 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.1772, allocations: 20.08 kB / 0.8886 GB, free: 0.9648 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.1772, allocations: 12 kB / 0.8886 GB, free: 0.9531 MB / 0.8542 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 {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.1773, allocations: 148.5 kB / 0.8887 GB, free: 0.7969 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/0.1773, allocations: 35.97 kB / 0.8887 GB, free: 0.7617 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004851/0.1778, allocations: 230.2 kB / 0.889 GB, free: 0.5234 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1778, allocations: 4 kB / 0.889 GB, free: 0.5195 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.1778, allocations: 0 / 0.889 GB, free: 0.5195 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1778, allocations: 3.984 kB / 0.889 GB, free: 0.5156 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006766/0.1785, allocations: 0.57 MB / 0.8895 GB, free: 15.91 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1785, allocations: 4 kB / 0.8895 GB, free: 15.91 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002834/0.1788, allocations: 94.69 kB / 0.8896 GB, free: 15.82 MB / 0.8699 GB Notification: Performance of postOpt removeConstants (simulation): time 8.843e-05/0.1789, allocations: 59.7 kB / 0.8897 GB, free: 15.76 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001933/0.1791, allocations: 83.53 kB / 0.8898 GB, free: 15.67 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.1791, allocations: 8 kB / 0.8898 GB, free: 15.66 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006752/0.1798, allocations: 1.259 MB / 0.891 GB, free: 14.31 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1798, allocations: 0 / 0.891 GB, free: 14.31 MB / 0.8699 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.1802, allocations: 402.1 kB / 0.8914 GB, free: 13.89 MB / 0.8699 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.1802, allocations: 15.92 kB / 0.8914 GB, free: 13.88 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.1803, allocations: 11.94 kB / 0.8914 GB, free: 13.86 MB / 0.8699 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.1804, allocations: 23.95 kB / 0.8914 GB, free: 13.84 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.1804, allocations: 4 kB / 0.8914 GB, free: 13.84 MB / 0.8699 GB Notification: Performance of sorting global known variables: time 0.0001162/0.1805, allocations: 148.7 kB / 0.8916 GB, free: 13.69 MB / 0.8699 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1805, allocations: 0 / 0.8916 GB, free: 13.69 MB / 0.8699 GB Notification: Performance of remove unused functions: time 0.0003353/0.1809, allocations: 128 kB / 0.8917 GB, free: 13.57 MB / 0.8699 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.001368/0.1822, allocations: 0.5804 MB / 0.8923 GB, free: 13.26 MB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 0.0007122/0.1829, allocations: 314.5 kB / 0.8926 GB, free: 12.94 MB / 0.8699 GB Notification: Performance of simCode: created event and clocks part: time 1.606e-05/0.183, allocations: 7.984 kB / 0.8926 GB, free: 12.93 MB / 0.8699 GB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.1831, allocations: 211.8 kB / 0.8928 GB, free: 12.71 MB / 0.8699 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009923/0.1841, allocations: 1.523 MB / 0.8943 GB, free: 10.91 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003134/0.1873, allocations: 0.8328 MB / 0.8951 GB, free: 10.04 MB / 0.8699 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.1874, allocations: 141.2 kB / 0.8952 GB, free: 9.875 MB / 0.8699 GB Notification: Performance of simCode: alias equations: time 0.0002211/0.1876, allocations: 64.36 kB / 0.8953 GB, free: 9.812 MB / 0.8699 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003039/0.1879, allocations: 197.2 kB / 0.8955 GB, free: 9.621 MB / 0.8699 GB Notification: Performance of SimCode: time 9.72e-07/0.1879, allocations: 0 / 0.8955 GB, free: 9.621 MB / 0.8699 GB Notification: Performance of Templates: time 0.01406/0.2019, allocations: 10.85 MB / 0.906 GB, free: 15.02 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_12_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.455443382263184]