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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 104.5 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002115/0.002115, allocations: 189.4 kB / 22.11 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.468/3.468, allocations: 495.8 MB / 0.783 GB, free: 33.6 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002077/0.002077, allocations: 67.61 kB / 1.137 GB, free: 33.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4628/0.4649, allocations: 173.6 MB / 1.307 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2619/0.7267, allocations: 182.2 MB / 1.485 GB, free: 10.92 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01182/0.7385, allocations: 4.876 MB / 1.489 GB, free: 6.031 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002292/0.7408, allocations: 43.62 kB / 1.489 GB, free: 5.988 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002379/0.7432, allocations: 457.3 kB / 1.49 GB, free: 5.539 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005575/0.7488, allocations: 1.492 MB / 1.491 GB, free: 4.043 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003074/0.7519, allocations: 0.8045 MB / 1.492 GB, free: 3.242 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004511/0.7564, allocations: 1.902 MB / 1.494 GB, free: 1.336 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/0.7577, allocations: 472.9 kB / 1.494 GB, free: 0.8594 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003602/0.7613, allocations: 1.125 MB / 1.496 GB, free: 15.73 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001903/0.7632, allocations: 0.572 MB / 1.496 GB, free: 15.16 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.7634, allocations: 60 kB / 1.496 GB, free: 15.1 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003269/0.7666, allocations: 1.173 MB / 1.497 GB, free: 13.93 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005131/0.7671, allocations: 275.1 kB / 1.498 GB, free: 13.66 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007487/0.7679, allocations: 398.1 kB / 1.498 GB, free: 13.27 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003676/0.7716, allocations: 1.382 MB / 1.499 GB, free: 11.88 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.7716, allocations: 0 / 1.499 GB, free: 11.88 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.116e-06/0.7716, allocations: 0 / 1.499 GB, free: 11.88 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.507e-05/0.7716, allocations: 0 / 1.499 GB, free: 11.88 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.002626/0.7742, allocations: 1.048 MB / 1.5 GB, free: 10.8 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.7743, allocations: 15.97 kB / 1.5 GB, free: 10.78 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/0.7759, allocations: 215.3 kB / 1.501 GB, free: 10.57 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.7773, allocations: 0.5483 MB / 1.501 GB, free: 9.996 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.774e-05/0.7773, allocations: 40.98 kB / 1.501 GB, free: 9.957 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.666e-05/0.7774, allocations: 55.94 kB / 1.501 GB, free: 9.902 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.7785, allocations: 490.4 kB / 1.502 GB, free: 9.418 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.7785, allocations: 4 kB / 1.502 GB, free: 9.414 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.619e-05/0.7786, allocations: 23.98 kB / 1.502 GB, free: 9.391 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.956e-05/0.7786, allocations: 17 kB / 1.502 GB, free: 9.375 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008803/0.7795, allocations: 435.7 kB / 1.502 GB, free: 8.949 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.00374/0.7832, allocations: 2.038 MB / 1.504 GB, free: 6.719 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007721/0.784, allocations: 331.5 kB / 1.504 GB, free: 6.387 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003947/0.7844, allocations: 193.3 kB / 1.505 GB, free: 6.195 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002648/0.7847, allocations: 44.23 kB / 1.505 GB, free: 6.152 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.7847, allocations: 42.78 kB / 1.505 GB, free: 6.102 MB / 1.201 GB Notification: Performance of pre-optimization done (n=33): time 2.475e-06/0.7847, allocations: 4 kB / 1.505 GB, free: 6.098 MB / 1.201 GB Notification: Performance of matching and sorting (n=33): time 0.001519/0.7862, allocations: 0.5402 MB / 1.505 GB, free: 5.555 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.7863, allocations: 63.28 kB / 1.505 GB, free: 5.48 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000779/0.7871, allocations: 0.5146 MB / 1.506 GB, free: 4.953 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.753e-05/0.7871, allocations: 37.7 kB / 1.506 GB, free: 4.91 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003709/0.7875, allocations: 304.6 kB / 1.506 GB, free: 4.609 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/0.7877, allocations: 118.9 kB / 1.506 GB, free: 4.492 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.7879, allocations: 73.97 kB / 1.506 GB, free: 4.414 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0003133/0.7882, allocations: 362.8 kB / 1.507 GB, free: 4.051 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/0.7886, allocations: 142.1 kB / 1.507 GB, free: 3.91 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005459/0.7891, allocations: 223.6 kB / 1.507 GB, free: 3.668 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000751/0.7898, allocations: 345 kB / 1.507 GB, free: 3.32 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.7899, allocations: 0 / 1.507 GB, free: 3.32 MB / 1.201 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009769/0.7908, allocations: 429 kB / 1.508 GB, free: 2.895 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.7909, allocations: 7.984 kB / 1.508 GB, free: 2.887 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.7909, allocations: 0 / 1.508 GB, free: 2.887 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.7909, allocations: 4 kB / 1.508 GB, free: 2.883 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000386/0.7913, allocations: 72 kB / 1.508 GB, free: 2.812 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.7913, allocations: 3.938 kB / 1.508 GB, free: 2.809 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005724/0.7919, allocations: 43.81 kB / 1.508 GB, free: 2.766 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.7919, allocations: 8 kB / 1.508 GB, free: 2.758 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005945/0.7925, allocations: 304 kB / 1.508 GB, free: 2.457 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003734/0.7929, allocations: 214.7 kB / 1.508 GB, free: 2.223 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007179/0.7936, allocations: 331.3 kB / 1.509 GB, free: 1.887 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.7936, allocations: 3.938 kB / 1.509 GB, free: 1.883 MB / 1.201 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0009345/0.7945, allocations: 429 kB / 1.509 GB, free: 1.457 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.7945, allocations: 6.188 kB / 1.509 GB, free: 1.453 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.7945, allocations: 4 kB / 1.509 GB, free: 1.449 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-06/0.7945, allocations: 0 / 1.509 GB, free: 1.449 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.7949, allocations: 75.84 kB / 1.509 GB, free: 1.375 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.7949, allocations: 4 kB / 1.509 GB, free: 1.371 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005416/0.7954, allocations: 43.83 kB / 1.509 GB, free: 1.328 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.7955, allocations: 12 kB / 1.509 GB, free: 1.316 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.0003914/0.7959, allocations: 193.5 kB / 1.509 GB, free: 1.121 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.796, allocations: 63.62 kB / 1.509 GB, free: 1.059 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.797, allocations: 423 kB / 1.51 GB, free: 0.6406 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.797, allocations: 4 kB / 1.51 GB, free: 0.6367 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.797, allocations: 3.938 kB / 1.51 GB, free: 0.6328 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007215/0.7977, allocations: 440.2 kB / 1.51 GB, free: 176 kB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002354/0.8001, allocations: 1.155 MB / 1.511 GB, free: 14.95 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.916e-06/0.8001, allocations: 4 kB / 1.511 GB, free: 14.95 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004451/0.8005, allocations: 87.88 kB / 1.512 GB, free: 14.86 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.8006, allocations: 4 kB / 1.512 GB, free: 14.86 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.8006, allocations: 8.125 kB / 1.512 GB, free: 14.85 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/0.8006, allocations: 8 kB / 1.512 GB, free: 14.84 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.8006, allocations: 0 / 1.512 GB, free: 14.84 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.802, allocations: 0.7079 MB / 1.512 GB, free: 14.1 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000291/0.8023, allocations: 99.56 kB / 1.512 GB, free: 14 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.173e-05/0.8024, allocations: 12 kB / 1.512 GB, free: 13.99 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004828/0.8029, allocations: 26.03 kB / 1.512 GB, free: 13.96 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.803, allocations: 31.89 kB / 1.512 GB, free: 13.93 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.803, allocations: 8 kB / 1.512 GB, free: 13.93 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006306/0.8036, allocations: 374.8 kB / 1.513 GB, free: 13.56 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.8036, allocations: 0 / 1.513 GB, free: 13.56 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001025/0.8047, allocations: 327.3 kB / 1.513 GB, free: 13.24 MB / 1.217 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.000524/0.8052, allocations: 189.7 kB / 1.513 GB, free: 13.05 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001188/0.8064, allocations: 0.4896 MB / 1.514 GB, free: 12.57 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.8064, allocations: 12 kB / 1.514 GB, free: 12.55 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003469/0.8067, allocations: 171.7 kB / 1.514 GB, free: 12.39 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/0.8085, allocations: 342.6 kB / 1.514 GB, free: 12.05 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.8111, allocations: 1.277 MB / 1.515 GB, free: 10.73 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007427/0.8119, allocations: 0.9333 MB / 1.516 GB, free: 9.77 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0006699/0.8125, allocations: 180.8 kB / 1.517 GB, free: 9.594 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.8127, allocations: 51.42 kB / 1.517 GB, free: 9.543 MB / 1.217 GB Notification: Performance of SimCode: time 1.192e-06/0.8127, allocations: 0 / 1.517 GB, free: 9.543 MB / 1.217 GB Notification: Performance of Templates: time 0.02833/0.841, allocations: 12.06 MB / 1.528 GB, free: 13.66 MB / 1.232 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/jenkins/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: 10.739588023163378]