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.007684/0.007684, allocations: 102 kB / 15.73 MB, free: 6.039 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.00171/0.00171, allocations: 194.2 kB / 16.67 MB, free: 5.961 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.546/2.546, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 68.02 kB / 1.054 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7889/0.7902, allocations: 157.4 MB / 1.208 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.161/0.9513, allocations: 161.6 MB / 1.366 GB, free: 11.34 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.005243/0.9566, allocations: 3.623 MB / 1.369 GB, free: 7.703 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005114/0.9571, allocations: 11.94 kB / 1.369 GB, free: 7.691 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005826/0.9578, allocations: 162.9 kB / 1.369 GB, free: 7.531 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.9592, allocations: 0.5289 MB / 1.37 GB, free: 7 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.9605, allocations: 432.4 kB / 1.37 GB, free: 6.582 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002677/0.9632, allocations: 2.571 MB / 1.373 GB, free: 4.008 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00286/0.966, allocations: 2.403 MB / 1.375 GB, free: 1.59 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001758/0.9678, allocations: 1.055 MB / 1.376 GB, free: 0.5312 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.9689, allocations: 0.7157 MB / 1.377 GB, free: 15.81 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001584/0.9691, allocations: 60 kB / 1.377 GB, free: 15.75 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.9705, allocations: 0.7405 MB / 1.378 GB, free: 15.01 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003355/0.9708, allocations: 322.8 kB / 1.378 GB, free: 14.7 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.000713/0.9716, allocations: 0.5401 MB / 1.378 GB, free: 14.15 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00155/0.9731, allocations: 1.423 MB / 1.38 GB, free: 12.73 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.9731, allocations: 3.938 kB / 1.38 GB, free: 12.72 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.392e-06/0.9732, allocations: 0 / 1.38 GB, free: 12.72 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.9732, allocations: 0 / 1.38 GB, free: 12.72 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.002153/0.9753, allocations: 1.455 MB / 1.381 GB, free: 11.21 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.9754, allocations: 8.031 kB / 1.381 GB, free: 11.2 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007175/0.9761, allocations: 198.4 kB / 1.381 GB, free: 11 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.9775, allocations: 0.8414 MB / 1.382 GB, free: 10.11 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/0.9776, allocations: 41 kB / 1.382 GB, free: 10.07 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-05/0.9777, allocations: 67.98 kB / 1.382 GB, free: 10 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.9788, allocations: 0.8237 MB / 1.383 GB, free: 9.098 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.9788, allocations: 0 / 1.383 GB, free: 9.098 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.909e-05/0.9789, allocations: 24 kB / 1.383 GB, free: 9.074 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.9789, allocations: 12 kB / 1.383 GB, free: 9.062 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009161/0.9798, allocations: 0.5695 MB / 1.384 GB, free: 8.492 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.004006/0.9838, allocations: 4.208 MB / 1.388 GB, free: 4.016 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007386/0.9846, allocations: 439.6 kB / 1.388 GB, free: 3.578 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004698/0.9851, allocations: 348.6 kB / 1.389 GB, free: 3.234 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002923/0.9854, allocations: 202.2 kB / 1.389 GB, free: 3 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005136/0.9859, allocations: 319.1 kB / 1.389 GB, free: 2.668 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002189/0.9861, allocations: 35.59 kB / 1.389 GB, free: 2.633 MB / 1.107 GB Notification: Performance of pre-optimization done (n=33): time 1.984e-06/0.9862, allocations: 0 / 1.389 GB, free: 2.633 MB / 1.107 GB Notification: Performance of matching and sorting (n=33): time 0.00142/0.9876, allocations: 0.7017 MB / 1.39 GB, free: 1.926 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.9876, allocations: 85.11 kB / 1.39 GB, free: 1.824 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.989, allocations: 1.151 MB / 1.391 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.584e-05/0.989, allocations: 41.75 kB / 1.391 GB, free: 0.6094 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003716/0.9894, allocations: 492.4 kB / 1.392 GB, free: 128 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.545e-05/0.9895, allocations: 114.4 kB / 1.392 GB, free: 12 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.9897, allocations: 114.1 kB / 1.392 GB, free: 15.89 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.9898, allocations: 337.8 kB / 1.392 GB, free: 15.56 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004055/0.9902, allocations: 238.9 kB / 1.392 GB, free: 15.32 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006271/0.9909, allocations: 0.5382 MB / 1.393 GB, free: 14.65 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009222/0.9918, allocations: 0.6698 MB / 1.393 GB, free: 13.9 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.9918, allocations: 4 kB / 1.393 GB, free: 13.89 MB / 1.123 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001284/0.9931, allocations: 0.763 MB / 1.394 GB, free: 13.12 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/0.9931, allocations: 38.34 kB / 1.394 GB, free: 13.07 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.9932, allocations: 8 kB / 1.394 GB, free: 13.07 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.9932, allocations: 12 kB / 1.394 GB, free: 13.05 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005274/0.9937, allocations: 115.7 kB / 1.394 GB, free: 12.94 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.9938, allocations: 11.94 kB / 1.394 GB, free: 12.93 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007602/0.9945, allocations: 63.91 kB / 1.394 GB, free: 12.87 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.387e-05/0.9946, allocations: 35.92 kB / 1.394 GB, free: 12.83 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006926/0.9953, allocations: 0.5125 MB / 1.395 GB, free: 12.32 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005609/0.9959, allocations: 0.5069 MB / 1.395 GB, free: 11.68 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007926/0.9967, allocations: 0.5919 MB / 1.396 GB, free: 11 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.018e-06/0.9967, allocations: 4 kB / 1.396 GB, free: 11 MB / 1.123 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001064/0.9977, allocations: 0.6969 MB / 1.397 GB, free: 10.29 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.9978, allocations: 33.7 kB / 1.397 GB, free: 10.25 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.9978, allocations: 4.656 kB / 1.397 GB, free: 10.25 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.9978, allocations: 8 kB / 1.397 GB, free: 10.24 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/0.9983, allocations: 115.8 kB / 1.397 GB, free: 10.12 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.9983, allocations: 11.94 kB / 1.397 GB, free: 10.11 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007111/0.999, allocations: 68.23 kB / 1.397 GB, free: 10.05 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/0.9991, allocations: 28 kB / 1.397 GB, free: 10.02 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.0001649/0.9992, allocations: 223.9 kB / 1.397 GB, free: 9.793 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.9994, allocations: 102.7 kB / 1.397 GB, free: 9.691 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009461/1, allocations: 0.5427 MB / 1.398 GB, free: 9.141 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/1, allocations: 4 kB / 1.398 GB, free: 9.137 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1, allocations: 0 / 1.398 GB, free: 9.137 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/1, allocations: 3.984 kB / 1.398 GB, free: 9.133 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/1.003, allocations: 1.49 MB / 1.399 GB, free: 7.566 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/1.003, allocations: 11.97 kB / 1.399 GB, free: 7.555 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003455/1.003, allocations: 67.88 kB / 1.399 GB, free: 7.488 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/1.003, allocations: 4 kB / 1.399 GB, free: 7.484 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/1.003, allocations: 8 kB / 1.399 GB, free: 7.477 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/1.003, allocations: 11.92 kB / 1.399 GB, free: 7.465 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.003, allocations: 0 / 1.399 GB, free: 7.465 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009084/1.004, allocations: 0.6594 MB / 1.4 GB, free: 6.77 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004218/1.004, allocations: 227.8 kB / 1.4 GB, free: 6.527 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/1.005, allocations: 16 kB / 1.4 GB, free: 6.512 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005898/1.005, allocations: 39.94 kB / 1.4 GB, free: 6.473 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.212e-05/1.005, allocations: 27.97 kB / 1.4 GB, free: 6.445 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/1.005, allocations: 15.98 kB / 1.4 GB, free: 6.43 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001048/1.006, allocations: 0.816 MB / 1.401 GB, free: 5.605 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/1.006, allocations: 0 / 1.401 GB, free: 5.605 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001163/1.007, allocations: 427.4 kB / 1.402 GB, free: 5.188 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.0004292/1.008, allocations: 181.6 kB / 1.402 GB, free: 5.008 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001436/1.009, allocations: 0.895 MB / 1.403 GB, free: 4.09 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.009, allocations: 0.6875 kB / 1.403 GB, free: 4.09 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0004033/1.01, allocations: 242.9 kB / 1.403 GB, free: 3.855 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/1.012, allocations: 499.3 kB / 1.403 GB, free: 3.371 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/1.015, allocations: 1.755 MB / 1.405 GB, free: 1.559 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000721/1.015, allocations: 1.182 MB / 1.406 GB, free: 352 kB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001032/1.016, allocations: 436.1 kB / 1.407 GB, free: 15.91 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/1.017, allocations: 79.36 kB / 1.407 GB, free: 15.84 MB / 1.139 GB Notification: Performance of SimCode: time 4.21e-07/1.017, allocations: 0 / 1.407 GB, free: 15.84 MB / 1.139 GB Notification: Performance of Templates: time 0.03055/1.047, allocations: 19.11 MB / 1.425 GB, free: 12.95 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