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.0009647/0.0009647, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001919/0.001919, allocations: 173.4 kB / 23.36 MB, free: 1.133 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.028/1.028, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.414/2.414, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.523e-06/1.523e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.428e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1406/0.1406, allocations: 148.9 MB / 0.9839 GB, free: 8.754 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.006565/0.1471, allocations: 4.818 MB / 0.9886 GB, free: 3.926 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008276/0.148, allocations: 47.56 kB / 0.9887 GB, free: 3.879 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006235/0.1486, allocations: 218.3 kB / 0.9889 GB, free: 3.664 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.1503, allocations: 0.9323 MB / 0.9898 GB, free: 2.727 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.1524, allocations: 1.083 MB / 0.9909 GB, free: 1.641 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.002191/0.1545, allocations: 1.913 MB / 0.9927 GB, free: 15.72 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007742/0.1553, allocations: 0.4935 MB / 0.9932 GB, free: 15.21 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001795/0.1571, allocations: 1.034 MB / 0.9942 GB, free: 14.19 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007144/0.1578, allocations: 486.5 kB / 0.9947 GB, free: 13.71 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 9.47e-05/0.1579, allocations: 60 kB / 0.9947 GB, free: 13.65 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009955/0.1589, allocations: 0.604 MB / 0.9953 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002516/0.1592, allocations: 303 kB / 0.9956 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003186/0.1595, allocations: 295.3 kB / 0.9959 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.161, allocations: 0.9421 MB / 0.9968 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.161, allocations: 4 kB / 0.9968 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.503e-06/0.161, allocations: 0 / 0.9968 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.161, allocations: 0 / 0.9968 GB, free: 11.51 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.001285/0.1623, allocations: 1.027 MB / 0.9978 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.1623, allocations: 8.625 kB / 0.9978 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007691/0.1631, allocations: 236.4 kB / 0.9981 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007455/0.1638, allocations: 0.5392 MB / 0.9986 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.1638, allocations: 45 kB / 0.9986 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.126e-05/0.1639, allocations: 52 kB / 0.9987 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004422/0.1644, allocations: 460.1 kB / 0.9991 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.1644, allocations: 3.953 kB / 0.9991 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.1644, allocations: 20 kB / 0.9991 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.1644, allocations: 20.98 kB / 0.9992 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.1646, allocations: 134.9 kB / 0.9993 GB, free: 8.883 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.001541/0.1662, allocations: 0.9942 MB / 1 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.1664, allocations: 227.9 kB / 1 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.89e-05/0.1665, allocations: 83.41 kB / 1.001 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.395e-05/0.1666, allocations: 28.25 kB / 1.001 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.1667, allocations: 34.84 kB / 1.001 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=33): time 3.006e-06/0.1667, allocations: 0 / 1.001 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33): time 0.0004343/0.1671, allocations: 240.1 kB / 1.001 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.1671, allocations: 55.41 kB / 1.001 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.1674, allocations: 488 kB / 1.001 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.1675, allocations: 41.7 kB / 1.001 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.1676, allocations: 266.3 kB / 1.002 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.773e-05/0.1676, allocations: 122.9 kB / 1.002 GB, free: 6.258 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.707e-05/0.1677, allocations: 102.1 kB / 1.002 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002392/0.168, allocations: 374.6 kB / 1.002 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-05/0.1681, allocations: 57.66 kB / 1.002 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.1683, allocations: 377.4 kB / 1.003 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.1685, allocations: 294 kB / 1.003 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1685, allocations: 0 / 1.003 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0003038/0.1688, allocations: 291.9 kB / 1.003 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1688, allocations: 8 kB / 1.003 GB, free: 4.574 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1688, allocations: 8.062 kB / 1.003 GB, free: 4.566 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1688, allocations: 8 kB / 1.003 GB, free: 4.559 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.1691, allocations: 103.8 kB / 1.003 GB, free: 4.457 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1691, allocations: 7.938 kB / 1.003 GB, free: 4.449 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.1693, allocations: 52.14 kB / 1.003 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.1693, allocations: 23.98 kB / 1.003 GB, free: 4.375 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001349/0.1694, allocations: 138.8 kB / 1.004 GB, free: 4.23 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001807/0.1696, allocations: 373.4 kB / 1.004 GB, free: 3.75 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002198/0.1698, allocations: 297.4 kB / 1.004 GB, free: 3.391 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/0.1698, allocations: 7.875 kB / 1.004 GB, free: 3.383 MB / 0.9636 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.0002829/0.1701, allocations: 288.3 kB / 1.004 GB, free: 3.094 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/0.1701, allocations: 8 kB / 1.004 GB, free: 3.086 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1701, allocations: 8 kB / 1.004 GB, free: 3.078 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.169e-06/0.1701, allocations: 4 kB / 1.004 GB, free: 3.074 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.1703, allocations: 99.84 kB / 1.005 GB, free: 2.977 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.1703, allocations: 15.92 kB / 1.005 GB, free: 2.961 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.1705, allocations: 35.8 kB / 1.005 GB, free: 2.926 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.1706, allocations: 20 kB / 1.005 GB, free: 2.906 MB / 0.9636 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.0001204/0.1707, allocations: 212 kB / 1.005 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.039e-05/0.1707, allocations: 56 kB / 1.005 GB, free: 2.637 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.171, allocations: 203.5 kB / 1.005 GB, free: 2.43 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.171, allocations: 4 kB / 1.005 GB, free: 2.426 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.171, allocations: 0 / 1.005 GB, free: 2.426 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003231/0.1713, allocations: 221.8 kB / 1.005 GB, free: 2.18 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007392/0.1721, allocations: 0.6803 MB / 1.006 GB, free: 1.449 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1721, allocations: 192 / 1.006 GB, free: 1.449 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.1723, allocations: 83.91 kB / 1.006 GB, free: 1.367 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1723, allocations: 4 kB / 1.006 GB, free: 1.363 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.1723, allocations: 11.98 kB / 1.006 GB, free: 1.352 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.1723, allocations: 0 / 1.006 GB, free: 1.352 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1723, allocations: 4 kB / 1.006 GB, free: 1.348 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.1727, allocations: 436.2 kB / 1.006 GB, free: 0.8789 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.1728, allocations: 87.47 kB / 1.007 GB, free: 0.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.1728, allocations: 8 kB / 1.007 GB, free: 0.7852 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.173, allocations: 16 kB / 1.007 GB, free: 0.7695 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.1731, allocations: 27.89 kB / 1.007 GB, free: 0.7422 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.1731, allocations: 15.98 kB / 1.007 GB, free: 0.7266 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001537/0.1732, allocations: 220.6 kB / 1.007 GB, free: 0.5156 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.1732, allocations: 0 / 1.007 GB, free: 0.5156 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0006096/0.1738, allocations: 351.3 kB / 1.007 GB, free: 176 kB / 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.0002205/0.1741, allocations: 140.2 kB / 1.007 GB, free: 24 kB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003848/0.1744, allocations: 325.3 kB / 1.008 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/0.1745, allocations: 8.312 kB / 1.008 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 8.503e-05/0.1745, allocations: 88.92 kB / 1.008 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007783/0.1753, allocations: 337.3 kB / 1.008 GB, free: 15.28 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.1768, allocations: 1.129 MB / 1.009 GB, free: 14.1 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.1769, allocations: 170.5 kB / 1.009 GB, free: 13.91 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003264/0.1772, allocations: 113 kB / 1.009 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004414/0.1777, allocations: 263.1 kB / 1.01 GB, free: 13.54 MB / 0.9792 GB Notification: Performance of SimCode: time 1.002e-06/0.1777, allocations: 0 / 1.01 GB, free: 13.54 MB / 0.9792 GB Notification: Performance of Templates: time 0.01635/0.194, allocations: 12.41 MB / 1.022 GB, free: 1.445 MB / 0.9792 GB " [Timeout remaining time 300] 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: 5.879533833358437]