Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 105.8 kB / 15.99 MB, free: 6.348 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.001524/0.001525, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.383/1.383, allocations: 222.9 MB / 240.6 MB, free: 13.75 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.692/2.692, allocations: 469.8 MB / 0.7427 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 67.55 kB / 0.9087 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3404, allocations: 159.1 MB / 1.064 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.7259/1.066, allocations: 159.4 MB / 1.22 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003134/1.07, allocations: 1.742 MB / 1.222 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003033/1.07, allocations: 14.38 kB / 1.222 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000568/1.071, allocations: 132.4 kB / 1.222 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001302/1.072, allocations: 0.4893 MB / 1.222 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/1.073, allocations: 363.8 kB / 1.222 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002712/1.076, allocations: 2.548 MB / 1.225 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/1.077, allocations: 0.8962 MB / 1.226 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/1.079, allocations: 1.067 MB / 1.227 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008916/1.079, allocations: 0.7439 MB / 1.228 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.329e-05/1.08, allocations: 55.69 kB / 1.228 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/1.081, allocations: 0.7578 MB / 1.228 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003655/1.081, allocations: 310.9 kB / 1.229 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006788/1.082, allocations: 0.5362 MB / 1.229 GB, free: 248 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001295/1.083, allocations: 1.056 MB / 1.23 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/1.083, allocations: 0 / 1.23 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.703e-06/1.083, allocations: 0 / 1.23 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.683e-05/1.083, allocations: 0 / 1.23 GB, free: 15.18 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.0024/1.086, allocations: 1.444 MB / 1.232 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/1.086, allocations: 8.625 kB / 1.232 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007736/1.087, allocations: 182.5 kB / 1.232 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/1.088, allocations: 0.806 MB / 1.233 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/1.088, allocations: 44.83 kB / 1.233 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.551e-05/1.088, allocations: 60 kB / 1.233 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/1.089, allocations: 0.7926 MB / 1.234 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/1.089, allocations: 4.812 kB / 1.234 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.664e-05/1.089, allocations: 27.98 kB / 1.234 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/1.089, allocations: 12 kB / 1.234 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009722/1.09, allocations: 0.5422 MB / 1.234 GB, free: 11.07 MB / 0.9512 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.004631/1.095, allocations: 4.587 MB / 1.239 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007764/1.096, allocations: 414.2 kB / 1.239 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004162/1.096, allocations: 247.1 kB / 1.239 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003416/1.097, allocations: 194.2 kB / 1.239 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005354/1.097, allocations: 293.1 kB / 1.24 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 2.134e-06/1.097, allocations: 0 / 1.24 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of matching and sorting (n=31): time 0.001483/1.099, allocations: 0.6337 MB / 1.24 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/1.099, allocations: 89.05 kB / 1.24 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/1.1, allocations: 1.118 MB / 1.241 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.611e-05/1.1, allocations: 37.7 kB / 1.241 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004553/1.101, allocations: 492.3 kB / 1.242 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/1.101, allocations: 110.5 kB / 1.242 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/1.101, allocations: 114 kB / 1.242 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001651/1.101, allocations: 329.9 kB / 1.242 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003959/1.102, allocations: 214.4 kB / 1.243 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007205/1.102, allocations: 0.5111 MB / 1.243 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009553/1.103, allocations: 0.6315 MB / 1.244 GB, free: 392 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.103, allocations: 0 / 1.244 GB, free: 392 kB / 0.9512 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0013/1.105, allocations: 0.7244 MB / 1.245 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.842e-05/1.105, allocations: 41.8 kB / 1.245 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/1.105, allocations: 4 kB / 1.245 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/1.105, allocations: 8 kB / 1.245 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004509/1.105, allocations: 111.7 kB / 1.245 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/1.105, allocations: 11.94 kB / 1.245 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006879/1.106, allocations: 99.47 kB / 1.245 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/1.106, allocations: 23.98 kB / 1.245 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007511/1.107, allocations: 0.4966 MB / 1.245 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006277/1.107, allocations: 497.9 kB / 1.246 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008051/1.108, allocations: 0.5528 MB / 1.246 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.685e-06/1.108, allocations: 0 / 1.246 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001095/1.109, allocations: 0.6503 MB / 1.247 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/1.109, allocations: 37.7 kB / 1.247 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/1.109, allocations: 4 kB / 1.247 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/1.109, allocations: 12 kB / 1.247 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003697/1.11, allocations: 99.81 kB / 1.247 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/1.11, allocations: 12.34 kB / 1.247 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006648/1.11, allocations: 92.09 kB / 1.247 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/1.111, allocations: 20 kB / 1.247 GB, free: 12.65 MB / 0.9669 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 (53): * Single equations (assignments): 52 * 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.0002128/1.111, allocations: 221.5 kB / 1.247 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/1.111, allocations: 94.78 kB / 1.247 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000981/1.112, allocations: 0.4944 MB / 1.248 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/1.112, allocations: 8 kB / 1.248 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.112, allocations: 0 / 1.248 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/1.112, allocations: 3.984 kB / 1.248 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/1.114, allocations: 1.377 MB / 1.249 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/1.114, allocations: 3.938 kB / 1.249 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/1.114, allocations: 67.83 kB / 1.249 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/1.114, allocations: 4 kB / 1.249 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/1.114, allocations: 11.98 kB / 1.249 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/1.114, allocations: 7.938 kB / 1.249 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.114, allocations: 0 / 1.249 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009036/1.115, allocations: 0.6092 MB / 1.25 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003164/1.116, allocations: 219.7 kB / 1.25 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/1.116, allocations: 8 kB / 1.25 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000444/1.116, allocations: 47.86 kB / 1.25 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.503e-05/1.116, allocations: 27.95 kB / 1.25 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/1.116, allocations: 12 kB / 1.25 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001064/1.117, allocations: 0.7875 MB / 1.251 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/1.117, allocations: 0 / 1.251 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001159/1.119, allocations: 407.5 kB / 1.251 GB, free: 8.105 MB / 0.9669 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 (31): * Single equations (assignments): 29 * 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.0004401/1.119, allocations: 187 kB / 1.252 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001513/1.121, allocations: 0.8567 MB / 1.252 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.121, allocations: 0 / 1.252 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003585/1.121, allocations: 191.8 kB / 1.253 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/1.123, allocations: 446.9 kB / 1.253 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/1.126, allocations: 2.097 MB / 1.255 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008573/1.127, allocations: 1.18 MB / 1.256 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/1.127, allocations: 75.42 kB / 1.256 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of SimCode: time 6.31e-07/1.127, allocations: 0 / 1.256 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of Templates: time 0.02626/1.153, allocations: 15.85 MB / 1.272 GB, free: 3.25 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches