Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00509/0.00509, allocations: 100 kB / 15.73 MB, free: 6.059 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.001113/0.001113, allocations: 197 kB / 16.67 MB, free: 5.969 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.621/2.621, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 67.84 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8316/0.8328, allocations: 151.6 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1749/1.008, allocations: 161.6 MB / 1.324 GB, free: 1.551 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005267/1.013, allocations: 3.618 MB / 1.328 GB, free: 13.92 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004449/1.013, allocations: 15.94 kB / 1.328 GB, free: 13.9 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006686/1.014, allocations: 154.9 kB / 1.328 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001548/1.016, allocations: 0.5289 MB / 1.329 GB, free: 13.22 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001305/1.017, allocations: 436.9 kB / 1.329 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002907/1.02, allocations: 2.536 MB / 1.332 GB, free: 10.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/1.021, allocations: 0.9406 MB / 1.332 GB, free: 9.305 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/1.023, allocations: 1.035 MB / 1.333 GB, free: 8.266 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/1.025, allocations: 0.7039 MB / 1.334 GB, free: 7.559 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002218/1.025, allocations: 56 kB / 1.334 GB, free: 7.504 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/1.026, allocations: 0.7445 MB / 1.335 GB, free: 6.758 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004356/1.027, allocations: 310.9 kB / 1.335 GB, free: 6.453 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009892/1.028, allocations: 0.5324 MB / 1.336 GB, free: 5.918 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002085/1.03, allocations: 1.417 MB / 1.337 GB, free: 4.496 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.03, allocations: 4 kB / 1.337 GB, free: 4.492 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/1.03, allocations: 0 / 1.337 GB, free: 4.492 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.76e-05/1.03, allocations: 0 / 1.337 GB, free: 4.492 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.002234/1.032, allocations: 1.485 MB / 1.339 GB, free: 2.941 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.032, allocations: 8.031 kB / 1.339 GB, free: 2.934 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007631/1.033, allocations: 195 kB / 1.339 GB, free: 2.742 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/1.034, allocations: 0.8618 MB / 1.34 GB, free: 1.824 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/1.034, allocations: 45 kB / 1.34 GB, free: 1.781 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.538e-05/1.034, allocations: 60 kB / 1.34 GB, free: 1.723 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/1.036, allocations: 0.7849 MB / 1.341 GB, free: 0.8633 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/1.036, allocations: 3.938 kB / 1.341 GB, free: 0.8594 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.503e-05/1.036, allocations: 24 kB / 1.341 GB, free: 0.8359 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/1.036, allocations: 12 kB / 1.341 GB, free: 0.8242 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009448/1.037, allocations: 0.5461 MB / 1.341 GB, free: 284 kB / 1.061 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.004424/1.041, allocations: 4.589 MB / 1.346 GB, free: 11.31 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007361/1.042, allocations: 411.4 kB / 1.346 GB, free: 10.9 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003908/1.042, allocations: 256.6 kB / 1.346 GB, free: 10.64 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003156/1.043, allocations: 202.2 kB / 1.346 GB, free: 10.41 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005201/1.043, allocations: 297.8 kB / 1.347 GB, free: 10.1 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 1.923e-06/1.043, allocations: 4 kB / 1.347 GB, free: 10.1 MB / 1.076 GB Notification: Performance of matching and sorting (n=31): time 0.003989/1.047, allocations: 1.31 MB / 1.348 GB, free: 8.758 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/1.047, allocations: 85.09 kB / 1.348 GB, free: 8.656 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/1.049, allocations: 1.126 MB / 1.349 GB, free: 7.512 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.896e-05/1.049, allocations: 33.7 kB / 1.349 GB, free: 7.473 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004704/1.049, allocations: 0.4891 MB / 1.35 GB, free: 6.977 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/1.05, allocations: 115 kB / 1.35 GB, free: 6.863 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/1.05, allocations: 110 kB / 1.35 GB, free: 6.75 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.05, allocations: 326 kB / 1.35 GB, free: 6.426 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000391/1.05, allocations: 214.3 kB / 1.35 GB, free: 6.211 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006466/1.051, allocations: 0.533 MB / 1.351 GB, free: 5.547 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009338/1.052, allocations: 0.6314 MB / 1.352 GB, free: 4.836 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/1.052, allocations: 4 kB / 1.352 GB, free: 4.832 MB / 1.076 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002396/1.054, allocations: 1.043 MB / 1.353 GB, free: 3.773 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.693e-05/1.054, allocations: 37.7 kB / 1.353 GB, free: 3.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/1.054, allocations: 4.625 kB / 1.353 GB, free: 3.727 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001393/1.056, allocations: 364.3 kB / 1.353 GB, free: 3.367 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/1.056, allocations: 55.91 kB / 1.353 GB, free: 3.312 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/1.057, allocations: 1.007 MB / 1.354 GB, free: 2.281 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000681/1.058, allocations: 83.58 kB / 1.354 GB, free: 2.199 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.837e-05/1.058, allocations: 24 kB / 1.354 GB, free: 2.176 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007468/1.059, allocations: 0.5005 MB / 1.355 GB, free: 1.672 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005646/1.059, allocations: 492.3 kB / 1.355 GB, free: 1.059 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007748/1.06, allocations: 0.5528 MB / 1.356 GB, free: 436 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.819e-06/1.06, allocations: 4 kB / 1.356 GB, free: 432 kB / 1.076 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001604/1.062, allocations: 0.8346 MB / 1.356 GB, free: 15.57 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.187e-05/1.062, allocations: 38.31 kB / 1.356 GB, free: 15.53 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/1.062, allocations: 4 kB / 1.356 GB, free: 15.52 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005252/1.062, allocations: 208.7 kB / 1.357 GB, free: 15.32 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/1.062, allocations: 63.89 kB / 1.357 GB, free: 15.25 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003898/1.066, allocations: 3.345 MB / 1.36 GB, free: 11.75 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007544/1.067, allocations: 68.06 kB / 1.36 GB, free: 11.68 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.231e-05/1.067, allocations: 20 kB / 1.36 GB, free: 11.66 MB / 1.092 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002148/1.067, allocations: 224.1 kB / 1.36 GB, free: 11.44 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/1.068, allocations: 103.3 kB / 1.36 GB, free: 11.34 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/1.069, allocations: 0.7024 MB / 1.361 GB, free: 10.62 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/1.069, allocations: 11.98 kB / 1.361 GB, free: 10.61 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/1.069, allocations: 0 / 1.361 GB, free: 10.61 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/1.069, allocations: 0 / 1.361 GB, free: 10.61 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002536/1.072, allocations: 1.611 MB / 1.363 GB, free: 8.914 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/1.072, allocations: 4 kB / 1.363 GB, free: 8.91 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/1.072, allocations: 23.92 kB / 1.363 GB, free: 8.887 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005002/1.072, allocations: 226.8 kB / 1.363 GB, free: 8.664 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/1.072, allocations: 8 kB / 1.363 GB, free: 8.656 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009538/1.073, allocations: 0.9874 MB / 1.364 GB, free: 7.645 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.073, allocations: 0 / 1.364 GB, free: 7.645 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/1.075, allocations: 0.8224 MB / 1.365 GB, free: 6.781 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003602/1.075, allocations: 224.4 kB / 1.365 GB, free: 6.543 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/1.075, allocations: 11.94 kB / 1.365 GB, free: 6.531 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004634/1.076, allocations: 31.84 kB / 1.365 GB, free: 6.5 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.619e-05/1.076, allocations: 23.97 kB / 1.365 GB, free: 6.477 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/1.076, allocations: 8 kB / 1.365 GB, free: 6.469 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001071/1.077, allocations: 0.7994 MB / 1.366 GB, free: 5.66 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.6e-07/1.077, allocations: 0 / 1.366 GB, free: 5.66 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001262/1.078, allocations: 435.5 kB / 1.366 GB, free: 5.234 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004489/1.079, allocations: 179.8 kB / 1.366 GB, free: 5.059 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002069/1.081, allocations: 1.071 MB / 1.367 GB, free: 3.953 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.081, allocations: 0 / 1.367 GB, free: 3.953 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005217/1.081, allocations: 237.5 kB / 1.368 GB, free: 3.723 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/1.083, allocations: 454.5 kB / 1.368 GB, free: 3.281 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/1.086, allocations: 1.781 MB / 1.37 GB, free: 1.441 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007959/1.087, allocations: 1.184 MB / 1.371 GB, free: 232 kB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008126/1.088, allocations: 315.8 kB / 1.371 GB, free: 15.91 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/1.088, allocations: 63.38 kB / 1.371 GB, free: 15.85 MB / 1.107 GB Notification: Performance of SimCode: time 4.61e-07/1.088, allocations: 3.938 kB / 1.371 GB, free: 15.85 MB / 1.107 GB Notification: Performance of Templates: time 0.03305/1.121, allocations: 19.79 MB / 1.391 GB, free: 12.28 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches