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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001212/0.001212, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.001086/0.001086, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.36/1.36, 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.0-master/package.mo): time 2.461/2.461, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 64.22 kB / 0.8773 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2989, allocations: 153 MB / 1.027 GB, free: 1.988 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.7019/1.001, allocations: 161.6 MB / 1.185 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005905/1.007, allocations: 3.628 MB / 1.188 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004493/1.007, allocations: 11.19 kB / 1.188 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006558/1.008, allocations: 164.9 kB / 1.188 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001577/1.01, allocations: 0.5164 MB / 1.189 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001456/1.011, allocations: 441.2 kB / 1.189 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003104/1.014, allocations: 2.565 MB / 1.192 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003328/1.018, allocations: 2.417 MB / 1.194 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002521/1.02, allocations: 1.044 MB / 1.195 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/1.021, allocations: 0.7147 MB / 1.196 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000124/1.021, allocations: 58.53 kB / 1.196 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/1.023, allocations: 0.7394 MB / 1.197 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000381/1.024, allocations: 310.7 kB / 1.197 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007642/1.024, allocations: 0.5547 MB / 1.197 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001881/1.026, allocations: 1.414 MB / 1.199 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/1.026, allocations: 2.562 kB / 1.199 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.103e-06/1.026, allocations: 0 / 1.199 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.081e-05/1.026, allocations: 0 / 1.199 GB, free: 8.695 MB / 0.9044 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.00259/1.029, allocations: 1.453 MB / 1.2 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.029, allocations: 14.66 kB / 1.2 GB, free: 7.574 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000892/1.03, allocations: 183.7 kB / 1.2 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/1.031, allocations: 0.8562 MB / 1.201 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/1.031, allocations: 42.16 kB / 1.201 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.597e-05/1.032, allocations: 63.86 kB / 1.201 GB, free: 6.824 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/1.033, allocations: 0.8289 MB / 1.202 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/1.033, allocations: 2.469 kB / 1.202 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.341e-05/1.033, allocations: 21.16 kB / 1.202 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/1.033, allocations: 15 kB / 1.202 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009262/1.034, allocations: 0.5677 MB / 1.203 GB, free: 5.93 MB / 0.9044 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.004664/1.039, allocations: 4.206 MB / 1.207 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007381/1.039, allocations: 439.1 kB / 1.207 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000553/1.04, allocations: 343 kB / 1.208 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003144/1.04, allocations: 195.4 kB / 1.208 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005438/1.041, allocations: 327.7 kB / 1.208 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003197/1.041, allocations: 29.78 kB / 1.208 GB, free: 1.332 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=33): time 2.384e-06/1.041, allocations: 0 / 1.208 GB, free: 1.332 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.001426/1.043, allocations: 0.7091 MB / 1.209 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.726e-05/1.043, allocations: 81.98 kB / 1.209 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/1.044, allocations: 1.154 MB / 1.21 GB, free: 268 kB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.427e-05/1.044, allocations: 41.08 kB / 1.21 GB, free: 228 kB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004965/1.045, allocations: 487.8 kB / 1.211 GB, free: 15.81 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/1.045, allocations: 120.5 kB / 1.211 GB, free: 15.71 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/1.045, allocations: 114.2 kB / 1.211 GB, free: 15.64 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001797/1.045, allocations: 330.2 kB / 1.211 GB, free: 15.32 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004513/1.046, allocations: 238.4 kB / 1.211 GB, free: 15.2 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007285/1.046, allocations: 0.5463 MB / 1.212 GB, free: 14.68 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/1.047, allocations: 0.6683 MB / 1.212 GB, free: 14.19 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/1.047, allocations: 0 / 1.212 GB, free: 14.19 MB / 0.92 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001352/1.049, allocations: 0.7682 MB / 1.213 GB, free: 13.65 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.105e-05/1.049, allocations: 41.69 kB / 1.213 GB, free: 13.6 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.049, allocations: 4 kB / 1.213 GB, free: 13.6 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/1.049, allocations: 8.109 kB / 1.213 GB, free: 13.59 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/1.049, allocations: 119.7 kB / 1.213 GB, free: 13.47 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/1.049, allocations: 9.016 kB / 1.213 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008095/1.05, allocations: 60.02 kB / 1.213 GB, free: 13.41 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.137e-05/1.05, allocations: 27.98 kB / 1.213 GB, free: 13.38 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007387/1.051, allocations: 0.5202 MB / 1.214 GB, free: 12.86 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005905/1.052, allocations: 0.5069 MB / 1.214 GB, free: 12.21 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008283/1.053, allocations: 0.6002 MB / 1.215 GB, free: 11.54 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.905e-06/1.053, allocations: 0 / 1.215 GB, free: 11.54 MB / 0.92 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001161/1.054, allocations: 0.6893 MB / 1.216 GB, free: 10.83 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/1.054, allocations: 37.83 kB / 1.216 GB, free: 10.79 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.054, allocations: 8 kB / 1.216 GB, free: 10.78 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/1.054, allocations: 11.94 kB / 1.216 GB, free: 10.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004302/1.054, allocations: 108 kB / 1.216 GB, free: 10.66 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/1.054, allocations: 9.562 kB / 1.216 GB, free: 10.66 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007471/1.055, allocations: 76.23 kB / 1.216 GB, free: 10.58 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/1.055, allocations: 24 kB / 1.216 GB, free: 10.56 MB / 0.92 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.0002075/1.055, allocations: 220 kB / 1.216 GB, free: 10.34 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/1.055, allocations: 98.78 kB / 1.216 GB, free: 10.24 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/1.056, allocations: 0.5426 MB / 1.217 GB, free: 9.684 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/1.056, allocations: 8 kB / 1.217 GB, free: 9.676 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/1.057, allocations: 4 kB / 1.217 GB, free: 9.672 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/1.057, allocations: 3.984 kB / 1.217 GB, free: 9.668 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/1.059, allocations: 1.495 MB / 1.218 GB, free: 8.098 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/1.059, allocations: 0 / 1.218 GB, free: 8.098 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000313/1.059, allocations: 75.81 kB / 1.218 GB, free: 8.023 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/1.059, allocations: 4 kB / 1.218 GB, free: 8.02 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/1.059, allocations: 8 kB / 1.218 GB, free: 8.012 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/1.059, allocations: 8.156 kB / 1.218 GB, free: 8.004 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/1.059, allocations: 12 kB / 1.218 GB, free: 7.992 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008991/1.06, allocations: 0.6586 MB / 1.219 GB, free: 7.297 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004049/1.061, allocations: 227.8 kB / 1.219 GB, free: 7.055 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/1.061, allocations: 8 kB / 1.219 GB, free: 7.047 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005319/1.061, allocations: 39.94 kB / 1.219 GB, free: 7.008 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.94e-05/1.061, allocations: 31.97 kB / 1.219 GB, free: 6.977 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/1.061, allocations: 11.98 kB / 1.219 GB, free: 6.965 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001056/1.062, allocations: 0.816 MB / 1.22 GB, free: 6.141 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.8e-07/1.062, allocations: 0 / 1.22 GB, free: 6.141 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001155/1.064, allocations: 427.5 kB / 1.221 GB, free: 5.723 MB / 0.92 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.0004719/1.064, allocations: 179.4 kB / 1.221 GB, free: 5.551 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001447/1.066, allocations: 0.9111 MB / 1.222 GB, free: 4.617 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.066, allocations: 0 / 1.222 GB, free: 4.617 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004077/1.066, allocations: 235.7 kB / 1.222 GB, free: 4.387 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/1.068, allocations: 0.4932 MB / 1.222 GB, free: 3.902 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/1.071, allocations: 1.761 MB / 1.224 GB, free: 2.094 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007642/1.071, allocations: 1.182 MB / 1.225 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001068/1.073, allocations: 440 kB / 1.226 GB, free: 456 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/1.073, allocations: 79.42 kB / 1.226 GB, free: 380 kB / 0.92 GB Notification: Performance of SimCode: time 9.52e-07/1.073, allocations: 4 kB / 1.226 GB, free: 376 kB / 0.92 GB Notification: Performance of Templates: time 0.03261/1.105, allocations: 18.63 MB / 1.244 GB, free: 13.95 MB / 0.9512 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 -s cvode -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