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.001398/0.001398, allocations: 106.2 kB / 16.41 MB, free: 6.438 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.001407/0.001407, allocations: 191.2 kB / 17.34 MB, free: 5.742 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.667/2.667, allocations: 461.9 MB / 0.7354 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 59.91 kB / 1.055 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8089/0.8104, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.167/0.9774, allocations: 161.6 MB / 1.366 GB, free: 11.35 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.004968/0.9824, allocations: 3.627 MB / 1.37 GB, free: 7.715 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004394/0.9829, allocations: 11.94 kB / 1.37 GB, free: 7.703 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006729/0.9836, allocations: 162.9 kB / 1.37 GB, free: 7.543 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.9852, allocations: 0.525 MB / 1.37 GB, free: 7.016 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.9865, allocations: 434.1 kB / 1.371 GB, free: 6.598 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002814/0.9893, allocations: 2.575 MB / 1.373 GB, free: 4.016 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002941/0.9923, allocations: 2.407 MB / 1.376 GB, free: 1.594 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002025/0.9943, allocations: 1.055 MB / 1.377 GB, free: 0.5352 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.9955, allocations: 0.7078 MB / 1.377 GB, free: 15.82 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002356/0.9958, allocations: 60 kB / 1.378 GB, free: 15.77 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.9974, allocations: 0.7523 MB / 1.378 GB, free: 15.01 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000427/0.9978, allocations: 314.9 kB / 1.379 GB, free: 14.7 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0009628/0.9988, allocations: 0.5441 MB / 1.379 GB, free: 14.16 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001986/1.001, allocations: 1.423 MB / 1.38 GB, free: 12.73 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/1.001, allocations: 0 / 1.38 GB, free: 12.73 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.713e-06/1.001, allocations: 0 / 1.38 GB, free: 12.73 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.574e-05/1.001, allocations: 0 / 1.38 GB, free: 12.73 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.002859/1.004, allocations: 1.451 MB / 1.382 GB, free: 11.22 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/1.004, allocations: 8.031 kB / 1.382 GB, free: 11.21 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009118/1.005, allocations: 198.3 kB / 1.382 GB, free: 11.02 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/1.006, allocations: 0.8531 MB / 1.383 GB, free: 10.11 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.41e-05/1.006, allocations: 41 kB / 1.383 GB, free: 10.07 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.624e-05/1.006, allocations: 60 kB / 1.383 GB, free: 10.01 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/1.008, allocations: 0.8238 MB / 1.384 GB, free: 9.105 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/1.008, allocations: 3.938 kB / 1.384 GB, free: 9.102 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-05/1.008, allocations: 24 kB / 1.384 GB, free: 9.078 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/1.008, allocations: 12 kB / 1.384 GB, free: 9.066 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009586/1.009, allocations: 0.5656 MB / 1.384 GB, free: 8.5 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.004013/1.013, allocations: 4.211 MB / 1.389 GB, free: 4.02 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007237/1.014, allocations: 435.8 kB / 1.389 GB, free: 3.586 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004642/1.014, allocations: 344.6 kB / 1.389 GB, free: 3.246 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000302/1.014, allocations: 198.3 kB / 1.389 GB, free: 3.016 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005376/1.015, allocations: 327.1 kB / 1.39 GB, free: 2.676 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002658/1.015, allocations: 35.53 kB / 1.39 GB, free: 2.641 MB / 1.107 GB Notification: Performance of pre-optimization done (n=33): time 2.875e-06/1.015, allocations: 4 kB / 1.39 GB, free: 2.637 MB / 1.107 GB Notification: Performance of matching and sorting (n=33): time 0.001476/1.017, allocations: 0.6939 MB / 1.391 GB, free: 1.938 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/1.017, allocations: 89.05 kB / 1.391 GB, free: 1.832 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/1.018, allocations: 1.155 MB / 1.392 GB, free: 0.6602 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.857e-05/1.018, allocations: 37.7 kB / 1.392 GB, free: 0.6172 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003533/1.019, allocations: 488.4 kB / 1.392 GB, free: 140 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.52e-05/1.019, allocations: 122.4 kB / 1.392 GB, free: 16 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/1.019, allocations: 110.2 kB / 1.392 GB, free: 15.9 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001076/1.019, allocations: 333.9 kB / 1.393 GB, free: 15.57 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004161/1.019, allocations: 234.9 kB / 1.393 GB, free: 15.34 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006274/1.02, allocations: 0.5421 MB / 1.394 GB, free: 14.66 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000917/1.021, allocations: 0.6739 MB / 1.394 GB, free: 13.91 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/1.021, allocations: 4 kB / 1.394 GB, free: 13.9 MB / 1.123 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001295/1.022, allocations: 0.763 MB / 1.395 GB, free: 13.12 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/1.022, allocations: 34.36 kB / 1.395 GB, free: 13.09 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/1.022, allocations: 12 kB / 1.395 GB, free: 13.07 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/1.022, allocations: 8 kB / 1.395 GB, free: 13.07 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005221/1.023, allocations: 119.7 kB / 1.395 GB, free: 12.95 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/1.023, allocations: 11.94 kB / 1.395 GB, free: 12.94 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008221/1.024, allocations: 59.92 kB / 1.395 GB, free: 12.88 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/1.024, allocations: 27.94 kB / 1.395 GB, free: 12.85 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006943/1.025, allocations: 0.5204 MB / 1.396 GB, free: 12.33 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005366/1.025, allocations: 0.5091 MB / 1.396 GB, free: 11.69 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007615/1.026, allocations: 0.5958 MB / 1.397 GB, free: 11.01 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.899e-06/1.026, allocations: 4 kB / 1.397 GB, free: 11.01 MB / 1.123 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.0011/1.027, allocations: 0.6849 MB / 1.397 GB, free: 10.31 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/1.027, allocations: 41.69 kB / 1.397 GB, free: 10.26 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.027, allocations: 4.656 kB / 1.397 GB, free: 10.26 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/1.027, allocations: 12 kB / 1.397 GB, free: 10.25 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004597/1.027, allocations: 111.8 kB / 1.398 GB, free: 10.14 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/1.028, allocations: 7.938 kB / 1.398 GB, free: 10.13 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007858/1.028, allocations: 68.25 kB / 1.398 GB, free: 10.06 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/1.028, allocations: 31.94 kB / 1.398 GB, free: 10.03 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.0001927/1.029, allocations: 223.9 kB / 1.398 GB, free: 9.805 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/1.029, allocations: 106.7 kB / 1.398 GB, free: 9.699 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009743/1.03, allocations: 0.5389 MB / 1.399 GB, free: 9.152 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/1.03, allocations: 4 kB / 1.399 GB, free: 9.148 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.03, allocations: 192 / 1.399 GB, free: 9.148 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/1.03, allocations: 0 / 1.399 GB, free: 9.148 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/1.032, allocations: 1.502 MB / 1.4 GB, free: 7.57 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/1.032, allocations: 3.938 kB / 1.4 GB, free: 7.566 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003454/1.032, allocations: 75.81 kB / 1.4 GB, free: 7.492 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/1.032, allocations: 0 / 1.4 GB, free: 7.492 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/1.032, allocations: 12 kB / 1.4 GB, free: 7.48 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/1.032, allocations: 0 / 1.4 GB, free: 7.48 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.032, allocations: 7.984 kB / 1.4 GB, free: 7.473 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008905/1.033, allocations: 0.6626 MB / 1.401 GB, free: 6.773 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003472/1.034, allocations: 223.8 kB / 1.401 GB, free: 6.535 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/1.034, allocations: 8 kB / 1.401 GB, free: 6.527 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006062/1.034, allocations: 35.95 kB / 1.401 GB, free: 6.492 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.253e-05/1.034, allocations: 35.95 kB / 1.401 GB, free: 6.457 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/1.034, allocations: 12 kB / 1.401 GB, free: 6.445 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001073/1.036, allocations: 0.8199 MB / 1.402 GB, free: 5.617 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.4e-07/1.036, allocations: 3.938 kB / 1.402 GB, free: 5.613 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001165/1.037, allocations: 423.4 kB / 1.402 GB, free: 5.199 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.0004664/1.037, allocations: 166.9 kB / 1.402 GB, free: 5.031 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001487/1.039, allocations: 0.9068 MB / 1.403 GB, free: 4.105 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/1.039, allocations: 64 / 1.403 GB, free: 4.105 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003671/1.039, allocations: 227.7 kB / 1.404 GB, free: 3.883 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/1.041, allocations: 0.4933 MB / 1.404 GB, free: 3.395 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/1.044, allocations: 1.815 MB / 1.406 GB, free: 1.516 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006982/1.045, allocations: 1.178 MB / 1.407 GB, free: 312 kB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/1.045, allocations: 83.42 kB / 1.407 GB, free: 228 kB / 1.123 GB Notification: Performance of SimCode: time 4.5e-07/1.045, allocations: 0 / 1.407 GB, free: 228 kB / 1.123 GB Notification: Performance of Templates: time 0.02345/1.068, allocations: 16.66 MB / 1.423 GB, free: 15.68 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/jenkins1/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