Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.006715/0.006716, allocations: 105.5 kB / 15.74 MB, free: 6.008 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.001102/0.001103, allocations: 196.9 kB / 16.68 MB, free: 5.93 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.538/2.538, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 75.86 kB / 1.054 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7701/0.7713, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.163/0.9343, allocations: 161.6 MB / 1.366 GB, free: 11.41 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.005267/0.9396, allocations: 3.638 MB / 1.369 GB, free: 7.766 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003296/0.94, allocations: 7.938 kB / 1.369 GB, free: 7.758 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006309/0.9407, allocations: 166.9 kB / 1.369 GB, free: 7.594 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.942, allocations: 0.525 MB / 1.37 GB, free: 7.066 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.9431, allocations: 433 kB / 1.37 GB, free: 6.648 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002733/0.9458, allocations: 2.579 MB / 1.373 GB, free: 4.066 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002969/0.9488, allocations: 2.399 MB / 1.375 GB, free: 1.652 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001977/0.9508, allocations: 1.055 MB / 1.376 GB, free: 0.5938 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.952, allocations: 0.7156 MB / 1.377 GB, free: 15.88 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.9521, allocations: 60 kB / 1.377 GB, free: 15.82 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.9534, allocations: 0.7406 MB / 1.378 GB, free: 15.07 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002827/0.9537, allocations: 314.9 kB / 1.378 GB, free: 14.77 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005811/0.9543, allocations: 0.5402 MB / 1.378 GB, free: 14.22 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.9558, allocations: 1.431 MB / 1.38 GB, free: 12.79 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.9558, allocations: 4 kB / 1.38 GB, free: 12.79 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9558, allocations: 0 / 1.38 GB, free: 12.79 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.9558, allocations: 0 / 1.38 GB, free: 12.79 MB / 1.107 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.002094/0.9579, allocations: 1.455 MB / 1.381 GB, free: 11.27 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.958, allocations: 8.031 kB / 1.381 GB, free: 11.26 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007718/0.9588, allocations: 186.4 kB / 1.381 GB, free: 11.08 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.96, allocations: 0.8569 MB / 1.382 GB, free: 10.16 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/0.96, allocations: 45 kB / 1.382 GB, free: 10.12 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.385e-05/0.9601, allocations: 60 kB / 1.382 GB, free: 10.06 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.9613, allocations: 0.8277 MB / 1.383 GB, free: 9.156 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.9613, allocations: 3.938 kB / 1.383 GB, free: 9.152 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.387e-05/0.9614, allocations: 24 kB / 1.383 GB, free: 9.129 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.9614, allocations: 12 kB / 1.383 GB, free: 9.117 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009264/0.9623, allocations: 0.5656 MB / 1.384 GB, free: 8.551 MB / 1.107 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.003814/0.9662, allocations: 4.208 MB / 1.388 GB, free: 4.074 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007754/0.967, allocations: 439.5 kB / 1.388 GB, free: 3.637 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004767/0.9675, allocations: 344.6 kB / 1.389 GB, free: 3.297 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002958/0.9678, allocations: 194.2 kB / 1.389 GB, free: 3.07 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00053/0.9683, allocations: 327.1 kB / 1.389 GB, free: 2.73 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001832/0.9685, allocations: 35.7 kB / 1.389 GB, free: 2.695 MB / 1.107 GB Notification: Performance of pre-optimization done (n=33): time 2.254e-06/0.9685, allocations: 3.938 kB / 1.389 GB, free: 2.691 MB / 1.107 GB Notification: Performance of matching and sorting (n=33): time 0.001403/0.9699, allocations: 0.6977 MB / 1.39 GB, free: 1.988 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.97, allocations: 89.09 kB / 1.39 GB, free: 1.883 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.9713, allocations: 1.159 MB / 1.391 GB, free: 0.707 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.325e-05/0.9714, allocations: 33.7 kB / 1.391 GB, free: 0.668 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000376/0.9717, allocations: 488.4 kB / 1.392 GB, free: 192 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.454e-05/0.9718, allocations: 114.4 kB / 1.392 GB, free: 76 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.972, allocations: 110.2 kB / 1.392 GB, free: 15.96 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.9721, allocations: 329.9 kB / 1.392 GB, free: 15.63 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/0.9725, allocations: 238.9 kB / 1.392 GB, free: 15.39 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006339/0.9732, allocations: 0.546 MB / 1.393 GB, free: 14.71 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009235/0.9741, allocations: 0.6698 MB / 1.393 GB, free: 13.96 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.9741, allocations: 4 kB / 1.393 GB, free: 13.96 MB / 1.123 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001276/0.9754, allocations: 0.759 MB / 1.394 GB, free: 13.19 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/0.9755, allocations: 41.69 kB / 1.394 GB, free: 13.14 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.9755, allocations: 4 kB / 1.394 GB, free: 13.14 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.9755, allocations: 8.656 kB / 1.394 GB, free: 13.13 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005496/0.9761, allocations: 119.7 kB / 1.394 GB, free: 13.01 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.9761, allocations: 11.94 kB / 1.394 GB, free: 13 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007713/0.9769, allocations: 59.92 kB / 1.394 GB, free: 12.94 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/0.9769, allocations: 27.94 kB / 1.394 GB, free: 12.91 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007045/0.9776, allocations: 0.5203 MB / 1.395 GB, free: 12.39 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005577/0.9782, allocations: 0.503 MB / 1.395 GB, free: 11.75 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008366/0.9791, allocations: 0.6038 MB / 1.396 GB, free: 11.07 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.876e-06/0.9791, allocations: 0 / 1.396 GB, free: 11.07 MB / 1.123 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001077/0.9802, allocations: 0.6927 MB / 1.397 GB, free: 10.36 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.9802, allocations: 33.7 kB / 1.397 GB, free: 10.32 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.9802, allocations: 8 kB / 1.397 GB, free: 10.32 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.764e-06/0.9802, allocations: 8 kB / 1.397 GB, free: 10.31 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.9807, allocations: 112.4 kB / 1.397 GB, free: 10.2 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.9807, allocations: 15.94 kB / 1.397 GB, free: 10.18 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007487/0.9815, allocations: 68.25 kB / 1.397 GB, free: 10.12 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.9815, allocations: 27.98 kB / 1.397 GB, free: 10.09 MB / 1.123 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.0001783/0.9817, allocations: 227.8 kB / 1.397 GB, free: 9.859 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.9818, allocations: 110.6 kB / 1.397 GB, free: 9.75 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.9829, allocations: 0.535 MB / 1.398 GB, free: 9.207 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.9829, allocations: 4 kB / 1.398 GB, free: 9.203 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.9829, allocations: 3.938 kB / 1.398 GB, free: 9.199 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.9829, allocations: 0 / 1.398 GB, free: 9.199 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.9849, allocations: 1.498 MB / 1.399 GB, free: 7.629 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.985, allocations: 3.938 kB / 1.399 GB, free: 7.625 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/0.9853, allocations: 80.09 kB / 1.399 GB, free: 7.547 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.9853, allocations: 0 / 1.399 GB, free: 7.547 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.9854, allocations: 12 kB / 1.399 GB, free: 7.535 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.9854, allocations: 0 / 1.399 GB, free: 7.535 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.9854, allocations: 4 kB / 1.399 GB, free: 7.531 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008824/0.9863, allocations: 0.6547 MB / 1.4 GB, free: 6.84 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003137/0.9866, allocations: 227.8 kB / 1.4 GB, free: 6.598 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.9867, allocations: 12 kB / 1.4 GB, free: 6.586 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005972/0.9873, allocations: 39.94 kB / 1.4 GB, free: 6.547 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/0.9874, allocations: 27.97 kB / 1.4 GB, free: 6.52 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.9875, allocations: 12 kB / 1.4 GB, free: 6.508 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009861/0.9885, allocations: 0.8276 MB / 1.401 GB, free: 5.672 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9885, allocations: 0 / 1.401 GB, free: 5.672 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001054/0.9895, allocations: 427.4 kB / 1.402 GB, free: 5.254 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003916/0.9899, allocations: 170.6 kB / 1.402 GB, free: 5.082 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001439/0.9914, allocations: 0.9034 MB / 1.403 GB, free: 4.156 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.9914, allocations: 0 / 1.403 GB, free: 4.156 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003974/0.9918, allocations: 236.2 kB / 1.403 GB, free: 3.926 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/0.9938, allocations: 0.4896 MB / 1.403 GB, free: 3.441 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.9964, allocations: 1.759 MB / 1.405 GB, free: 1.625 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006879/0.9971, allocations: 1.178 MB / 1.406 GB, free: 424 kB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0009555/0.998, allocations: 444 kB / 1.407 GB, free: 15.97 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.9982, allocations: 79.38 kB / 1.407 GB, free: 15.9 MB / 1.139 GB Notification: Performance of SimCode: time 4.1e-07/0.9982, allocations: 0 / 1.407 GB, free: 15.9 MB / 1.139 GB Notification: Performance of Templates: time 0.02962/1.028, allocations: 18.78 MB / 1.425 GB, free: 13.34 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches