Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Delays.Examples.Delay.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.001031/0.001031, allocations: 83.69 kB / 20.45 MB, free: 4.125 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.0009299/0.0009299, allocations: 169 kB / 23.82 MB, free: 0.7539 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.9296/0.9296, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.868/1.868, allocations: 377.8 MB / 0.6236 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Delays.Examples.Delay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 0.8115 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.586e-05, allocations: 7.125 kB / 0.8115 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1336/0.1336, allocations: 149.4 MB / 0.9574 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.006269/0.1399, allocations: 3.803 MB / 0.9612 GB, free: 8.031 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007969/0.1407, allocations: 47.62 kB / 0.9612 GB, free: 7.984 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007952/0.1415, allocations: 222.3 kB / 0.9614 GB, free: 7.766 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001919/0.1434, allocations: 0.9052 MB / 0.9623 GB, free: 6.855 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.145, allocations: 0.783 MB / 0.9631 GB, free: 6.07 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002338/0.1474, allocations: 1.863 MB / 0.9649 GB, free: 4.199 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000642/0.148, allocations: 485.2 kB / 0.9653 GB, free: 3.711 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.1492, allocations: 0.8649 MB / 0.9662 GB, free: 2.84 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009444/0.1501, allocations: 0.5104 MB / 0.9667 GB, free: 2.336 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 9.825e-05/0.1502, allocations: 60 kB / 0.9667 GB, free: 2.277 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.1514, allocations: 0.7169 MB / 0.9674 GB, free: 1.559 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.1517, allocations: 291.1 kB / 0.9677 GB, free: 1.273 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002997/0.152, allocations: 275.4 kB / 0.968 GB, free: 1.004 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.1534, allocations: 0.9577 MB / 0.9689 GB, free: 44 kB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1534, allocations: 4 kB / 0.9689 GB, free: 40 kB / 0.9167 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1534, allocations: 0 / 0.9689 GB, free: 40 kB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.615e-06/0.1534, allocations: 0 / 0.9689 GB, free: 40 kB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001411/0.1548, allocations: 1.118 MB / 0.97 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1548, allocations: 12.03 kB / 0.97 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.1559, allocations: 280 kB / 0.9703 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008437/0.1568, allocations: 0.5745 MB / 0.9709 GB, free: 13.99 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.412e-05/0.1568, allocations: 37 kB / 0.9709 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.439e-05/0.1569, allocations: 52 kB / 0.9709 GB, free: 13.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006284/0.1575, allocations: 473.3 kB / 0.9714 GB, free: 13.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.1575, allocations: 0 / 0.9714 GB, free: 13.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.292e-05/0.1576, allocations: 16 kB / 0.9714 GB, free: 13.38 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.195e-05/0.1576, allocations: 24.94 kB / 0.9714 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003943/0.158, allocations: 177.9 kB / 0.9716 GB, free: 13.18 MB / 0.9323 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.00194/0.16, allocations: 1.234 MB / 0.9728 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.1604, allocations: 204.6 kB / 0.973 GB, free: 11.7 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.1605, allocations: 92.2 kB / 0.9731 GB, free: 11.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.1607, allocations: 24.27 kB / 0.9731 GB, free: 11.58 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.1607, allocations: 49.66 kB / 0.9732 GB, free: 11.52 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 1.904e-06/0.1607, allocations: 0 / 0.9732 GB, free: 11.52 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.0008496/0.1615, allocations: 315.9 kB / 0.9735 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.1616, allocations: 59.34 kB / 0.9735 GB, free: 11.14 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004571/0.162, allocations: 0.4909 MB / 0.974 GB, free: 10.63 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.1621, allocations: 29.7 kB / 0.974 GB, free: 10.59 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.1623, allocations: 375.1 kB / 0.9744 GB, free: 10.22 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9.227e-05/0.1624, allocations: 127 kB / 0.9745 GB, free: 10.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.1625, allocations: 79.62 kB / 0.9746 GB, free: 10.01 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1626, allocations: 0.543 MB / 0.9751 GB, free: 9.457 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.1628, allocations: 56.97 kB / 0.9752 GB, free: 9.398 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.163, allocations: 304.4 kB / 0.9755 GB, free: 9.031 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.1633, allocations: 165.3 kB / 0.9756 GB, free: 8.855 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1633, allocations: 0 / 0.9756 GB, free: 8.855 MB / 0.9323 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004304/0.1637, allocations: 265 kB / 0.9759 GB, free: 8.59 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1637, allocations: 14.91 kB / 0.9759 GB, free: 8.578 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1637, allocations: 0 / 0.9759 GB, free: 8.578 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.1637, allocations: 4 kB / 0.9759 GB, free: 8.574 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.164, allocations: 75.83 kB / 0.976 GB, free: 8.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.164, allocations: 7.938 kB / 0.976 GB, free: 8.492 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.1643, allocations: 27.78 kB / 0.976 GB, free: 8.465 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.1643, allocations: 12 kB / 0.976 GB, free: 8.453 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002004/0.1645, allocations: 182.8 kB / 0.9762 GB, free: 8.27 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002089/0.1647, allocations: 291.7 kB / 0.9765 GB, free: 7.914 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002672/0.165, allocations: 182.6 kB / 0.9766 GB, free: 7.719 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-06/0.165, allocations: 0 / 0.9766 GB, free: 7.719 MB / 0.9323 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006302/0.1656, allocations: 253.1 kB / 0.9769 GB, free: 7.465 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.846e-06/0.1656, allocations: 8 kB / 0.9769 GB, free: 7.457 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.1656, allocations: 0 / 0.9769 GB, free: 7.457 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.1e-06/0.1656, allocations: 4 kB / 0.9769 GB, free: 7.453 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.1658, allocations: 67.91 kB / 0.9769 GB, free: 7.387 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1658, allocations: 8.016 kB / 0.977 GB, free: 7.379 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.1661, allocations: 31.84 kB / 0.977 GB, free: 7.348 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.1661, allocations: 12 kB / 0.977 GB, free: 7.336 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.1662, allocations: 292 kB / 0.9773 GB, free: 7.043 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.203e-05/0.1663, allocations: 63.67 kB / 0.9773 GB, free: 6.98 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004283/0.1667, allocations: 258.9 kB / 0.9776 GB, free: 6.723 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-06/0.1667, allocations: 4 kB / 0.9776 GB, free: 6.719 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1667, allocations: 0 / 0.9776 GB, free: 6.719 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003066/0.1671, allocations: 281.7 kB / 0.9779 GB, free: 6.414 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.1682, allocations: 0.8864 MB / 0.9787 GB, free: 5.461 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1682, allocations: 4.062 kB / 0.9787 GB, free: 5.457 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002922/0.1685, allocations: 83.95 kB / 0.9788 GB, free: 5.375 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.1685, allocations: 7.938 kB / 0.9788 GB, free: 5.367 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.1685, allocations: 11.98 kB / 0.9788 GB, free: 5.355 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.1685, allocations: 3.938 kB / 0.9788 GB, free: 5.352 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1685, allocations: 8.188 kB / 0.9788 GB, free: 5.344 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005953/0.1691, allocations: 0.5093 MB / 0.9793 GB, free: 4.789 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.1693, allocations: 91.56 kB / 0.9794 GB, free: 4.699 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.1694, allocations: 8 kB / 0.9794 GB, free: 4.691 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/0.1696, allocations: 19.92 kB / 0.9794 GB, free: 4.672 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.791e-05/0.1697, allocations: 27.95 kB / 0.9795 GB, free: 4.645 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.1697, allocations: 12 kB / 0.9795 GB, free: 4.633 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002863/0.17, allocations: 330.7 kB / 0.9798 GB, free: 4.312 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.17, allocations: 0 / 0.9798 GB, free: 4.312 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0007596/0.1708, allocations: 347.2 kB / 0.9801 GB, free: 3.973 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002579/0.171, allocations: 151.1 kB / 0.9803 GB, free: 3.816 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005216/0.1715, allocations: 285.1 kB / 0.9805 GB, free: 3.531 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1715, allocations: 0 / 0.9805 GB, free: 3.531 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.1717, allocations: 108.1 kB / 0.9806 GB, free: 3.422 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.1729, allocations: 334.3 kB / 0.981 GB, free: 3.102 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.1747, allocations: 1.111 MB / 0.9821 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.1748, allocations: 162.3 kB / 0.9822 GB, free: 1.746 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004196/0.1752, allocations: 152.7 kB / 0.9824 GB, free: 1.598 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.1753, allocations: 44.5 kB / 0.9824 GB, free: 1.555 MB / 0.9323 GB Notification: Performance of SimCode: time 1.002e-06/0.1753, allocations: 0 / 0.9824 GB, free: 1.555 MB / 0.9323 GB Notification: Performance of Templates: time 0.01706/0.1924, allocations: 11.18 MB / 0.9933 GB, free: 6.684 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Delays.Examples.Delay.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_12_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_12_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_12_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Delays_Examples_Delay.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.637063363101333]