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.001039/0.001039, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008489/0.00849, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.387/1.387, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.685/2.685, allocations: 462.7 MB / 0.7364 GB, free: 308 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.0004925, allocations: 8.281 kB / 0.9028 GB, free: 36.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3128, allocations: 159.6 MB / 1.059 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1667/0.4795, allocations: 157.3 MB / 1.212 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005849/0.4854, allocations: 3.585 MB / 1.216 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005754/0.486, allocations: 15.81 kB / 1.216 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006555/0.4867, allocations: 135.2 kB / 1.216 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001583/0.4883, allocations: 0.498 MB / 1.216 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.4896, allocations: 393.2 kB / 1.217 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004045/0.4937, allocations: 3.491 MB / 1.22 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001562/0.4953, allocations: 0.7504 MB / 1.221 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002377/0.4977, allocations: 0.9025 MB / 1.222 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.499, allocations: 0.7155 MB / 1.223 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001872/0.4992, allocations: 36 kB / 1.223 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001813/0.5011, allocations: 0.795 MB / 1.223 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004859/0.5016, allocations: 282.8 kB / 1.224 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.5027, allocations: 0.5339 MB / 1.224 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002054/0.5047, allocations: 1.366 MB / 1.225 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.5047, allocations: 4 kB / 1.225 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5047, allocations: 0 / 1.225 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.463e-05/0.5048, allocations: 0 / 1.225 GB, free: 10.05 MB / 0.9825 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.002394/0.5072, allocations: 1.264 MB / 1.227 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.5072, allocations: 8.031 kB / 1.227 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009203/0.5082, allocations: 186.5 kB / 1.227 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.5096, allocations: 0.7984 MB / 1.228 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.424e-05/0.5096, allocations: 41 kB / 1.228 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.5098, allocations: 60 kB / 1.228 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.5111, allocations: 0.8003 MB / 1.229 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.5111, allocations: 4 kB / 1.229 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.707e-05/0.5112, allocations: 28 kB / 1.229 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.5112, allocations: 15.94 kB / 1.229 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009718/0.5122, allocations: 0.5422 MB / 1.229 GB, free: 6.117 MB / 0.9825 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.00441/0.5166, allocations: 4.599 MB / 1.234 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007443/0.5174, allocations: 426.3 kB / 1.234 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003942/0.5178, allocations: 252.8 kB / 1.234 GB, free: 468 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002872/0.5181, allocations: 202 kB / 1.234 GB, free: 228 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005345/0.5186, allocations: 305.1 kB / 1.235 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.415e-06/0.5186, allocations: 0 / 1.235 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.004455/0.5231, allocations: 1.333 MB / 1.236 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.5232, allocations: 85.11 kB / 1.236 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.5249, allocations: 1.118 MB / 1.237 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.058e-05/0.5249, allocations: 37.7 kB / 1.237 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004442/0.5254, allocations: 0.4883 MB / 1.238 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.5255, allocations: 110.5 kB / 1.238 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.515e-05/0.5256, allocations: 41.7 kB / 1.238 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.5257, allocations: 326 kB / 1.238 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003654/0.5261, allocations: 212.7 kB / 1.238 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005898/0.5267, allocations: 0.5253 MB / 1.239 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000858/0.5275, allocations: 0.6345 MB / 1.24 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.5275, allocations: 8 kB / 1.24 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002221/0.5298, allocations: 1.054 MB / 1.241 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002392/0.53, allocations: 280.6 kB / 1.241 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.53, allocations: 4 kB / 1.241 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/0.5315, allocations: 360.3 kB / 1.241 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.5317, allocations: 67.91 kB / 1.241 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/0.5328, allocations: 1.014 MB / 1.242 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008275/0.5336, allocations: 95.53 kB / 1.242 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-05/0.5337, allocations: 27.98 kB / 1.242 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.5337, allocations: 7.938 kB / 1.242 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001444/0.5352, allocations: 0.7281 MB / 1.243 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.5352, allocations: 4 kB / 1.243 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005871/0.5358, allocations: 209.8 kB / 1.243 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.536, allocations: 67.84 kB / 1.243 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003934/0.5399, allocations: 3.079 MB / 1.246 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008743/0.5408, allocations: 91.59 kB / 1.246 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.374e-05/0.5409, allocations: 27.94 kB / 1.246 GB, free: 3.305 MB / 0.9981 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.0006449/0.5415, allocations: 470.8 kB / 1.247 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.5417, allocations: 98.78 kB / 1.247 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.5432, allocations: 0.7141 MB / 1.248 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.5432, allocations: 7.938 kB / 1.248 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5432, allocations: 4 kB / 1.248 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.5432, allocations: 0 / 1.248 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.5458, allocations: 1.622 MB / 1.249 GB, free: 300 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.5458, allocations: 8.062 kB / 1.249 GB, free: 292 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.546, allocations: 19.98 kB / 1.249 GB, free: 272 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004848/0.5465, allocations: 226.2 kB / 1.25 GB, free: 44 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.971e-05/0.5466, allocations: 11.98 kB / 1.25 GB, free: 32 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5783/1.125, allocations: 0.9793 MB / 1.25 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/1.125, allocations: 3.062 kB / 1.25 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/1.127, allocations: 0.8336 MB / 1.251 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005727/1.127, allocations: 220.3 kB / 1.252 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002744/1.128, allocations: 11.95 kB / 1.252 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007253/1.128, allocations: 51.73 kB / 1.252 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/1.128, allocations: 29.92 kB / 1.252 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/1.129, allocations: 12.56 kB / 1.252 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001549/1.13, allocations: 0.7951 MB / 1.252 GB, free: 191 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/1.13, allocations: 0 / 1.252 GB, free: 191 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001736/1.132, allocations: 438.2 kB / 1.253 GB, free: 191 MB / 0.9981 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.000444/1.132, allocations: 173.9 kB / 1.253 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002001/1.134, allocations: 1.102 MB / 1.254 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.134, allocations: 0 / 1.254 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004758/1.135, allocations: 235.7 kB / 1.254 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/1.137, allocations: 448.7 kB / 1.255 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/1.14, allocations: 2.086 MB / 1.257 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/1.14, allocations: 1.18 MB / 1.258 GB, free: 189 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009392/1.141, allocations: 311.3 kB / 1.258 GB, free: 189 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/1.141, allocations: 58.92 kB / 1.258 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of SimCode: time 7.92e-07/1.141, allocations: 0 / 1.258 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.03426/1.176, allocations: 18.81 MB / 1.277 GB, free: 184.2 MB / 0.9981 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/jenkins/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