Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_11_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_11_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.004882/0.004882, allocations: 100.8 kB / 15.73 MB, free: 6.492 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.001129/0.001129, allocations: 193.1 kB / 16.68 MB, free: 6.371 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.703/2.703, allocations: 469.8 MB / 0.7425 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 71.88 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.335, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.8249/1.16, allocations: 162 MB / 1.379 GB, free: 6.691 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005197/1.165, allocations: 3.637 MB / 1.382 GB, free: 4.121 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003683/1.165, allocations: 15.06 kB / 1.382 GB, free: 4.113 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006158/1.166, allocations: 170.8 kB / 1.383 GB, free: 4.012 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001439/1.167, allocations: 0.5515 MB / 1.383 GB, free: 3.633 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001286/1.169, allocations: 440.1 kB / 1.384 GB, free: 3.328 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002853/1.172, allocations: 2.533 MB / 1.386 GB, free: 1.922 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/1.173, allocations: 0.8075 MB / 1.387 GB, free: 1.457 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002243/1.175, allocations: 1.051 MB / 1.388 GB, free: 0.8984 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/1.176, allocations: 0.6973 MB / 1.389 GB, free: 0.5039 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/1.176, allocations: 55 kB / 1.389 GB, free: 0.5039 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001768/1.178, allocations: 0.7502 MB / 1.389 GB, free: 100 kB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003693/1.179, allocations: 312.6 kB / 1.39 GB, free: 15.89 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000783/1.179, allocations: 0.5413 MB / 1.39 GB, free: 15.56 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002007/1.181, allocations: 1.41 MB / 1.392 GB, free: 14.72 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.181, allocations: 0 / 1.392 GB, free: 14.72 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.112e-06/1.181, allocations: 4 kB / 1.392 GB, free: 14.71 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.627e-05/1.181, allocations: 1.156 kB / 1.392 GB, free: 14.71 MB / 1.092 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.002448/1.184, allocations: 1.488 MB / 1.393 GB, free: 13.55 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/1.184, allocations: 8.5 kB / 1.393 GB, free: 13.55 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000822/1.185, allocations: 196.6 kB / 1.393 GB, free: 13.46 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/1.186, allocations: 0.861 MB / 1.394 GB, free: 12.82 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/1.186, allocations: 50.23 kB / 1.394 GB, free: 12.8 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.145e-05/1.186, allocations: 61.72 kB / 1.394 GB, free: 12.78 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/1.187, allocations: 0.7887 MB / 1.395 GB, free: 12.22 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/1.187, allocations: 6.25 kB / 1.395 GB, free: 12.21 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.606e-05/1.187, allocations: 18.59 kB / 1.395 GB, free: 12.2 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/1.187, allocations: 12.78 kB / 1.395 GB, free: 12.2 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009314/1.188, allocations: 0.5408 MB / 1.395 GB, free: 11.93 MB / 1.092 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.004537/1.193, allocations: 4.588 MB / 1.4 GB, free: 7.625 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007391/1.194, allocations: 399.4 kB / 1.4 GB, free: 7.426 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003584/1.194, allocations: 231.1 kB / 1.401 GB, free: 7.312 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002975/1.194, allocations: 194.9 kB / 1.401 GB, free: 7.109 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004999/1.195, allocations: 297.7 kB / 1.401 GB, free: 6.914 MB / 1.092 GB Notification: Performance of pre-optimization done (n=31): time 2.144e-06/1.195, allocations: 0 / 1.401 GB, free: 6.914 MB / 1.092 GB Notification: Performance of matching and sorting (n=31): time 0.004051/1.199, allocations: 1.318 MB / 1.402 GB, free: 6.176 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/1.199, allocations: 80.33 kB / 1.402 GB, free: 6.082 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/1.2, allocations: 1.124 MB / 1.403 GB, free: 5.48 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.448e-05/1.2, allocations: 39.39 kB / 1.403 GB, free: 5.441 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004564/1.201, allocations: 498.1 kB / 1.404 GB, free: 5.016 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/1.201, allocations: 118.5 kB / 1.404 GB, free: 4.914 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/1.201, allocations: 113.3 kB / 1.404 GB, free: 4.852 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.201, allocations: 323.7 kB / 1.404 GB, free: 4.535 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/1.202, allocations: 216 kB / 1.405 GB, free: 4.426 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005902/1.202, allocations: 0.5291 MB / 1.405 GB, free: 3.918 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000797/1.203, allocations: 0.6242 MB / 1.406 GB, free: 3.453 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.203, allocations: 0 / 1.406 GB, free: 3.453 MB / 1.092 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002648/1.206, allocations: 1.036 MB / 1.407 GB, free: 2.879 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.663e-05/1.206, allocations: 38.12 kB / 1.407 GB, free: 2.844 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/1.206, allocations: 5.062 kB / 1.407 GB, free: 2.844 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00149/1.207, allocations: 365.1 kB / 1.407 GB, free: 2.672 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/1.208, allocations: 58.94 kB / 1.407 GB, free: 2.66 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/1.209, allocations: 1.009 MB / 1.408 GB, free: 1.883 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/1.21, allocations: 77.92 kB / 1.408 GB, free: 1.836 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.311e-05/1.21, allocations: 27.23 kB / 1.408 GB, free: 1.828 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00113/1.212, allocations: 0.4938 MB / 1.409 GB, free: 1.539 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006422/1.212, allocations: 498.9 kB / 1.409 GB, free: 1.059 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000796/1.213, allocations: 0.5597 MB / 1.41 GB, free: 0.6211 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.356e-06/1.213, allocations: 0 / 1.41 GB, free: 0.6211 MB / 1.092 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001719/1.215, allocations: 0.8339 MB / 1.411 GB, free: 160 kB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.726e-05/1.215, allocations: 33.98 kB / 1.411 GB, free: 128 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/1.215, allocations: 5.25 kB / 1.411 GB, free: 128 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005192/1.215, allocations: 208.7 kB / 1.411 GB, free: 32 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/1.215, allocations: 63.28 kB / 1.411 GB, free: 16 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003874/1.219, allocations: 3.337 MB / 1.414 GB, free: 13.35 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009025/1.22, allocations: 76.02 kB / 1.414 GB, free: 13.3 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/1.22, allocations: 21.84 kB / 1.414 GB, free: 13.3 MB / 1.107 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.0002485/1.22, allocations: 213.2 kB / 1.415 GB, free: 13.1 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/1.221, allocations: 111.6 kB / 1.415 GB, free: 13.04 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/1.222, allocations: 0.7082 MB / 1.415 GB, free: 12.54 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.222, allocations: 3.938 kB / 1.415 GB, free: 12.54 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/1.222, allocations: 8 kB / 1.415 GB, free: 12.53 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/1.222, allocations: 3.984 kB / 1.415 GB, free: 12.52 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002496/1.224, allocations: 1.587 MB / 1.417 GB, free: 10.86 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/1.224, allocations: 4.219 kB / 1.417 GB, free: 10.85 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/1.225, allocations: 27.92 kB / 1.417 GB, free: 10.82 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005089/1.225, allocations: 218.5 kB / 1.417 GB, free: 10.61 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/1.225, allocations: 17.86 kB / 1.417 GB, free: 10.59 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009396/1.226, allocations: 0.9737 MB / 1.418 GB, free: 9.594 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/1.226, allocations: 11.95 kB / 1.418 GB, free: 9.582 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/1.227, allocations: 0.8217 MB / 1.419 GB, free: 8.719 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004324/1.228, allocations: 220.3 kB / 1.419 GB, free: 8.484 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/1.228, allocations: 8.094 kB / 1.419 GB, free: 8.477 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/1.228, allocations: 19.97 kB / 1.419 GB, free: 8.457 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.996e-05/1.228, allocations: 31.89 kB / 1.419 GB, free: 8.426 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/1.228, allocations: 19.98 kB / 1.419 GB, free: 8.406 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001168/1.23, allocations: 0.7916 MB / 1.42 GB, free: 7.605 MB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/1.23, allocations: 0 / 1.42 GB, free: 7.605 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001392/1.231, allocations: 439.5 kB / 1.42 GB, free: 7.176 MB / 1.107 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.0004666/1.231, allocations: 180.7 kB / 1.421 GB, free: 7.008 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002026/1.233, allocations: 1.041 MB / 1.422 GB, free: 5.934 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.233, allocations: 4 kB / 1.422 GB, free: 5.93 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0004994/1.234, allocations: 220.9 kB / 1.422 GB, free: 5.715 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/1.236, allocations: 462.1 kB / 1.422 GB, free: 5.27 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/1.239, allocations: 1.787 MB / 1.424 GB, free: 3.426 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007671/1.24, allocations: 1.184 MB / 1.425 GB, free: 2.211 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000777/1.24, allocations: 315.8 kB / 1.425 GB, free: 1.898 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/1.241, allocations: 59.42 kB / 1.426 GB, free: 1.84 MB / 1.107 GB Notification: Performance of SimCode: time 1.222e-06/1.241, allocations: 0 / 1.426 GB, free: 1.84 MB / 1.107 GB Notification: Performance of Templates: time 0.03265/1.273, allocations: 19.91 MB / 1.445 GB, free: 14.14 MB / 1.139 GB make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches