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.0008131/0.0008131, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009307/0.0009307, allocations: 169 kB / 24.28 MB, free: 276 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.9428/0.9428, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.789/1.789, allocations: 377.8 MB / 0.6239 GB, free: 8.543 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 1.964e-06/1.964e-06, allocations: 0 / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.063e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1481/0.1481, allocations: 180.2 MB / 0.9874 GB, free: 13.34 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.005745/0.1539, allocations: 4.904 MB / 0.9922 GB, free: 8.418 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005521/0.1544, allocations: 47.56 kB / 0.9923 GB, free: 8.371 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008443/0.1552, allocations: 413.3 kB / 0.9927 GB, free: 7.965 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.002253/0.1575, allocations: 1.512 MB / 0.9941 GB, free: 6.445 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.1588, allocations: 0.8334 MB / 0.995 GB, free: 5.609 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001613/0.1604, allocations: 1.894 MB / 0.9968 GB, free: 3.707 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005662/0.161, allocations: 481.3 kB / 0.9973 GB, free: 3.227 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001704/0.1627, allocations: 1.363 MB / 0.9986 GB, free: 1.859 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008228/0.1635, allocations: 0.5127 MB / 0.9991 GB, free: 1.355 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 8.811e-05/0.1636, allocations: 56 kB / 0.9991 GB, free: 1.301 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.165, allocations: 1.165 MB / 1 GB, free: 136 kB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.1653, allocations: 287.1 kB / 1.001 GB, free: 15.85 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.1655, allocations: 287.3 kB / 1.001 GB, free: 15.57 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.1668, allocations: 1.153 MB / 1.002 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1668, allocations: 0 / 1.002 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1668, allocations: 0 / 1.002 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.1668, allocations: 4 kB / 1.002 GB, free: 14.41 MB / 0.9636 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.001284/0.1681, allocations: 1.16 MB / 1.003 GB, free: 13.21 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1681, allocations: 12.03 kB / 1.003 GB, free: 13.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008894/0.169, allocations: 271 kB / 1.003 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006518/0.1697, allocations: 0.5824 MB / 1.004 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.1697, allocations: 37 kB / 1.004 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/0.1697, allocations: 48 kB / 1.004 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000514/0.1703, allocations: 469.3 kB / 1.004 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1703, allocations: 0 / 1.004 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/0.1703, allocations: 23.94 kB / 1.004 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/0.1703, allocations: 13 kB / 1.004 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.1706, allocations: 185.9 kB / 1.005 GB, free: 11.52 MB / 0.9636 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.00159/0.1722, allocations: 1.234 MB / 1.006 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/0.1726, allocations: 207.7 kB / 1.006 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.1727, allocations: 96.2 kB / 1.006 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/0.1728, allocations: 44.25 kB / 1.006 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.1728, allocations: 41.67 kB / 1.006 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=33): time 1.814e-06/0.1728, allocations: 0 / 1.006 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33): time 0.0005658/0.1734, allocations: 319.9 kB / 1.007 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.1734, allocations: 67.28 kB / 1.007 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/0.1738, allocations: 494.7 kB / 1.007 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.1738, allocations: 41.7 kB / 1.007 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.174, allocations: 367.2 kB / 1.007 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.582e-05/0.1741, allocations: 119 kB / 1.008 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.381e-05/0.1742, allocations: 75.64 kB / 1.008 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1743, allocations: 0.5391 MB / 1.008 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.701e-05/0.1744, allocations: 56.97 kB / 1.008 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.1746, allocations: 304.5 kB / 1.009 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.1748, allocations: 169.3 kB / 1.009 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1748, allocations: 4 kB / 1.009 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003371/0.1751, allocations: 276.8 kB / 1.009 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1752, allocations: 4 kB / 1.009 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1752, allocations: 0 / 1.009 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1752, allocations: 4 kB / 1.009 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.1754, allocations: 71.78 kB / 1.009 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.1754, allocations: 4 kB / 1.009 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.1755, allocations: 23.83 kB / 1.009 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.1756, allocations: 24.08 kB / 1.009 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000171/0.1757, allocations: 182.8 kB / 1.009 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001805/0.1759, allocations: 287.7 kB / 1.01 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001999/0.1761, allocations: 170.8 kB / 1.01 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.91e-07/0.1761, allocations: 0 / 1.01 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000312/0.1764, allocations: 268.9 kB / 1.01 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1765, allocations: 5.406 kB / 1.01 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-06/0.1765, allocations: 4.094 kB / 1.01 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.268e-06/0.1765, allocations: 4 kB / 1.01 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.1766, allocations: 71.84 kB / 1.01 GB, free: 5.695 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1766, allocations: 4 kB / 1.01 GB, free: 5.691 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.1768, allocations: 27.88 kB / 1.01 GB, free: 5.664 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.1768, allocations: 11.98 kB / 1.01 GB, free: 5.652 MB / 0.9636 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.0001368/0.177, allocations: 292 kB / 1.01 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.608e-05/0.177, allocations: 71.62 kB / 1.01 GB, free: 5.289 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003403/0.1774, allocations: 250.9 kB / 1.011 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1774, allocations: 8 kB / 1.011 GB, free: 5.031 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1774, allocations: 0 / 1.011 GB, free: 5.031 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000248/0.1776, allocations: 285.7 kB / 1.011 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009551/0.1786, allocations: 0.8756 MB / 1.012 GB, free: 3.781 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1786, allocations: 128 / 1.012 GB, free: 3.781 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.1788, allocations: 88.08 kB / 1.012 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1788, allocations: 8 kB / 1.012 GB, free: 3.688 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.1788, allocations: 8 kB / 1.012 GB, free: 3.68 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.1789, allocations: 7.938 kB / 1.012 GB, free: 3.672 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1789, allocations: 0 / 1.012 GB, free: 3.672 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000528/0.1794, allocations: 0.5056 MB / 1.012 GB, free: 3.121 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.1795, allocations: 99.5 kB / 1.013 GB, free: 3.023 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.1796, allocations: 8 kB / 1.013 GB, free: 3.016 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.1798, allocations: 23.92 kB / 1.013 GB, free: 2.992 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/0.1798, allocations: 24.02 kB / 1.013 GB, free: 2.969 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.1798, allocations: 23.91 kB / 1.013 GB, free: 2.945 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002332/0.1801, allocations: 326.8 kB / 1.013 GB, free: 2.629 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.1801, allocations: 0 / 1.013 GB, free: 2.629 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0005385/0.1806, allocations: 339.3 kB / 1.013 GB, free: 2.297 MB / 0.9636 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.0002662/0.1809, allocations: 175.1 kB / 1.013 GB, free: 2.117 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000428/0.1813, allocations: 293.4 kB / 1.014 GB, free: 1.824 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1813, allocations: 0 / 1.014 GB, free: 1.824 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.1814, allocations: 112 kB / 1.014 GB, free: 1.711 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008468/0.1823, allocations: 343.8 kB / 1.014 GB, free: 1.387 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.1837, allocations: 1.107 MB / 1.015 GB, free: 220 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.1838, allocations: 166.3 kB / 1.015 GB, free: 32 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0003394/0.1841, allocations: 152.7 kB / 1.015 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.992e-05/0.1842, allocations: 44.5 kB / 1.016 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of SimCode: time 7.31e-07/0.1842, allocations: 0 / 1.016 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of Templates: time 0.013/0.1972, allocations: 11.6 MB / 1.027 GB, free: 4.551 MB / 0.9792 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.227083784062415]