Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00146/0.00146, allocations: 109.9 kB / 16.41 MB, free: 6.496 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.001543/0.001543, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.294/2.294, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.91 kB / 0.9515 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8223/0.8236, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.201/1.025, allocations: 161.6 MB / 1.246 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005767/1.03, allocations: 3.622 MB / 1.25 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004903/1.031, allocations: 19.81 kB / 1.25 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006759/1.032, allocations: 162.9 kB / 1.25 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001551/1.033, allocations: 0.5211 MB / 1.251 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001459/1.035, allocations: 450 kB / 1.251 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00291/1.038, allocations: 2.567 MB / 1.254 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002907/1.041, allocations: 2.404 MB / 1.256 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002266/1.043, allocations: 1.059 MB / 1.257 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/1.044, allocations: 0.7156 MB / 1.258 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001302/1.044, allocations: 60 kB / 1.258 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/1.046, allocations: 0.7445 MB / 1.258 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003248/1.046, allocations: 306.9 kB / 1.259 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006834/1.047, allocations: 0.5518 MB / 1.259 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001821/1.049, allocations: 1.415 MB / 1.261 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/1.049, allocations: 0 / 1.261 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.783e-06/1.049, allocations: 0 / 1.261 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.767e-05/1.049, allocations: 0 / 1.261 GB, free: 13.48 MB / 0.9981 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.002316/1.051, allocations: 1.462 MB / 1.262 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.051, allocations: 12.03 kB / 1.262 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007707/1.052, allocations: 182.5 kB / 1.262 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/1.053, allocations: 0.8569 MB / 1.263 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.371e-05/1.053, allocations: 45 kB / 1.263 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.451e-05/1.053, allocations: 59.98 kB / 1.263 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/1.054, allocations: 0.8122 MB / 1.264 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/1.054, allocations: 11.94 kB / 1.264 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.597e-05/1.054, allocations: 24 kB / 1.264 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/1.054, allocations: 12 kB / 1.264 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008996/1.055, allocations: 0.5656 MB / 1.265 GB, free: 9.242 MB / 0.9981 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.003988/1.059, allocations: 4.211 MB / 1.269 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007497/1.06, allocations: 442.7 kB / 1.269 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004722/1.061, allocations: 345.1 kB / 1.269 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003077/1.061, allocations: 194.2 kB / 1.27 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005308/1.061, allocations: 323.1 kB / 1.27 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000299/1.062, allocations: 31.59 kB / 1.27 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.434e-06/1.062, allocations: 0 / 1.27 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.001418/1.063, allocations: 0.6975 MB / 1.271 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/1.063, allocations: 85.11 kB / 1.271 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/1.065, allocations: 1.159 MB / 1.272 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.621e-05/1.065, allocations: 37.7 kB / 1.272 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000402/1.065, allocations: 488.4 kB / 1.272 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.27e-05/1.065, allocations: 118.3 kB / 1.273 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/1.065, allocations: 118.1 kB / 1.273 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001182/1.065, allocations: 321.9 kB / 1.273 GB, free: 332 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003974/1.066, allocations: 238.9 kB / 1.273 GB, free: 92 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006357/1.067, allocations: 0.5462 MB / 1.274 GB, free: 15.41 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009265/1.067, allocations: 0.6778 MB / 1.274 GB, free: 14.65 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/1.067, allocations: 0 / 1.274 GB, free: 14.65 MB / 1.014 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001287/1.069, allocations: 0.7669 MB / 1.275 GB, free: 13.87 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.645e-05/1.069, allocations: 37.69 kB / 1.275 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.069, allocations: 4 kB / 1.275 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/1.069, allocations: 8.109 kB / 1.275 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/1.069, allocations: 128.2 kB / 1.275 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/1.069, allocations: 8 kB / 1.275 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008131/1.07, allocations: 55.92 kB / 1.275 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.548e-05/1.07, allocations: 31.92 kB / 1.275 GB, free: 13.59 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007721/1.071, allocations: 0.5204 MB / 1.276 GB, free: 13.07 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005725/1.072, allocations: 0.503 MB / 1.276 GB, free: 12.43 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007757/1.072, allocations: 0.6077 MB / 1.277 GB, free: 11.75 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/1.072, allocations: 0 / 1.277 GB, free: 11.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001075/1.074, allocations: 0.6888 MB / 1.278 GB, free: 11.04 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/1.074, allocations: 33.7 kB / 1.278 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/1.074, allocations: 8 kB / 1.278 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/1.074, allocations: 8 kB / 1.278 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004432/1.074, allocations: 112.4 kB / 1.278 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/1.074, allocations: 8 kB / 1.278 GB, free: 10.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007699/1.075, allocations: 72.23 kB / 1.278 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/1.075, allocations: 24 kB / 1.278 GB, free: 10.78 MB / 1.014 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.0002335/1.075, allocations: 227.9 kB / 1.278 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/1.075, allocations: 102.7 kB / 1.278 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/1.076, allocations: 0.5427 MB / 1.279 GB, free: 9.895 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/1.076, allocations: 4 kB / 1.279 GB, free: 9.891 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/1.076, allocations: 4 kB / 1.279 GB, free: 9.887 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/1.076, allocations: 3.984 kB / 1.279 GB, free: 9.883 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/1.079, allocations: 1.487 MB / 1.28 GB, free: 8.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.079, allocations: 3.938 kB / 1.28 GB, free: 8.316 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003494/1.079, allocations: 76.09 kB / 1.28 GB, free: 8.242 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/1.079, allocations: 4 kB / 1.28 GB, free: 8.238 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/1.079, allocations: 8 kB / 1.28 GB, free: 8.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/1.079, allocations: 4 kB / 1.28 GB, free: 8.227 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/1.079, allocations: 11.92 kB / 1.28 GB, free: 8.215 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008874/1.08, allocations: 0.6508 MB / 1.281 GB, free: 7.527 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003201/1.08, allocations: 227.8 kB / 1.281 GB, free: 7.285 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/1.08, allocations: 11.94 kB / 1.281 GB, free: 7.273 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/1.081, allocations: 43.94 kB / 1.281 GB, free: 7.23 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.426e-05/1.081, allocations: 31.91 kB / 1.281 GB, free: 7.199 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/1.081, allocations: 15.98 kB / 1.281 GB, free: 7.184 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009906/1.082, allocations: 0.816 MB / 1.282 GB, free: 6.359 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.082, allocations: 4 kB / 1.282 GB, free: 6.355 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001083/1.083, allocations: 423.5 kB / 1.282 GB, free: 5.941 MB / 1.014 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.0004626/1.084, allocations: 168 kB / 1.283 GB, free: 5.773 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001446/1.085, allocations: 0.9067 MB / 1.284 GB, free: 4.844 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.085, allocations: 0 / 1.284 GB, free: 4.844 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003726/1.085, allocations: 238.3 kB / 1.284 GB, free: 4.613 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/1.088, allocations: 0.4967 MB / 1.284 GB, free: 4.125 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/1.09, allocations: 1.815 MB / 1.286 GB, free: 2.246 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007174/1.091, allocations: 1.178 MB / 1.287 GB, free: 1.039 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/1.091, allocations: 79.42 kB / 1.287 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of SimCode: time 6.91e-07/1.091, allocations: 0 / 1.287 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of Templates: time 0.02518/1.117, allocations: 16.65 MB / 1.303 GB, free: 440 kB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches