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.001768/0.001768, allocations: 104.8 kB / 16.27 MB, free: 6.414 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.001619/0.001619, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.402/1.402, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.567/2.567, allocations: 437.1 MB / 0.7111 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 67.95 kB / 0.8699 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3205, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.7048/1.025, allocations: 161.6 MB / 1.176 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005713/1.031, allocations: 3.639 MB / 1.179 GB, free: 9.598 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004139/1.032, allocations: 15.81 kB / 1.179 GB, free: 9.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006349/1.032, allocations: 163.1 kB / 1.18 GB, free: 9.453 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001518/1.034, allocations: 0.5253 MB / 1.18 GB, free: 9.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001361/1.035, allocations: 439.6 kB / 1.18 GB, free: 8.75 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002995/1.038, allocations: 2.555 MB / 1.183 GB, free: 7.348 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003034/1.041, allocations: 2.411 MB / 1.185 GB, free: 5.867 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002217/1.043, allocations: 1.038 MB / 1.186 GB, free: 5.332 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/1.045, allocations: 0.7154 MB / 1.187 GB, free: 4.922 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001165/1.045, allocations: 57.81 kB / 1.187 GB, free: 4.922 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/1.046, allocations: 0.737 MB / 1.188 GB, free: 4.531 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003656/1.047, allocations: 318.5 kB / 1.188 GB, free: 4.316 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007056/1.047, allocations: 0.5455 MB / 1.189 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001743/1.049, allocations: 1.402 MB / 1.19 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.049, allocations: 0 / 1.19 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.543e-06/1.049, allocations: 0 / 1.19 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.797e-05/1.049, allocations: 0 / 1.19 GB, free: 3.141 MB / 0.8887 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.002673/1.052, allocations: 1.456 MB / 1.191 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/1.052, allocations: 14.03 kB / 1.191 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008312/1.053, allocations: 196.3 kB / 1.192 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/1.054, allocations: 0.8031 MB / 1.192 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/1.054, allocations: 41.91 kB / 1.192 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.074e-05/1.054, allocations: 56.78 kB / 1.192 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/1.055, allocations: 0.8269 MB / 1.193 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/1.055, allocations: 3.938 kB / 1.193 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-05/1.056, allocations: 23.59 kB / 1.193 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/1.056, allocations: 12.16 kB / 1.193 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009092/1.056, allocations: 0.5704 MB / 1.194 GB, free: 404 kB / 0.8887 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.004185/1.061, allocations: 4.213 MB / 1.198 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007289/1.061, allocations: 440.1 kB / 1.198 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004762/1.062, allocations: 341.7 kB / 1.199 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003192/1.062, allocations: 195.8 kB / 1.199 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005502/1.063, allocations: 330.2 kB / 1.199 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002801/1.063, allocations: 33.78 kB / 1.199 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=33): time 4.518e-06/1.063, allocations: 3.984 kB / 1.199 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.001354/1.064, allocations: 0.6982 MB / 1.2 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/1.065, allocations: 85.45 kB / 1.2 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/1.066, allocations: 1.156 MB / 1.201 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.105e-05/1.066, allocations: 34.17 kB / 1.201 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004257/1.066, allocations: 480.3 kB / 1.202 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/1.066, allocations: 120.6 kB / 1.202 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/1.067, allocations: 117.2 kB / 1.202 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.067, allocations: 334.7 kB / 1.202 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003928/1.067, allocations: 234.8 kB / 1.202 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006654/1.068, allocations: 0.5539 MB / 1.203 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009188/1.069, allocations: 0.6751 MB / 1.204 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.069, allocations: 2.094 kB / 1.204 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001248/1.07, allocations: 0.7698 MB / 1.204 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.53e-05/1.07, allocations: 33.45 kB / 1.204 GB, free: 8.203 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.07, allocations: 8.938 kB / 1.204 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/1.07, allocations: 8.406 kB / 1.204 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005167/1.071, allocations: 122.8 kB / 1.205 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.323e-05/1.071, allocations: 11.69 kB / 1.205 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008578/1.072, allocations: 61.45 kB / 1.205 GB, free: 8.125 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-05/1.072, allocations: 24.69 kB / 1.205 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007526/1.072, allocations: 0.5182 MB / 1.205 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006078/1.073, allocations: 0.5058 MB / 1.206 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008221/1.074, allocations: 0.6018 MB / 1.206 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.306e-06/1.074, allocations: 2.531 kB / 1.206 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.00109/1.075, allocations: 0.6889 MB / 1.207 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/1.075, allocations: 32.83 kB / 1.207 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.075, allocations: 11.22 kB / 1.207 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/1.075, allocations: 6.844 kB / 1.207 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/1.075, allocations: 111 kB / 1.207 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/1.075, allocations: 11.62 kB / 1.207 GB, free: 6.418 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007989/1.076, allocations: 63.47 kB / 1.207 GB, free: 6.391 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/1.076, allocations: 27.48 kB / 1.207 GB, free: 6.383 MB / 0.9044 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.0002033/1.077, allocations: 231.3 kB / 1.207 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/1.077, allocations: 98.34 kB / 1.207 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009571/1.078, allocations: 0.5408 MB / 1.208 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/1.078, allocations: 2.75 kB / 1.208 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.078, allocations: 3.938 kB / 1.208 GB, free: 5.805 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/1.078, allocations: 3.938 kB / 1.208 GB, free: 5.801 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/1.08, allocations: 1.506 MB / 1.21 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.08, allocations: 0 / 1.21 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003469/1.08, allocations: 75.81 kB / 1.21 GB, free: 4.195 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/1.08, allocations: 4 kB / 1.21 GB, free: 4.191 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/1.08, allocations: 8 kB / 1.21 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/1.08, allocations: 4 kB / 1.21 GB, free: 4.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/1.08, allocations: 4 kB / 1.21 GB, free: 4.176 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009716/1.081, allocations: 0.6702 MB / 1.21 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/1.082, allocations: 223.8 kB / 1.21 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/1.082, allocations: 8 kB / 1.21 GB, free: 3.223 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005607/1.082, allocations: 39.94 kB / 1.211 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.285e-05/1.082, allocations: 31.84 kB / 1.211 GB, free: 3.152 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/1.082, allocations: 24 kB / 1.211 GB, free: 3.129 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001061/1.084, allocations: 0.812 MB / 1.211 GB, free: 2.309 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.084, allocations: 4 kB / 1.211 GB, free: 2.305 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001126/1.085, allocations: 427.4 kB / 1.212 GB, free: 1.887 MB / 0.9044 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.0004688/1.085, allocations: 162.4 kB / 1.212 GB, free: 1.727 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001584/1.087, allocations: 0.9495 MB / 1.213 GB, free: 0.75 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/1.087, allocations: 0 / 1.213 GB, free: 0.75 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003949/1.087, allocations: 227.8 kB / 1.213 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/1.089, allocations: 0.4944 MB / 1.214 GB, free: 48 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/1.092, allocations: 1.841 MB / 1.215 GB, free: 14.14 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008225/1.093, allocations: 1.182 MB / 1.217 GB, free: 12.93 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/1.093, allocations: 75.42 kB / 1.217 GB, free: 12.86 MB / 0.92 GB Notification: Performance of SimCode: time 7.01e-07/1.093, allocations: 7.875 kB / 1.217 GB, free: 12.85 MB / 0.92 GB Notification: Performance of Templates: time 0.02613/1.119, allocations: 16.54 MB / 1.233 GB, free: 12.44 MB / 0.9356 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=400 -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