Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001421/0.001421, allocations: 106.8 kB / 16.41 MB, free: 6.508 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.001626/0.001626, allocations: 187 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.373/2.373, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 64.09 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8377/0.8391, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1585/0.9976, allocations: 161.6 MB / 1.325 GB, free: 1.559 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004611/1.002, allocations: 3.627 MB / 1.329 GB, free: 13.92 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003418/1.003, allocations: 11.94 kB / 1.329 GB, free: 13.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005663/1.003, allocations: 162.9 kB / 1.329 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001346/1.005, allocations: 0.5484 MB / 1.329 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/1.006, allocations: 445.4 kB / 1.33 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002608/1.008, allocations: 2.575 MB / 1.332 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002787/1.011, allocations: 2.407 MB / 1.335 GB, free: 7.766 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/1.013, allocations: 1.059 MB / 1.336 GB, free: 6.703 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/1.014, allocations: 0.7078 MB / 1.336 GB, free: 5.992 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000198/1.015, allocations: 60 kB / 1.336 GB, free: 5.934 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/1.016, allocations: 0.7484 MB / 1.337 GB, free: 5.184 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004135/1.017, allocations: 318.8 kB / 1.337 GB, free: 4.871 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008734/1.017, allocations: 0.548 MB / 1.338 GB, free: 4.32 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001745/1.019, allocations: 1.419 MB / 1.339 GB, free: 2.898 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.019, allocations: 0 / 1.339 GB, free: 2.898 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.623e-06/1.019, allocations: 0 / 1.339 GB, free: 2.898 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.609e-05/1.019, allocations: 3.938 kB / 1.339 GB, free: 2.895 MB / 1.061 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.002366/1.022, allocations: 1.455 MB / 1.341 GB, free: 1.379 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/1.022, allocations: 8.031 kB / 1.341 GB, free: 1.371 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007319/1.022, allocations: 194.4 kB / 1.341 GB, free: 1.18 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/1.024, allocations: 0.8569 MB / 1.342 GB, free: 272 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/1.024, allocations: 45 kB / 1.342 GB, free: 228 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.164e-05/1.024, allocations: 60 kB / 1.342 GB, free: 168 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/1.025, allocations: 0.82 MB / 1.343 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/1.025, allocations: 7.938 kB / 1.343 GB, free: 15.26 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.172e-05/1.025, allocations: 16 kB / 1.343 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/1.025, allocations: 16 kB / 1.343 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009004/1.026, allocations: 0.5617 MB / 1.343 GB, free: 14.66 MB / 1.076 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.003861/1.03, allocations: 4.204 MB / 1.347 GB, free: 10.19 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007118/1.031, allocations: 446.1 kB / 1.348 GB, free: 9.75 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004536/1.031, allocations: 344.6 kB / 1.348 GB, free: 9.41 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002961/1.031, allocations: 198.2 kB / 1.348 GB, free: 9.18 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005144/1.032, allocations: 328.4 kB / 1.349 GB, free: 8.84 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002253/1.032, allocations: 39.53 kB / 1.349 GB, free: 8.801 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 2.384e-06/1.032, allocations: 0 / 1.349 GB, free: 8.801 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.001416/1.034, allocations: 0.6993 MB / 1.349 GB, free: 8.094 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/1.034, allocations: 85.05 kB / 1.35 GB, free: 7.992 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/1.035, allocations: 1.151 MB / 1.351 GB, free: 6.824 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.363e-05/1.035, allocations: 45.69 kB / 1.351 GB, free: 6.773 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000382/1.035, allocations: 484.4 kB / 1.351 GB, free: 6.293 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.052e-05/1.036, allocations: 114.4 kB / 1.351 GB, free: 6.18 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/1.036, allocations: 114.2 kB / 1.351 GB, free: 6.062 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001043/1.036, allocations: 329.9 kB / 1.352 GB, free: 5.734 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003859/1.036, allocations: 238.9 kB / 1.352 GB, free: 5.5 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006122/1.037, allocations: 0.5498 MB / 1.352 GB, free: 4.816 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009002/1.038, allocations: 0.6706 MB / 1.353 GB, free: 4.066 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/1.038, allocations: 0 / 1.353 GB, free: 4.066 MB / 1.076 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001251/1.039, allocations: 0.7708 MB / 1.354 GB, free: 3.281 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/1.039, allocations: 33.7 kB / 1.354 GB, free: 3.242 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/1.039, allocations: 4.656 kB / 1.354 GB, free: 3.238 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/1.039, allocations: 8 kB / 1.354 GB, free: 3.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004839/1.04, allocations: 119.8 kB / 1.354 GB, free: 3.113 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/1.04, allocations: 11.94 kB / 1.354 GB, free: 3.102 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007014/1.04, allocations: 60.2 kB / 1.354 GB, free: 3.043 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.517e-05/1.04, allocations: 27.94 kB / 1.354 GB, free: 3.016 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006711/1.041, allocations: 0.5204 MB / 1.355 GB, free: 2.492 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005426/1.042, allocations: 0.503 MB / 1.355 GB, free: 1.855 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007678/1.042, allocations: 0.5997 MB / 1.356 GB, free: 1.176 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.116e-06/1.042, allocations: 0 / 1.356 GB, free: 1.176 MB / 1.076 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001075/1.044, allocations: 0.6966 MB / 1.356 GB, free: 476 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/1.044, allocations: 37.7 kB / 1.356 GB, free: 432 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/1.044, allocations: 4 kB / 1.356 GB, free: 428 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/1.044, allocations: 8.656 kB / 1.356 GB, free: 420 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004214/1.044, allocations: 115.8 kB / 1.357 GB, free: 304 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/1.044, allocations: 11.94 kB / 1.357 GB, free: 292 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006998/1.045, allocations: 64.25 kB / 1.357 GB, free: 228 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/1.045, allocations: 20 kB / 1.357 GB, free: 208 kB / 1.076 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.0002041/1.045, allocations: 236 kB / 1.357 GB, free: 15.96 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/1.045, allocations: 102.7 kB / 1.357 GB, free: 15.86 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009278/1.046, allocations: 0.531 MB / 1.357 GB, free: 15.33 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/1.046, allocations: 4 kB / 1.357 GB, free: 15.32 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/1.046, allocations: 0 / 1.357 GB, free: 15.32 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/1.046, allocations: 0 / 1.357 GB, free: 15.32 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/1.048, allocations: 1.501 MB / 1.359 GB, free: 13.75 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/1.048, allocations: 8.156 kB / 1.359 GB, free: 13.74 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003143/1.049, allocations: 71.88 kB / 1.359 GB, free: 13.67 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/1.049, allocations: 4 kB / 1.359 GB, free: 13.66 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/1.049, allocations: 8 kB / 1.359 GB, free: 13.66 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/1.049, allocations: 4 kB / 1.359 GB, free: 13.65 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.049, allocations: 0 / 1.359 GB, free: 13.65 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008363/1.05, allocations: 0.6592 MB / 1.36 GB, free: 12.96 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003863/1.05, allocations: 231.8 kB / 1.36 GB, free: 12.71 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/1.05, allocations: 16 kB / 1.36 GB, free: 12.7 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005295/1.051, allocations: 35.94 kB / 1.36 GB, free: 12.66 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.898e-05/1.051, allocations: 27.97 kB / 1.36 GB, free: 12.63 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/1.051, allocations: 12 kB / 1.36 GB, free: 12.62 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009819/1.052, allocations: 0.8199 MB / 1.361 GB, free: 11.79 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.71e-07/1.052, allocations: 3.938 kB / 1.361 GB, free: 11.79 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001078/1.053, allocations: 427.4 kB / 1.361 GB, free: 11.37 MB / 1.092 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.0004246/1.053, allocations: 189.2 kB / 1.361 GB, free: 11.18 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001415/1.055, allocations: 0.8993 MB / 1.362 GB, free: 10.26 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.055, allocations: 0 / 1.362 GB, free: 10.26 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003652/1.055, allocations: 227.1 kB / 1.362 GB, free: 10.04 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/1.057, allocations: 0.4899 MB / 1.363 GB, free: 9.555 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/1.06, allocations: 1.811 MB / 1.365 GB, free: 7.68 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007231/1.061, allocations: 1.182 MB / 1.366 GB, free: 6.469 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/1.061, allocations: 87.36 kB / 1.366 GB, free: 6.383 MB / 1.092 GB Notification: Performance of SimCode: time 3.41e-07/1.061, allocations: 0 / 1.366 GB, free: 6.383 MB / 1.092 GB Notification: Performance of Templates: time 0.02335/1.084, allocations: 16.66 MB / 1.382 GB, free: 5.844 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches