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.0008938/0.0008938, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009426/0.0009426, allocations: 161 kB / 24.17 MB, free: 332 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.9514/0.9514, allocations: 177.2 MB / 204.6 MB, free: 5.266 MB / 186.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.842/1.842, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 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.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 1.803e-06/1.803e-06, allocations: 0 / 0.76 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.812e-05, allocations: 2.312 kB / 0.76 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1446/0.1446, allocations: 148.8 MB / 0.9053 GB, free: 1.531 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004392/0.149, allocations: 3.859 MB / 0.909 GB, free: 13.66 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003187/0.1493, allocations: 43.62 kB / 0.9091 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005511/0.1499, allocations: 218.3 kB / 0.9093 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.1511, allocations: 0.913 MB / 0.9102 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.1522, allocations: 0.779 MB / 0.9109 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001285/0.1534, allocations: 1.854 MB / 0.9127 GB, free: 9.852 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004629/0.1539, allocations: 499.6 kB / 0.9132 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.1551, allocations: 0.9911 MB / 0.9142 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000654/0.1558, allocations: 474.5 kB / 0.9146 GB, free: 7.91 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 6.253e-05/0.1559, allocations: 60 kB / 0.9147 GB, free: 7.852 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006556/0.1565, allocations: 0.6001 MB / 0.9153 GB, free: 7.25 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.1567, allocations: 291.1 kB / 0.9156 GB, free: 6.965 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002066/0.1569, allocations: 279.4 kB / 0.9158 GB, free: 6.691 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008267/0.1577, allocations: 0.911 MB / 0.9167 GB, free: 5.777 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1577, allocations: 4 kB / 0.9167 GB, free: 5.773 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.774e-06/0.1577, allocations: 0 / 0.9167 GB, free: 5.773 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.1578, allocations: 0 / 0.9167 GB, free: 5.773 MB / 0.8698 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.0009116/0.1587, allocations: 0.9733 MB / 0.9177 GB, free: 4.77 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.1587, allocations: 8.031 kB / 0.9177 GB, free: 4.762 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006064/0.1593, allocations: 244.3 kB / 0.9179 GB, free: 4.523 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/0.1598, allocations: 0.4956 MB / 0.9184 GB, free: 4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.1599, allocations: 33 kB / 0.9184 GB, free: 3.969 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.698e-05/0.1599, allocations: 52 kB / 0.9185 GB, free: 3.918 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.1603, allocations: 460.1 kB / 0.9189 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1603, allocations: 0 / 0.9189 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.1603, allocations: 20 kB / 0.9189 GB, free: 3.402 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.1604, allocations: 17 kB / 0.919 GB, free: 3.387 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.1605, allocations: 126.9 kB / 0.9191 GB, free: 3.266 MB / 0.8698 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.001128/0.1617, allocations: 0.9749 MB / 0.92 GB, free: 2.258 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.1619, allocations: 219.2 kB / 0.9202 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.904e-05/0.162, allocations: 80.14 kB / 0.9203 GB, free: 1.953 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.186e-05/0.1621, allocations: 24.27 kB / 0.9203 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.1621, allocations: 38.84 kB / 0.9204 GB, free: 1.883 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 1.753e-06/0.1621, allocations: 0 / 0.9204 GB, free: 1.883 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.0003721/0.1625, allocations: 240.7 kB / 0.9206 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.1625, allocations: 51.41 kB / 0.9207 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.1627, allocations: 419.3 kB / 0.9211 GB, free: 1.16 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.1627, allocations: 33.7 kB / 0.9211 GB, free: 1.121 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.1629, allocations: 253.6 kB / 0.9213 GB, free: 0.8711 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.725e-05/0.1629, allocations: 122.9 kB / 0.9214 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.612e-05/0.163, allocations: 65.97 kB / 0.9215 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.1631, allocations: 370.6 kB / 0.9219 GB, free: 316 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.93e-05/0.1632, allocations: 40.98 kB / 0.9219 GB, free: 272 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.1633, allocations: 274 kB / 0.9222 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.1634, allocations: 139.4 kB / 0.9223 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1634, allocations: 0 / 0.9223 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002032/0.1636, allocations: 192 kB / 0.9225 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.1637, allocations: 8 kB / 0.9225 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1637, allocations: 0 / 0.9225 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.1637, allocations: 4.094 kB / 0.9225 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.1638, allocations: 71.91 kB / 0.9226 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.1638, allocations: 0 / 0.9226 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.164, allocations: 27.88 kB / 0.9226 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.164, allocations: 8 kB / 0.9226 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001418/0.1641, allocations: 121.8 kB / 0.9227 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001243/0.1643, allocations: 257 kB / 0.923 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001245/0.1644, allocations: 130.2 kB / 0.9231 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.534e-06/0.1644, allocations: 11.92 kB / 0.9231 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0001851/0.1646, allocations: 196.1 kB / 0.9233 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.272e-06/0.1646, allocations: 8 kB / 0.9233 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-06/0.1646, allocations: 0 / 0.9233 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-06/0.1646, allocations: 0 / 0.9233 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.1647, allocations: 67.91 kB / 0.9233 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.1647, allocations: 4 kB / 0.9234 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.1649, allocations: 31.77 kB / 0.9234 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.1649, allocations: 16.09 kB / 0.9234 GB, free: 14.56 MB / 0.8855 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 8.362e-05/0.165, allocations: 200.1 kB / 0.9236 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/0.165, allocations: 43.95 kB / 0.9236 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/0.1653, allocations: 211.9 kB / 0.9238 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.1653, allocations: 4 kB / 0.9238 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.1653, allocations: 0 / 0.9238 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001392/0.1654, allocations: 216.5 kB / 0.924 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000677/0.1661, allocations: 0.6712 MB / 0.9247 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1661, allocations: 128 / 0.9247 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.1663, allocations: 83.89 kB / 0.9248 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.1663, allocations: 4 kB / 0.9248 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.1663, allocations: 11.98 kB / 0.9248 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.1663, allocations: 7.984 kB / 0.9248 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1663, allocations: 0 / 0.9248 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.1666, allocations: 432.4 kB / 0.9252 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.1667, allocations: 83.52 kB / 0.9253 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.1668, allocations: 8 kB / 0.9253 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.167, allocations: 15.98 kB / 0.9253 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.167, allocations: 31.83 kB / 0.9253 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.167, allocations: 12 kB / 0.9254 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001275/0.1671, allocations: 188.4 kB / 0.9255 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1671, allocations: 0 / 0.9255 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000425/0.1676, allocations: 335.3 kB / 0.9259 GB, free: 11.9 MB / 0.8855 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.0001965/0.1678, allocations: 136.2 kB / 0.926 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002709/0.168, allocations: 236.3 kB / 0.9262 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.168, allocations: 4 kB / 0.9262 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.626e-05/0.1681, allocations: 89.25 kB / 0.9263 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007318/0.1689, allocations: 328.8 kB / 0.9266 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.1701, allocations: 1.053 MB / 0.9276 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.1702, allocations: 162.3 kB / 0.9278 GB, free: 9.828 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002383/0.1705, allocations: 96.78 kB / 0.9279 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/0.1709, allocations: 263.1 kB / 0.9281 GB, free: 9.473 MB / 0.8855 GB Notification: Performance of SimCode: time 7.71e-07/0.1709, allocations: 0 / 0.9281 GB, free: 9.473 MB / 0.8855 GB Notification: Performance of Templates: time 0.01371/0.1846, allocations: 12.14 MB / 0.94 GB, free: 13.67 MB / 0.9011 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.396658251993358]