Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_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_latest_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.001534/0.001534, allocations: 109 kB / 16.41 MB, free: 6.488 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.001655/0.001655, allocations: 187 kB / 17.34 MB, free: 5.73 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.381/1.381, 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 11.0.1-master/package.mo): time 2.611/2.611, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 67.83 kB / 1.055 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8297/0.8312, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1739/1.005, allocations: 161.6 MB / 1.366 GB, free: 11.35 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.005341/1.011, allocations: 3.63 MB / 1.37 GB, free: 7.715 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003918/1.011, allocations: 7.938 kB / 1.37 GB, free: 7.707 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006344/1.012, allocations: 166.9 kB / 1.37 GB, free: 7.543 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001488/1.013, allocations: 0.525 MB / 1.37 GB, free: 7.016 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00124/1.014, allocations: 433.6 kB / 1.371 GB, free: 6.598 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002909/1.017, allocations: 2.546 MB / 1.373 GB, free: 4.047 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001547/1.019, allocations: 0.9372 MB / 1.374 GB, free: 3.094 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002074/1.021, allocations: 1.039 MB / 1.375 GB, free: 2.051 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/1.022, allocations: 0.7078 MB / 1.376 GB, free: 1.34 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002233/1.023, allocations: 56 kB / 1.376 GB, free: 1.285 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/1.024, allocations: 0.7406 MB / 1.377 GB, free: 0.543 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004513/1.025, allocations: 306.9 kB / 1.377 GB, free: 248 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00109/1.026, allocations: 0.5402 MB / 1.378 GB, free: 15.7 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002293/1.028, allocations: 1.404 MB / 1.379 GB, free: 14.29 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/1.028, allocations: 3.984 kB / 1.379 GB, free: 14.29 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.673e-06/1.028, allocations: 0 / 1.379 GB, free: 14.29 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.41e-05/1.028, allocations: 4 kB / 1.379 GB, free: 14.29 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.003282/1.031, allocations: 1.443 MB / 1.38 GB, free: 12.78 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/1.032, allocations: 8.031 kB / 1.38 GB, free: 12.77 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009512/1.032, allocations: 194.4 kB / 1.381 GB, free: 12.58 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/1.034, allocations: 0.8453 MB / 1.381 GB, free: 11.68 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.589e-05/1.034, allocations: 49 kB / 1.381 GB, free: 11.63 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/1.034, allocations: 56 kB / 1.382 GB, free: 11.58 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/1.036, allocations: 0.8003 MB / 1.382 GB, free: 10.7 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/1.036, allocations: 0 / 1.382 GB, free: 10.7 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.402e-05/1.036, allocations: 24 kB / 1.382 GB, free: 10.68 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/1.036, allocations: 15.94 kB / 1.382 GB, free: 10.66 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009445/1.037, allocations: 0.5383 MB / 1.383 GB, free: 10.12 MB / 1.107 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.004408/1.041, allocations: 4.587 MB / 1.387 GB, free: 5.156 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007345/1.042, allocations: 418.3 kB / 1.388 GB, free: 4.738 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000382/1.042, allocations: 241.2 kB / 1.388 GB, free: 4.5 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003044/1.043, allocations: 206.2 kB / 1.388 GB, free: 4.262 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005376/1.043, allocations: 305.3 kB / 1.388 GB, free: 3.945 MB / 1.107 GB Notification: Performance of pre-optimization done (n=31): time 3.206e-06/1.043, allocations: 0 / 1.388 GB, free: 3.945 MB / 1.107 GB Notification: Performance of matching and sorting (n=31): time 0.004031/1.047, allocations: 1.298 MB / 1.39 GB, free: 2.617 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.691e-05/1.047, allocations: 89.05 kB / 1.39 GB, free: 2.512 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/1.049, allocations: 1.122 MB / 1.391 GB, free: 1.371 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-05/1.049, allocations: 33.7 kB / 1.391 GB, free: 1.332 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004317/1.049, allocations: 496.2 kB / 1.391 GB, free: 0.8438 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/1.05, allocations: 110.5 kB / 1.392 GB, free: 0.7344 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/1.05, allocations: 109.9 kB / 1.392 GB, free: 0.6211 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.05, allocations: 322.2 kB / 1.392 GB, free: 308 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003836/1.05, allocations: 214.4 kB / 1.392 GB, free: 88 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006586/1.051, allocations: 0.5252 MB / 1.393 GB, free: 15.43 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009996/1.052, allocations: 0.6275 MB / 1.393 GB, free: 14.72 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/1.052, allocations: 8 kB / 1.393 GB, free: 14.71 MB / 1.123 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002472/1.054, allocations: 1.044 MB / 1.394 GB, free: 13.65 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.76e-05/1.054, allocations: 33.7 kB / 1.394 GB, free: 13.61 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/1.055, allocations: 4 kB / 1.394 GB, free: 13.61 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/1.056, allocations: 357 kB / 1.395 GB, free: 13.26 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/1.056, allocations: 59.84 kB / 1.395 GB, free: 13.2 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/1.057, allocations: 1.018 MB / 1.396 GB, free: 12.16 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007451/1.058, allocations: 75.42 kB / 1.396 GB, free: 12.08 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.206e-05/1.058, allocations: 28.06 kB / 1.396 GB, free: 12.05 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007589/1.059, allocations: 0.4967 MB / 1.396 GB, free: 11.55 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005903/1.06, allocations: 493.9 kB / 1.397 GB, free: 10.93 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008016/1.06, allocations: 0.5528 MB / 1.397 GB, free: 10.3 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.562e-06/1.06, allocations: 4 kB / 1.397 GB, free: 10.3 MB / 1.123 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001748/1.062, allocations: 0.8233 MB / 1.398 GB, free: 9.457 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.646e-05/1.062, allocations: 37.7 kB / 1.398 GB, free: 9.414 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/1.062, allocations: 4 kB / 1.398 GB, free: 9.41 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005475/1.063, allocations: 223 kB / 1.398 GB, free: 9.191 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/1.063, allocations: 59.91 kB / 1.398 GB, free: 9.133 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00403/1.067, allocations: 3.337 MB / 1.402 GB, free: 5.633 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008154/1.068, allocations: 72.12 kB / 1.402 GB, free: 5.562 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-05/1.068, allocations: 20 kB / 1.402 GB, free: 5.543 MB / 1.123 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.0002494/1.068, allocations: 216.1 kB / 1.402 GB, free: 5.324 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/1.068, allocations: 98.78 kB / 1.402 GB, free: 5.227 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/1.07, allocations: 0.71 MB / 1.403 GB, free: 4.508 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/1.07, allocations: 4 kB / 1.403 GB, free: 4.504 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/1.07, allocations: 0 / 1.403 GB, free: 4.504 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/1.07, allocations: 3.984 kB / 1.403 GB, free: 4.5 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002537/1.072, allocations: 1.609 MB / 1.404 GB, free: 2.809 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.072, allocations: 0 / 1.404 GB, free: 2.809 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/1.073, allocations: 24.2 kB / 1.404 GB, free: 2.785 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004715/1.073, allocations: 232.4 kB / 1.405 GB, free: 2.555 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/1.073, allocations: 11.98 kB / 1.405 GB, free: 2.543 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008941/1.074, allocations: 0.9716 MB / 1.406 GB, free: 1.547 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.323e-06/1.074, allocations: 8 kB / 1.406 GB, free: 1.539 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/1.075, allocations: 0.825 MB / 1.406 GB, free: 0.6719 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003623/1.076, allocations: 219.8 kB / 1.407 GB, free: 448 kB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/1.076, allocations: 11.98 kB / 1.407 GB, free: 436 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004968/1.076, allocations: 23.92 kB / 1.407 GB, free: 412 kB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.682e-05/1.076, allocations: 31.89 kB / 1.407 GB, free: 380 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/1.077, allocations: 8 kB / 1.407 GB, free: 372 kB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001148/1.078, allocations: 0.7955 MB / 1.407 GB, free: 15.56 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.5e-07/1.078, allocations: 0 / 1.407 GB, free: 15.56 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001392/1.079, allocations: 439.4 kB / 1.408 GB, free: 15.13 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 {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004754/1.08, allocations: 171.9 kB / 1.408 GB, free: 14.96 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002047/1.082, allocations: 1.074 MB / 1.409 GB, free: 13.86 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/1.082, allocations: 0 / 1.409 GB, free: 13.86 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000506/1.082, allocations: 222.5 kB / 1.409 GB, free: 13.64 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/1.084, allocations: 458.8 kB / 1.41 GB, free: 13.19 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/1.087, allocations: 1.803 MB / 1.411 GB, free: 11.32 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000807/1.088, allocations: 1.188 MB / 1.413 GB, free: 10.11 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/1.088, allocations: 59.44 kB / 1.413 GB, free: 10.05 MB / 1.139 GB Notification: Performance of SimCode: time 4.11e-07/1.088, allocations: 0 / 1.413 GB, free: 10.05 MB / 1.139 GB Notification: Performance of Templates: time 0.02842/1.117, allocations: 20.43 MB / 1.433 GB, free: 5.719 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches