Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009021/0.009021, allocations: 102.7 kB / 15.73 MB, free: 5.992 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.001801/0.001801, allocations: 191.3 kB / 16.67 MB, free: 5.91 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.687/2.687, allocations: 469.8 MB / 0.7425 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.91 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.849/0.8501, allocations: 159.1 MB / 1.221 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.166/1.016, allocations: 162.1 MB / 1.379 GB, free: 15.48 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.004809/1.021, allocations: 3.63 MB / 1.382 GB, free: 11.84 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003544/1.021, allocations: 11.88 kB / 1.382 GB, free: 11.83 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.000627/1.022, allocations: 174.9 kB / 1.383 GB, free: 11.66 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001373/1.023, allocations: 0.5529 MB / 1.383 GB, free: 11.11 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/1.024, allocations: 437.5 kB / 1.384 GB, free: 10.68 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002734/1.027, allocations: 2.535 MB / 1.386 GB, free: 8.137 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/1.028, allocations: 0.8054 MB / 1.387 GB, free: 7.32 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/1.03, allocations: 1.051 MB / 1.388 GB, free: 6.266 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/1.031, allocations: 0.7001 MB / 1.389 GB, free: 5.562 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001558/1.031, allocations: 56 kB / 1.389 GB, free: 5.508 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/1.033, allocations: 0.7406 MB / 1.389 GB, free: 4.766 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000353/1.033, allocations: 318.7 kB / 1.39 GB, free: 4.453 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006962/1.034, allocations: 0.5441 MB / 1.39 GB, free: 3.906 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001732/1.036, allocations: 1.412 MB / 1.391 GB, free: 2.492 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.036, allocations: 0 / 1.391 GB, free: 2.492 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.442e-06/1.036, allocations: 4 kB / 1.391 GB, free: 2.488 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.56e-05/1.036, allocations: 0 / 1.391 GB, free: 2.488 MB / 1.107 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.002389/1.038, allocations: 1.492 MB / 1.393 GB, free: 0.9336 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/1.038, allocations: 8.031 kB / 1.393 GB, free: 0.9258 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007958/1.039, allocations: 195.1 kB / 1.393 GB, free: 0.7344 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/1.04, allocations: 0.8619 MB / 1.394 GB, free: 15.81 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.932e-05/1.04, allocations: 45 kB / 1.394 GB, free: 15.77 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.598e-05/1.04, allocations: 60 kB / 1.394 GB, free: 15.71 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/1.041, allocations: 0.7849 MB / 1.395 GB, free: 14.86 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/1.041, allocations: 7.938 kB / 1.395 GB, free: 14.85 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.24e-05/1.041, allocations: 20 kB / 1.395 GB, free: 14.83 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/1.041, allocations: 20 kB / 1.395 GB, free: 14.81 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009124/1.042, allocations: 0.5342 MB / 1.395 GB, free: 14.27 MB / 1.123 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.003883/1.046, allocations: 4.592 MB / 1.4 GB, free: 9.297 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006921/1.047, allocations: 394.8 kB / 1.4 GB, free: 8.902 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003644/1.047, allocations: 236.6 kB / 1.401 GB, free: 8.668 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002876/1.048, allocations: 190.2 kB / 1.401 GB, free: 8.445 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004915/1.048, allocations: 300.8 kB / 1.401 GB, free: 8.133 MB / 1.123 GB Notification: Performance of pre-optimization done (n=31): time 1.723e-06/1.048, allocations: 4 kB / 1.401 GB, free: 8.129 MB / 1.123 GB Notification: Performance of matching and sorting (n=31): time 0.004887/1.053, allocations: 1.642 MB / 1.403 GB, free: 6.457 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/1.053, allocations: 81.11 kB / 1.403 GB, free: 6.359 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/1.054, allocations: 1.122 MB / 1.404 GB, free: 5.219 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.341e-05/1.054, allocations: 33.7 kB / 1.404 GB, free: 5.18 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003735/1.055, allocations: 497 kB / 1.404 GB, free: 4.688 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 8.864e-05/1.055, allocations: 119 kB / 1.404 GB, free: 4.57 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/1.055, allocations: 114 kB / 1.404 GB, free: 4.453 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001067/1.055, allocations: 326 kB / 1.405 GB, free: 4.129 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00037/1.055, allocations: 214.4 kB / 1.405 GB, free: 3.918 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005808/1.056, allocations: 0.5174 MB / 1.406 GB, free: 3.266 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008606/1.057, allocations: 0.6348 MB / 1.406 GB, free: 2.551 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.057, allocations: 0 / 1.406 GB, free: 2.551 MB / 1.123 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002132/1.059, allocations: 1.037 MB / 1.407 GB, free: 1.496 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.799e-05/1.059, allocations: 37.69 kB / 1.407 GB, free: 1.453 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/1.059, allocations: 8 kB / 1.407 GB, free: 1.445 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/1.06, allocations: 387.1 kB / 1.408 GB, free: 1.066 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/1.061, allocations: 55.91 kB / 1.408 GB, free: 1.012 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/1.062, allocations: 1.085 MB / 1.409 GB, free: 15.9 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005919/1.063, allocations: 83.52 kB / 1.409 GB, free: 15.82 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-05/1.063, allocations: 24 kB / 1.409 GB, free: 15.8 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007199/1.063, allocations: 0.4967 MB / 1.409 GB, free: 15.3 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005633/1.064, allocations: 0.494 MB / 1.41 GB, free: 14.67 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007321/1.065, allocations: 0.5528 MB / 1.41 GB, free: 14.04 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.088e-06/1.065, allocations: 4 kB / 1.41 GB, free: 14.03 MB / 1.139 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001461/1.066, allocations: 0.8304 MB / 1.411 GB, free: 13.18 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/1.066, allocations: 39.56 kB / 1.411 GB, free: 13.14 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/1.066, allocations: 4.625 kB / 1.411 GB, free: 13.14 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004977/1.067, allocations: 216.7 kB / 1.411 GB, free: 12.92 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/1.067, allocations: 67.78 kB / 1.411 GB, free: 12.86 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003496/1.07, allocations: 3.259 MB / 1.415 GB, free: 9.449 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005939/1.071, allocations: 76.05 kB / 1.415 GB, free: 9.375 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/1.071, allocations: 20 kB / 1.415 GB, free: 9.355 MB / 1.139 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 {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001799/1.071, allocations: 213.3 kB / 1.415 GB, free: 9.141 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/1.071, allocations: 107.3 kB / 1.415 GB, free: 9.035 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/1.072, allocations: 0.6986 MB / 1.416 GB, free: 8.324 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/1.072, allocations: 4 kB / 1.416 GB, free: 8.32 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/1.072, allocations: 0 / 1.416 GB, free: 8.32 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/1.072, allocations: 0 / 1.416 GB, free: 8.32 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/1.075, allocations: 1.601 MB / 1.417 GB, free: 6.641 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/1.075, allocations: 7.938 kB / 1.417 GB, free: 6.633 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/1.075, allocations: 19.98 kB / 1.417 GB, free: 6.613 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004976/1.076, allocations: 251.6 kB / 1.418 GB, free: 6.367 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/1.076, allocations: 12.16 kB / 1.418 GB, free: 6.355 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/1.077, allocations: 1.028 MB / 1.419 GB, free: 5.301 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/1.077, allocations: 4 kB / 1.419 GB, free: 5.297 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/1.078, allocations: 0.8179 MB / 1.419 GB, free: 4.438 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003108/1.078, allocations: 220.4 kB / 1.42 GB, free: 4.203 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/1.078, allocations: 8 kB / 1.42 GB, free: 4.195 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004148/1.079, allocations: 27.97 kB / 1.42 GB, free: 4.168 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.646e-05/1.079, allocations: 27.91 kB / 1.42 GB, free: 4.141 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/1.079, allocations: 11.98 kB / 1.42 GB, free: 4.129 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001075/1.08, allocations: 0.7916 MB / 1.42 GB, free: 3.328 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.08, allocations: 4.125 kB / 1.42 GB, free: 3.324 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001274/1.081, allocations: 443.5 kB / 1.421 GB, free: 2.891 MB / 1.139 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 {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004474/1.082, allocations: 169.5 kB / 1.421 GB, free: 2.727 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002451/1.084, allocations: 1.179 MB / 1.422 GB, free: 1.512 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.084, allocations: 0 / 1.422 GB, free: 1.512 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006096/1.085, allocations: 280 kB / 1.422 GB, free: 1.238 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/1.086, allocations: 460.5 kB / 1.423 GB, free: 0.793 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/1.089, allocations: 1.803 MB / 1.425 GB, free: 14.93 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007398/1.09, allocations: 1.184 MB / 1.426 GB, free: 13.72 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007499/1.091, allocations: 319.7 kB / 1.426 GB, free: 13.4 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/1.091, allocations: 67.44 kB / 1.426 GB, free: 13.34 MB / 1.154 GB Notification: Performance of SimCode: time 7.21e-07/1.091, allocations: 3.938 kB / 1.426 GB, free: 13.33 MB / 1.154 GB Notification: Performance of Templates: time 0.03154/1.122, allocations: 19.53 MB / 1.445 GB, free: 10 MB / 1.17 GB make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches