Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 118.2 kB / 16.42 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 183.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.141/2.141, allocations: 390.2 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.91 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6619/0.6632, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1772/0.8404, allocations: 161.6 MB / 1.246 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004787/0.8453, allocations: 3.629 MB / 1.25 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003477/0.8456, allocations: 15.88 kB / 1.25 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000548/0.8462, allocations: 170.9 kB / 1.25 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.8475, allocations: 0.5407 MB / 1.251 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.8487, allocations: 448.9 kB / 1.251 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002572/0.8513, allocations: 2.574 MB / 1.254 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002832/0.8541, allocations: 2.415 MB / 1.256 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/0.8559, allocations: 1.055 MB / 1.257 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.857, allocations: 0.7117 MB / 1.258 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.8573, allocations: 60 kB / 1.258 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.8588, allocations: 0.7523 MB / 1.259 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003596/0.8592, allocations: 310.9 kB / 1.259 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007049/0.8599, allocations: 0.5556 MB / 1.259 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.8615, allocations: 1.419 MB / 1.261 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.8615, allocations: 4 kB / 1.261 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8615, allocations: 0 / 1.261 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.038e-05/0.8615, allocations: 0 / 1.261 GB, free: 13.52 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.00254/0.8641, allocations: 1.454 MB / 1.262 GB, free: 12 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.8641, allocations: 8.031 kB / 1.262 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007907/0.8649, allocations: 190.4 kB / 1.262 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.8664, allocations: 0.857 MB / 1.263 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.8664, allocations: 41 kB / 1.263 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.996e-05/0.8665, allocations: 60 kB / 1.263 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.8677, allocations: 0.82 MB / 1.264 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.8677, allocations: 3.938 kB / 1.264 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.241e-05/0.8678, allocations: 24 kB / 1.264 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.8678, allocations: 12 kB / 1.264 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009412/0.8688, allocations: 0.5656 MB / 1.265 GB, free: 9.289 MB / 0.9981 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.00385/0.8726, allocations: 4.204 MB / 1.269 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007168/0.8734, allocations: 442.7 kB / 1.269 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004718/0.8738, allocations: 345.1 kB / 1.27 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002719/0.8741, allocations: 190.2 kB / 1.27 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005104/0.8746, allocations: 327.1 kB / 1.27 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001664/0.8748, allocations: 31.59 kB / 1.27 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.914e-06/0.8748, allocations: 0 / 1.27 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.001428/0.8763, allocations: 0.6975 MB / 1.271 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.8763, allocations: 89.11 kB / 1.271 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.8776, allocations: 1.155 MB / 1.272 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.889e-05/0.8777, allocations: 37.7 kB / 1.272 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003767/0.8781, allocations: 488.4 kB / 1.272 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.754e-05/0.8782, allocations: 118.4 kB / 1.273 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.8783, allocations: 114.2 kB / 1.273 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.8785, allocations: 325.9 kB / 1.273 GB, free: 388 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004006/0.8789, allocations: 238.9 kB / 1.273 GB, free: 148 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006459/0.8795, allocations: 0.5478 MB / 1.274 GB, free: 15.46 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009268/0.8805, allocations: 0.674 MB / 1.274 GB, free: 14.71 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.8805, allocations: 3.938 kB / 1.274 GB, free: 14.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001257/0.8817, allocations: 0.7669 MB / 1.275 GB, free: 13.92 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.8818, allocations: 33.7 kB / 1.275 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.8818, allocations: 8.109 kB / 1.275 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-05/0.8818, allocations: 12.59 kB / 1.275 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005295/0.8824, allocations: 123.7 kB / 1.275 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.8824, allocations: 11.94 kB / 1.275 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007278/0.8831, allocations: 60.14 kB / 1.275 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-05/0.8832, allocations: 24 kB / 1.275 GB, free: 13.65 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006663/0.8839, allocations: 0.5242 MB / 1.276 GB, free: 13.12 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000533/0.8844, allocations: 0.503 MB / 1.276 GB, free: 12.48 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007859/0.8852, allocations: 0.6036 MB / 1.277 GB, free: 11.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.026e-06/0.8852, allocations: 3.938 kB / 1.277 GB, free: 11.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001069/0.8863, allocations: 0.685 MB / 1.278 GB, free: 11.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.8863, allocations: 37.69 kB / 1.278 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.8863, allocations: 8 kB / 1.278 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.8864, allocations: 8 kB / 1.278 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000461/0.8868, allocations: 108.5 kB / 1.278 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.8868, allocations: 11.94 kB / 1.278 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007544/0.8876, allocations: 68.25 kB / 1.278 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.8877, allocations: 24 kB / 1.278 GB, free: 10.83 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * 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.0001708/0.8878, allocations: 228 kB / 1.278 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.888, allocations: 106.7 kB / 1.278 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009531/0.8889, allocations: 0.5388 MB / 1.279 GB, free: 9.949 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.8889, allocations: 4 kB / 1.279 GB, free: 9.945 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.8889, allocations: 0 / 1.279 GB, free: 9.945 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003528/0.8893, allocations: 219.8 kB / 1.279 GB, free: 9.711 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.8894, allocations: 7.938 kB / 1.279 GB, free: 9.703 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005548/0.89, allocations: 43.94 kB / 1.279 GB, free: 9.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.371e-05/0.8901, allocations: 27.97 kB / 1.279 GB, free: 9.633 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001046/0.8911, allocations: 0.6055 MB / 1.28 GB, free: 9.02 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009177/0.8921, allocations: 0.7533 MB / 1.28 GB, free: 8.25 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003322/0.8924, allocations: 199.8 kB / 1.281 GB, free: 8.055 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009651/0.8934, allocations: 0.8159 MB / 1.281 GB, free: 7.23 MB / 1.014 GB Notification: Performance of Backend: time 3.81e-07/0.8934, allocations: 4 kB / 1.281 GB, free: 7.227 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002131/0.8955, allocations: 0.9678 MB / 1.282 GB, free: 6.238 MB / 1.014 GB Notification: Performance of SimCode: time 0.003798/0.8993, allocations: 2.515 MB / 1.285 GB, free: 3.676 MB / 1.014 GB Notification: Performance of Templates: time 0.03329/0.9326, allocations: 20.74 MB / 1.305 GB, free: 15.15 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches