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.001665/0.001665, allocations: 104.2 kB / 19.74 MB, free: 2.066 MB / 14.72 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.002039/0.002039, allocations: 220.3 kB / 23.05 MB, free: 4.844 MB / 14.72 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.078/3.078, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 64.47 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4038, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2158/0.6197, allocations: 162 MB / 1.485 GB, free: 14.39 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.008688/0.6283, allocations: 4.579 MB / 1.49 GB, free: 9.805 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.6294, allocations: 39.62 kB / 1.49 GB, free: 9.766 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.6307, allocations: 425.4 kB / 1.49 GB, free: 9.348 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003864/0.6345, allocations: 1.455 MB / 1.492 GB, free: 7.887 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002202/0.6367, allocations: 0.792 MB / 1.492 GB, free: 7.102 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002482/0.6392, allocations: 1.883 MB / 1.494 GB, free: 5.207 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007277/0.64, allocations: 480.9 kB / 1.495 GB, free: 4.723 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002385/0.6423, allocations: 1.129 MB / 1.496 GB, free: 3.59 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.6436, allocations: 0.5501 MB / 1.496 GB, free: 3.039 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.6437, allocations: 56 kB / 1.496 GB, free: 2.984 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.6459, allocations: 1.145 MB / 1.498 GB, free: 1.836 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003067/0.6463, allocations: 279.1 kB / 1.498 GB, free: 1.562 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003805/0.6466, allocations: 330.5 kB / 1.498 GB, free: 1.238 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002101/0.6487, allocations: 1.394 MB / 1.499 GB, free: 15.84 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6487, allocations: 0 / 1.499 GB, free: 15.84 MB / 1.201 GB Notification: Performance of FrontEnd: time 4.168e-06/0.6487, allocations: 4 kB / 1.499 GB, free: 15.84 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.6488, allocations: 0 / 1.499 GB, free: 15.84 MB / 1.201 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.00181/0.6506, allocations: 1.056 MB / 1.501 GB, free: 14.75 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.6506, allocations: 8.031 kB / 1.501 GB, free: 14.74 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.6519, allocations: 219.2 kB / 1.501 GB, free: 14.52 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.653, allocations: 0.5523 MB / 1.501 GB, free: 13.95 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.137e-05/0.653, allocations: 37 kB / 1.501 GB, free: 13.91 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.01e-05/0.6531, allocations: 55.98 kB / 1.501 GB, free: 13.85 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009857/0.6541, allocations: 0.6373 MB / 1.502 GB, free: 13.18 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.6541, allocations: 0 / 1.502 GB, free: 13.18 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.035e-05/0.6542, allocations: 16 kB / 1.502 GB, free: 13.16 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.098e-05/0.6542, allocations: 17 kB / 1.502 GB, free: 13.14 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008065/0.655, allocations: 443.6 kB / 1.502 GB, free: 12.71 MB / 1.201 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.002426/0.6574, allocations: 1.243 MB / 1.504 GB, free: 11.43 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006554/0.6581, allocations: 329.4 kB / 1.504 GB, free: 11.1 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.6585, allocations: 197.9 kB / 1.504 GB, free: 10.9 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002125/0.6587, allocations: 36.27 kB / 1.504 GB, free: 10.87 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.6587, allocations: 42.83 kB / 1.504 GB, free: 10.82 MB / 1.201 GB Notification: Performance of pre-optimization done (n=33): time 1.823e-06/0.6587, allocations: 0 / 1.504 GB, free: 10.82 MB / 1.201 GB Notification: Performance of matching and sorting (n=33): time 0.001271/0.66, allocations: 0.5382 MB / 1.505 GB, free: 10.27 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.66, allocations: 63.34 kB / 1.505 GB, free: 10.2 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005463/0.6606, allocations: 478.8 kB / 1.505 GB, free: 9.719 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.493e-05/0.6606, allocations: 33.7 kB / 1.505 GB, free: 9.68 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.6609, allocations: 312.5 kB / 1.506 GB, free: 9.371 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.661, allocations: 130.8 kB / 1.506 GB, free: 9.242 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.6611, allocations: 66.03 kB / 1.506 GB, free: 9.172 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.6613, allocations: 362.7 kB / 1.506 GB, free: 8.809 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/0.6616, allocations: 142.1 kB / 1.506 GB, free: 8.668 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004396/0.662, allocations: 381.9 kB / 1.507 GB, free: 8.234 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005913/0.6626, allocations: 335.1 kB / 1.507 GB, free: 7.895 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6626, allocations: 0 / 1.507 GB, free: 7.895 MB / 1.201 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007611/0.6634, allocations: 436.8 kB / 1.507 GB, free: 7.461 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.6634, allocations: 4 kB / 1.507 GB, free: 7.457 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6634, allocations: 8.094 kB / 1.507 GB, free: 7.449 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.6634, allocations: 0 / 1.507 GB, free: 7.449 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/0.6637, allocations: 67.91 kB / 1.507 GB, free: 7.383 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.6638, allocations: 7.984 kB / 1.507 GB, free: 7.375 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/0.6642, allocations: 35.81 kB / 1.507 GB, free: 7.34 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.6642, allocations: 8 kB / 1.508 GB, free: 7.332 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004585/0.6647, allocations: 308 kB / 1.508 GB, free: 7.027 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004058/0.6651, allocations: 369.6 kB / 1.508 GB, free: 6.605 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005614/0.6656, allocations: 335.3 kB / 1.508 GB, free: 6.266 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.222e-06/0.6656, allocations: 0 / 1.508 GB, free: 6.266 MB / 1.201 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007012/0.6663, allocations: 417.1 kB / 1.509 GB, free: 5.852 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.6663, allocations: 12 kB / 1.509 GB, free: 5.84 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-06/0.6663, allocations: 0 / 1.509 GB, free: 5.84 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.44e-06/0.6663, allocations: 4 kB / 1.509 GB, free: 5.836 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.6666, allocations: 75.83 kB / 1.509 GB, free: 5.762 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.6667, allocations: 4 kB / 1.509 GB, free: 5.758 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.6671, allocations: 27.88 kB / 1.509 GB, free: 5.73 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.6671, allocations: 15.94 kB / 1.509 GB, free: 5.715 MB / 1.201 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.0001639/0.6673, allocations: 204.2 kB / 1.509 GB, free: 5.508 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.852e-05/0.6674, allocations: 63.62 kB / 1.509 GB, free: 5.445 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007838/0.6681, allocations: 406.7 kB / 1.51 GB, free: 5.043 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.6681, allocations: 4 kB / 1.51 GB, free: 5.039 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6681, allocations: 0 / 1.51 GB, free: 5.039 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006505/0.6688, allocations: 445.5 kB / 1.51 GB, free: 4.574 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.6705, allocations: 1.003 MB / 1.511 GB, free: 3.516 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.6706, allocations: 0 / 1.511 GB, free: 3.516 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.671, allocations: 95.81 kB / 1.511 GB, free: 3.422 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.671, allocations: 3.938 kB / 1.511 GB, free: 3.418 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.671, allocations: 8.125 kB / 1.511 GB, free: 3.41 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.671, allocations: 8.188 kB / 1.511 GB, free: 3.402 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.671, allocations: 11.94 kB / 1.511 GB, free: 3.391 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.6721, allocations: 0.6962 MB / 1.512 GB, free: 2.66 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/0.6723, allocations: 107.5 kB / 1.512 GB, free: 2.555 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.276e-05/0.6724, allocations: 8 kB / 1.512 GB, free: 2.547 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004245/0.6728, allocations: 23.97 kB / 1.512 GB, free: 2.523 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.302e-05/0.6729, allocations: 31.95 kB / 1.512 GB, free: 2.492 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.6729, allocations: 12 kB / 1.512 GB, free: 2.48 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003715/0.6733, allocations: 326.9 kB / 1.512 GB, free: 2.164 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6733, allocations: 4 kB / 1.512 GB, free: 2.16 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008586/0.6742, allocations: 335.3 kB / 1.513 GB, free: 1.832 MB / 1.201 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.0003187/0.6745, allocations: 175.1 kB / 1.513 GB, free: 1.652 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009902/0.6755, allocations: 0.4923 MB / 1.513 GB, free: 1.16 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.6755, allocations: 384 / 1.513 GB, free: 1.16 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003122/0.6758, allocations: 184 kB / 1.513 GB, free: 0.9805 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.6773, allocations: 334 kB / 1.514 GB, free: 0.6641 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.6794, allocations: 1.309 MB / 1.515 GB, free: 15.3 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.6797, allocations: 336.5 kB / 1.515 GB, free: 14.94 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.6799, allocations: 51.42 kB / 1.515 GB, free: 14.89 MB / 1.217 GB Notification: Performance of SimCode: time 3.7e-07/0.6799, allocations: 0 / 1.515 GB, free: 14.89 MB / 1.217 GB Notification: Performance of Templates: time 0.01483/0.6947, allocations: 9.732 MB / 1.525 GB, free: 5.238 MB / 1.217 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.188467344967648]