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.001827/0.001827, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.002972/0.002972, allocations: 156.3 kB / 23.01 MB, free: 4.945 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.512/1.512, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] 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.97/2.97, allocations: 394.2 MB / 0.6387 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: 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.002123/0.002123, allocations: 67.88 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8295/0.8316, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2198/1.051, allocations: 162 MB / 1.345 GB, free: 3.801 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.008742/1.06, allocations: 4.574 MB / 1.349 GB, free: 15.22 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009725/1.061, allocations: 43.62 kB / 1.349 GB, free: 15.18 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001424/1.063, allocations: 429.3 kB / 1.35 GB, free: 14.76 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00395/1.066, allocations: 1.455 MB / 1.351 GB, free: 13.3 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002169/1.069, allocations: 0.792 MB / 1.352 GB, free: 12.51 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002659/1.071, allocations: 1.883 MB / 1.354 GB, free: 10.62 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007406/1.072, allocations: 477 kB / 1.354 GB, free: 10.14 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002358/1.074, allocations: 1.137 MB / 1.355 GB, free: 9 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/1.076, allocations: 0.5445 MB / 1.356 GB, free: 8.453 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/1.076, allocations: 60 kB / 1.356 GB, free: 8.395 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002275/1.078, allocations: 1.145 MB / 1.357 GB, free: 7.246 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003322/1.078, allocations: 275.1 kB / 1.357 GB, free: 6.977 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004715/1.079, allocations: 330.5 kB / 1.358 GB, free: 6.652 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002033/1.081, allocations: 1.401 MB / 1.359 GB, free: 5.246 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/1.081, allocations: 4 kB / 1.359 GB, free: 5.242 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.222e-06/1.081, allocations: 0 / 1.359 GB, free: 5.242 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.368e-06/1.081, allocations: 0 / 1.359 GB, free: 5.242 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.001763/1.083, allocations: 1.052 MB / 1.36 GB, free: 4.156 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/1.083, allocations: 12.03 kB / 1.36 GB, free: 4.145 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/1.084, allocations: 219.2 kB / 1.36 GB, free: 3.93 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/1.085, allocations: 0.5562 MB / 1.361 GB, free: 3.348 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/1.085, allocations: 33 kB / 1.361 GB, free: 3.316 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.243e-05/1.085, allocations: 48 kB / 1.361 GB, free: 3.27 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/1.086, allocations: 0.645 MB / 1.361 GB, free: 2.586 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/1.086, allocations: 0 / 1.361 GB, free: 2.586 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.903e-05/1.086, allocations: 16 kB / 1.361 GB, free: 2.57 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.094e-05/1.086, allocations: 21 kB / 1.361 GB, free: 2.547 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00086/1.087, allocations: 439.7 kB / 1.362 GB, free: 2.121 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.002442/1.09, allocations: 1.231 MB / 1.363 GB, free: 0.8477 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006497/1.09, allocations: 331.5 kB / 1.363 GB, free: 0.5156 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003603/1.091, allocations: 200.4 kB / 1.364 GB, free: 328 kB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/1.091, allocations: 40.25 kB / 1.364 GB, free: 288 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/1.091, allocations: 42.78 kB / 1.364 GB, free: 236 kB / 1.201 GB Notification: Performance of pre-optimization done (n=33): time 1.473e-06/1.091, allocations: 0 / 1.364 GB, free: 236 kB / 1.201 GB Notification: Performance of matching and sorting (n=33): time 0.001314/1.092, allocations: 0.5422 MB / 1.364 GB, free: 15.68 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/1.092, allocations: 63.34 kB / 1.364 GB, free: 15.61 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005698/1.093, allocations: 470.9 kB / 1.365 GB, free: 15.14 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/1.093, allocations: 37.7 kB / 1.365 GB, free: 15.09 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/1.093, allocations: 312.4 kB / 1.365 GB, free: 14.79 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/1.093, allocations: 115 kB / 1.365 GB, free: 14.67 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/1.093, allocations: 77.97 kB / 1.365 GB, free: 14.59 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001853/1.094, allocations: 358.8 kB / 1.366 GB, free: 14.23 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/1.094, allocations: 154 kB / 1.366 GB, free: 14.08 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004435/1.094, allocations: 373.8 kB / 1.366 GB, free: 13.65 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006225/1.095, allocations: 338.1 kB / 1.366 GB, free: 13.31 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.095, allocations: 4 kB / 1.366 GB, free: 13.31 MB / 1.217 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007949/1.096, allocations: 432.9 kB / 1.367 GB, free: 12.88 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/1.096, allocations: 4 kB / 1.367 GB, free: 12.88 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/1.096, allocations: 0 / 1.367 GB, free: 12.88 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/1.096, allocations: 4 kB / 1.367 GB, free: 12.87 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/1.096, allocations: 67.91 kB / 1.367 GB, free: 12.8 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/1.096, allocations: 4 kB / 1.367 GB, free: 12.8 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004527/1.097, allocations: 39.75 kB / 1.367 GB, free: 12.76 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/1.097, allocations: 16.09 kB / 1.367 GB, free: 12.75 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004896/1.097, allocations: 308 kB / 1.367 GB, free: 12.44 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004565/1.098, allocations: 373.5 kB / 1.368 GB, free: 12.02 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006006/1.098, allocations: 331.3 kB / 1.368 GB, free: 11.68 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.312e-06/1.098, allocations: 0 / 1.368 GB, free: 11.68 MB / 1.217 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007579/1.099, allocations: 421 kB / 1.368 GB, free: 11.26 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/1.099, allocations: 10.5 kB / 1.368 GB, free: 11.25 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-06/1.099, allocations: 0 / 1.368 GB, free: 11.25 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.467e-06/1.099, allocations: 0 / 1.368 GB, free: 11.25 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/1.099, allocations: 75.89 kB / 1.368 GB, free: 11.18 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/1.099, allocations: 4 kB / 1.368 GB, free: 11.18 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004573/1.1, allocations: 35.92 kB / 1.368 GB, free: 11.14 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/1.1, allocations: 15.94 kB / 1.368 GB, free: 11.12 MB / 1.217 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.0001687/1.1, allocations: 200.9 kB / 1.369 GB, free: 10.92 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/1.1, allocations: 59.66 kB / 1.369 GB, free: 10.86 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008471/1.101, allocations: 410.6 kB / 1.369 GB, free: 10.46 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/1.101, allocations: 4 kB / 1.369 GB, free: 10.45 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/1.101, allocations: 0 / 1.369 GB, free: 10.45 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007057/1.102, allocations: 449.5 kB / 1.37 GB, free: 9.984 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/1.103, allocations: 1.007 MB / 1.371 GB, free: 8.922 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.103, allocations: 0 / 1.371 GB, free: 8.922 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004258/1.104, allocations: 88.02 kB / 1.371 GB, free: 8.836 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/1.104, allocations: 7.984 kB / 1.371 GB, free: 8.828 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/1.104, allocations: 11.98 kB / 1.371 GB, free: 8.816 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/1.104, allocations: 7.938 kB / 1.371 GB, free: 8.809 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.104, allocations: 0 / 1.371 GB, free: 8.809 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/1.105, allocations: 0.6992 MB / 1.371 GB, free: 8.074 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002159/1.105, allocations: 107.5 kB / 1.371 GB, free: 7.969 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.003e-05/1.105, allocations: 8 kB / 1.371 GB, free: 7.961 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004402/1.106, allocations: 28.03 kB / 1.371 GB, free: 7.934 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/1.106, allocations: 27.91 kB / 1.371 GB, free: 7.906 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/1.106, allocations: 23.92 kB / 1.372 GB, free: 7.883 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003723/1.106, allocations: 326.9 kB / 1.372 GB, free: 7.566 MB / 1.217 GB Notification: Performance of sort global known variables: time 8.1e-08/1.106, allocations: 0 / 1.372 GB, free: 7.566 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0008597/1.107, allocations: 335.3 kB / 1.372 GB, free: 7.238 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.000293/1.107, allocations: 175 kB / 1.372 GB, free: 7.059 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001025/1.108, allocations: 0.4926 MB / 1.373 GB, free: 6.566 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.108, allocations: 8 kB / 1.373 GB, free: 6.559 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003202/1.109, allocations: 171.7 kB / 1.373 GB, free: 6.391 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/1.11, allocations: 331.3 kB / 1.373 GB, free: 6.066 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/1.112, allocations: 1.256 MB / 1.375 GB, free: 4.762 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/1.113, allocations: 336.5 kB / 1.375 GB, free: 4.406 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0005104/1.113, allocations: 180.6 kB / 1.375 GB, free: 4.23 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/1.113, allocations: 48.5 kB / 1.375 GB, free: 4.184 MB / 1.217 GB Notification: Performance of SimCode: time 4.51e-07/1.113, allocations: 0 / 1.375 GB, free: 4.184 MB / 1.217 GB Notification: Performance of Templates: time 0.02168/1.135, allocations: 11.7 MB / 1.386 GB, free: 8.758 MB / 1.232 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.510065744980238]