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.0007868/0.0007868, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001059/0.001846, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007792/0.0007792, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009196/0.001699, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0916/1.096, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.447/2.447, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2611/2.708, allocations: 145.9 MB / 0.817 GB, free: 4.219 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.683e-06/1.683e-06, allocations: 0 / 0.8183 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/2.997e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.934 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1431/0.1431, allocations: 147.5 MB / 0.9623 GB, free: 14.9 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004502/0.1476, allocations: 2.976 MB / 0.9652 GB, free: 11.91 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004592/0.148, allocations: 23.81 kB / 0.9652 GB, free: 11.89 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005265/0.1486, allocations: 210.7 kB / 0.9654 GB, free: 11.68 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.1499, allocations: 0.7537 MB / 0.9661 GB, free: 10.93 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007701/0.1507, allocations: 430.7 kB / 0.9665 GB, free: 10.5 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001154/0.1519, allocations: 1.117 MB / 0.9676 GB, free: 9.387 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000729/0.1526, allocations: 309.3 kB / 0.9679 GB, free: 9.082 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.1537, allocations: 0.7227 MB / 0.9686 GB, free: 8.375 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004025/0.1541, allocations: 307 kB / 0.9689 GB, free: 8.074 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.697e-05/0.1542, allocations: 40 kB / 0.969 GB, free: 8.035 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000663/0.1548, allocations: 335.1 kB / 0.9693 GB, free: 7.707 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.155, allocations: 155.5 kB / 0.9694 GB, free: 7.555 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.1551, allocations: 151.7 kB / 0.9696 GB, free: 7.406 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000856/0.156, allocations: 0.5411 MB / 0.9701 GB, free: 6.863 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.635e-05/0.156, allocations: 0 / 0.9701 GB, free: 6.863 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.723e-06/0.156, allocations: 0 / 0.9701 GB, free: 6.863 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.308e-05/0.156, allocations: 4 kB / 0.9701 GB, free: 6.859 MB / 0.948 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.001217/0.1573, allocations: 0.8725 MB / 0.971 GB, free: 5.961 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.1573, allocations: 8.625 kB / 0.971 GB, free: 5.953 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006467/0.1579, allocations: 249.6 kB / 0.9712 GB, free: 5.691 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005295/0.1585, allocations: 386.4 kB / 0.9716 GB, free: 5.289 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.1585, allocations: 24.78 kB / 0.9716 GB, free: 5.266 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.1585, allocations: 36 kB / 0.9716 GB, free: 5.23 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.1589, allocations: 347.3 kB / 0.972 GB, free: 4.848 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1589, allocations: 0 / 0.972 GB, free: 4.848 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.1589, allocations: 12 kB / 0.972 GB, free: 4.836 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/0.1589, allocations: 8.656 kB / 0.972 GB, free: 4.828 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.1591, allocations: 105.9 kB / 0.9721 GB, free: 4.723 MB / 0.948 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.0009948/0.1601, allocations: 0.6749 MB / 0.9728 GB, free: 4.027 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.1603, allocations: 172.7 kB / 0.9729 GB, free: 3.848 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.248e-05/0.1603, allocations: 44.84 kB / 0.973 GB, free: 3.801 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.1603, allocations: 4 kB / 0.973 GB, free: 3.797 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001948/0.1605, allocations: 225.3 kB / 0.9732 GB, free: 3.539 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 1.844e-06/0.1605, allocations: 4 kB / 0.9732 GB, free: 3.535 MB / 0.948 GB Notification: Performance of matching and sorting (n=29): time 0.001422/0.1619, allocations: 0.6741 MB / 0.9738 GB, free: 2.82 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.162, allocations: 63.34 kB / 0.9739 GB, free: 2.746 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.1622, allocations: 370.1 kB / 0.9743 GB, free: 2.371 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.1622, allocations: 29.7 kB / 0.9743 GB, free: 2.336 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.1624, allocations: 197.4 kB / 0.9745 GB, free: 2.137 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.592e-05/0.1624, allocations: 107.1 kB / 0.9746 GB, free: 2.031 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.919e-05/0.1625, allocations: 70.03 kB / 0.9746 GB, free: 1.957 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1626, allocations: 366.7 kB / 0.975 GB, free: 1.59 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.936e-05/0.1627, allocations: 39.56 kB / 0.975 GB, free: 1.551 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-05/0.1628, allocations: 90.3 kB / 0.9751 GB, free: 1.445 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.1629, allocations: 165.5 kB / 0.9753 GB, free: 1.266 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1629, allocations: 0 / 0.9753 GB, free: 1.266 MB / 0.948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003552/0.1633, allocations: 264.5 kB / 0.9755 GB, free: 0.9961 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1633, allocations: 4 kB / 0.9755 GB, free: 0.9922 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1633, allocations: 0 / 0.9755 GB, free: 0.9922 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000237/0.1636, allocations: 91.61 kB / 0.9756 GB, free: 0.8984 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.1637, allocations: 75.89 kB / 0.9757 GB, free: 0.8242 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.1649, allocations: 1.549 MB / 0.9772 GB, free: 15.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.1651, allocations: 11.94 kB / 0.9772 GB, free: 15.17 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.1651, allocations: 12.05 kB / 0.9772 GB, free: 15.16 MB / 0.9636 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.0001622/0.1653, allocations: 146.5 kB / 0.9774 GB, free: 15.01 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.1653, allocations: 35.97 kB / 0.9774 GB, free: 14.97 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/0.1657, allocations: 229.7 kB / 0.9776 GB, free: 14.74 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1657, allocations: 15.95 kB / 0.9776 GB, free: 14.72 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.1657, allocations: 0 / 0.9776 GB, free: 14.72 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1657, allocations: 0 / 0.9776 GB, free: 14.72 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006961/0.1664, allocations: 0.5617 MB / 0.9782 GB, free: 14.13 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1664, allocations: 8.109 kB / 0.9782 GB, free: 14.12 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.1667, allocations: 102.7 kB / 0.9783 GB, free: 14.02 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.1668, allocations: 59.64 kB / 0.9783 GB, free: 13.96 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002096/0.167, allocations: 83.59 kB / 0.9784 GB, free: 13.88 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.167, allocations: 8 kB / 0.9784 GB, free: 13.87 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008967/0.1679, allocations: 1.255 MB / 0.9797 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1679, allocations: 0 / 0.9797 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004055/0.1683, allocations: 406 kB / 0.98 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.1684, allocations: 12 kB / 0.9801 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.1685, allocations: 8 kB / 0.9801 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.1685, allocations: 19.95 kB / 0.9801 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.1686, allocations: 11.98 kB / 0.9801 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001393/0.1687, allocations: 156.7 kB / 0.9802 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.1687, allocations: 0 / 0.9802 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003723/0.1691, allocations: 124 kB / 0.9804 GB, free: 11.77 MB / 0.9636 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.001407/0.1705, allocations: 0.5658 MB / 0.9809 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004055/0.1709, allocations: 294.8 kB / 0.9812 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.719e-05/0.1709, allocations: 4 kB / 0.9812 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.1711, allocations: 203.8 kB / 0.9814 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007239/0.1718, allocations: 302.4 kB / 0.9817 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004069/0.1759, allocations: 0.8313 MB / 0.9825 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.176, allocations: 141.1 kB / 0.9826 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002538/0.1762, allocations: 68.34 kB / 0.9827 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/0.1765, allocations: 193.2 kB / 0.9829 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of SimCode: time 1.643e-06/0.1765, allocations: 0 / 0.9829 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of Templates: time 0.01448/0.191, allocations: 10.88 MB / 0.9935 GB, free: 14.76 MB / 0.9792 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.ref.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.85393600910902]