Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001262/0.001262, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.001207/0.001207, allocations: 165 kB / 23.02 MB, free: 1.555 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 1.027/1.027, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.174/2.174, allocations: 429.5 MB / 0.6732 GB, free: 4.027 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.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Delays.Examples.Delay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8781 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.421e-05, allocations: 2.812 kB / 0.8781 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1426/0.1426, allocations: 149.6 MB / 1.024 GB, free: 256 kB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.006011/0.1486, allocations: 4.748 MB / 1.029 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004798/0.1491, allocations: 47.56 kB / 1.029 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006062/0.1497, allocations: 222.3 kB / 1.029 GB, free: 11.23 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.1511, allocations: 0.9206 MB / 1.03 GB, free: 10.3 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.1528, allocations: 1.083 MB / 1.031 GB, free: 9.215 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001743/0.1545, allocations: 1.929 MB / 1.033 GB, free: 7.281 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005684/0.1551, allocations: 499.4 kB / 1.033 GB, free: 6.777 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009796/0.1561, allocations: 0.8999 MB / 1.034 GB, free: 5.875 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008802/0.157, allocations: 0.5289 MB / 1.035 GB, free: 5.352 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 8.588e-05/0.1571, allocations: 60 kB / 1.035 GB, free: 5.293 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.1581, allocations: 0.7208 MB / 1.036 GB, free: 4.57 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.1583, allocations: 295.1 kB / 1.036 GB, free: 4.281 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002542/0.1586, allocations: 303.2 kB / 1.036 GB, free: 3.984 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.1597, allocations: 0.9811 MB / 1.037 GB, free: 3 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1597, allocations: 0 / 1.037 GB, free: 3 MB / 0.9948 GB Notification: Performance of FrontEnd: time 4.168e-06/0.1597, allocations: 3.984 kB / 1.037 GB, free: 2.996 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.1597, allocations: 0 / 1.037 GB, free: 2.996 MB / 0.9948 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.001353/0.1611, allocations: 1.18 MB / 1.038 GB, free: 1.777 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1611, allocations: 11.97 kB / 1.038 GB, free: 1.766 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008049/0.1619, allocations: 279.9 kB / 1.039 GB, free: 1.492 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006857/0.1626, allocations: 0.6181 MB / 1.039 GB, free: 0.8477 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.1626, allocations: 41 kB / 1.039 GB, free: 0.8086 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.979e-05/0.1627, allocations: 56 kB / 1.039 GB, free: 0.7539 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004888/0.1632, allocations: 473.4 kB / 1.04 GB, free: 256 kB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1632, allocations: 3.938 kB / 1.04 GB, free: 252 kB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.1632, allocations: 20 kB / 1.04 GB, free: 232 kB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.1633, allocations: 17 kB / 1.04 GB, free: 212 kB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.1635, allocations: 173.9 kB / 1.04 GB, free: 40 kB / 0.9948 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.001491/0.165, allocations: 1.277 MB / 1.041 GB, free: 14.72 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.1654, allocations: 204.1 kB / 1.041 GB, free: 14.51 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.1655, allocations: 100.1 kB / 1.041 GB, free: 14.41 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 9.974e-05/0.1656, allocations: 24.27 kB / 1.041 GB, free: 14.38 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.1656, allocations: 41.67 kB / 1.041 GB, free: 14.33 MB / 1.01 GB Notification: Performance of pre-optimization done (n=33): time 1.352e-06/0.1656, allocations: 0 / 1.041 GB, free: 14.33 MB / 1.01 GB Notification: Performance of matching and sorting (n=33): time 0.0005738/0.1662, allocations: 335.3 kB / 1.042 GB, free: 14 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.1662, allocations: 59.34 kB / 1.042 GB, free: 13.93 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004046/0.1666, allocations: 0.5542 MB / 1.042 GB, free: 13.36 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.1666, allocations: 37.7 kB / 1.042 GB, free: 13.31 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.1668, allocations: 383.8 kB / 1.043 GB, free: 12.93 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.454e-05/0.1669, allocations: 127 kB / 1.043 GB, free: 12.81 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.705e-05/0.167, allocations: 103.8 kB / 1.043 GB, free: 12.7 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1671, allocations: 0.5469 MB / 1.044 GB, free: 12.14 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.1672, allocations: 69.64 kB / 1.044 GB, free: 12.07 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.1675, allocations: 474.9 kB / 1.044 GB, free: 11.46 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.1679, allocations: 383.5 kB / 1.044 GB, free: 11 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1679, allocations: 0 / 1.044 GB, free: 11 MB / 1.01 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0004264/0.1683, allocations: 404.2 kB / 1.045 GB, free: 10.59 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.1683, allocations: 8 kB / 1.045 GB, free: 10.59 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.1683, allocations: 4.656 kB / 1.045 GB, free: 10.58 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.1683, allocations: 15.94 kB / 1.045 GB, free: 10.57 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.1687, allocations: 103.8 kB / 1.045 GB, free: 10.46 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.1687, allocations: 4 kB / 1.045 GB, free: 10.46 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.1689, allocations: 47.67 kB / 1.045 GB, free: 10.41 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.1689, allocations: 23.98 kB / 1.045 GB, free: 10.39 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001739/0.1691, allocations: 191.8 kB / 1.045 GB, free: 10.2 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000248/0.1694, allocations: 471 kB / 1.046 GB, free: 9.594 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003/0.1697, allocations: 376.9 kB / 1.046 GB, free: 9.133 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.914e-06/0.1697, allocations: 0 / 1.046 GB, free: 9.133 MB / 1.01 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.000399/0.1701, allocations: 388.7 kB / 1.046 GB, free: 8.746 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.1701, allocations: 9.875 kB / 1.046 GB, free: 8.738 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1701, allocations: 4 kB / 1.046 GB, free: 8.734 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.51e-06/0.1701, allocations: 8 kB / 1.046 GB, free: 8.727 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.1703, allocations: 103.8 kB / 1.047 GB, free: 8.625 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1703, allocations: 8.562 kB / 1.047 GB, free: 8.617 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.1705, allocations: 47.77 kB / 1.047 GB, free: 8.57 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.1705, allocations: 20.12 kB / 1.047 GB, free: 8.551 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 57 * 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.0001218/0.1706, allocations: 295.9 kB / 1.047 GB, free: 8.254 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.522e-05/0.1707, allocations: 79.58 kB / 1.047 GB, free: 8.176 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.171, allocations: 273 kB / 1.047 GB, free: 7.898 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1711, allocations: 7.938 kB / 1.047 GB, free: 7.891 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1711, allocations: 0 / 1.047 GB, free: 7.891 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002405/0.1713, allocations: 284.5 kB / 1.047 GB, free: 7.582 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009056/0.1722, allocations: 0.9011 MB / 1.048 GB, free: 6.617 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1722, allocations: 0 / 1.048 GB, free: 6.617 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.1724, allocations: 79.89 kB / 1.048 GB, free: 6.539 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1724, allocations: 4 kB / 1.048 GB, free: 6.535 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.1725, allocations: 8 kB / 1.048 GB, free: 6.527 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.1725, allocations: 7.922 kB / 1.048 GB, free: 6.52 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1725, allocations: 4 kB / 1.048 GB, free: 6.516 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004753/0.1729, allocations: 0.5135 MB / 1.049 GB, free: 5.957 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.1731, allocations: 99.52 kB / 1.049 GB, free: 5.859 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.1731, allocations: 12 kB / 1.049 GB, free: 5.848 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.1733, allocations: 25.5 kB / 1.049 GB, free: 5.824 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.1733, allocations: 27.89 kB / 1.049 GB, free: 5.797 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.1734, allocations: 12 kB / 1.049 GB, free: 5.785 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002437/0.1736, allocations: 366.9 kB / 1.049 GB, free: 5.434 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.1736, allocations: 4 kB / 1.049 GB, free: 5.43 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005635/0.1742, allocations: 355.3 kB / 1.05 GB, free: 5.082 MB / 1.01 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.0002092/0.1744, allocations: 155 kB / 1.05 GB, free: 4.922 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004744/0.1749, allocations: 387.1 kB / 1.05 GB, free: 4.535 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1749, allocations: 0 / 1.05 GB, free: 4.535 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.175, allocations: 108 kB / 1.05 GB, free: 4.426 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008603/0.1758, allocations: 333.1 kB / 1.051 GB, free: 4.105 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.1772, allocations: 1.164 MB / 1.052 GB, free: 2.879 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.1773, allocations: 166.6 kB / 1.052 GB, free: 2.695 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003213/0.1777, allocations: 180.9 kB / 1.052 GB, free: 2.52 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.752e-05/0.1778, allocations: 56.48 kB / 1.052 GB, free: 2.465 MB / 1.01 GB Notification: Performance of SimCode: time 8.42e-07/0.1778, allocations: 0 / 1.052 GB, free: 2.465 MB / 1.01 GB Notification: Performance of Templates: time 0.4299/0.6076, allocations: 11.41 MB / 1.063 GB, free: 67.51 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_latest_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.419580124784261]