Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008236/0.008236, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001922/0.001922, allocations: 190 kB / 16.67 MB, free: 5.934 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.237/2.237, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001229, allocations: 63.91 kB / 0.9509 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.83/0.8312, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.2002/1.031, allocations: 161.6 MB / 1.246 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005788/1.037, allocations: 3.629 MB / 1.249 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004634/1.038, allocations: 19.88 kB / 1.249 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007127/1.039, allocations: 170.9 kB / 1.249 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001515/1.04, allocations: 0.5407 MB / 1.25 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/1.041, allocations: 438.4 kB / 1.25 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002985/1.044, allocations: 2.546 MB / 1.253 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/1.046, allocations: 0.9445 MB / 1.254 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002228/1.048, allocations: 1.047 MB / 1.255 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008866/1.049, allocations: 0.7078 MB / 1.256 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001074/1.049, allocations: 56 kB / 1.256 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/1.051, allocations: 0.7406 MB / 1.256 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003264/1.051, allocations: 310.9 kB / 1.257 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006499/1.052, allocations: 0.544 MB / 1.257 GB, free: 448 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00172/1.053, allocations: 1.414 MB / 1.259 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/1.053, allocations: 0 / 1.259 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.084e-06/1.054, allocations: 0 / 1.259 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.367e-05/1.054, allocations: 0 / 1.259 GB, free: 15.02 MB / 0.9981 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.002459/1.056, allocations: 1.489 MB / 1.26 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/1.056, allocations: 12.03 kB / 1.26 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007815/1.057, allocations: 199 kB / 1.26 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/1.058, allocations: 0.8618 MB / 1.261 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.22e-05/1.058, allocations: 45 kB / 1.261 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.528e-05/1.058, allocations: 56 kB / 1.261 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/1.06, allocations: 0.7888 MB / 1.262 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/1.06, allocations: 7.938 kB / 1.262 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.392e-05/1.06, allocations: 20 kB / 1.262 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/1.06, allocations: 16 kB / 1.262 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008983/1.061, allocations: 0.5344 MB / 1.262 GB, free: 10.8 MB / 0.9981 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.004188/1.065, allocations: 4.596 MB / 1.267 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007651/1.066, allocations: 419.5 kB / 1.267 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004217/1.066, allocations: 247.1 kB / 1.268 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002963/1.066, allocations: 194.2 kB / 1.268 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004925/1.067, allocations: 297 kB / 1.268 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 1.743e-06/1.067, allocations: 0 / 1.268 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.004874/1.072, allocations: 1.657 MB / 1.27 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/1.072, allocations: 81.11 kB / 1.27 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/1.073, allocations: 1.114 MB / 1.271 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/1.073, allocations: 37.7 kB / 1.271 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004241/1.074, allocations: 496.8 kB / 1.271 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/1.074, allocations: 123 kB / 1.271 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/1.074, allocations: 106.1 kB / 1.272 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.074, allocations: 326 kB / 1.272 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/1.074, allocations: 210.4 kB / 1.272 GB, free: 424 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006531/1.075, allocations: 0.5268 MB / 1.273 GB, free: 15.75 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009012/1.076, allocations: 0.6188 MB / 1.273 GB, free: 15.05 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/1.076, allocations: 8 kB / 1.273 GB, free: 15.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002131/1.078, allocations: 1.046 MB / 1.274 GB, free: 13.98 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.196e-05/1.078, allocations: 36.36 kB / 1.274 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/1.078, allocations: 8 kB / 1.274 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/1.08, allocations: 379.2 kB / 1.275 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/1.08, allocations: 59.91 kB / 1.275 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/1.081, allocations: 1.084 MB / 1.276 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000662/1.082, allocations: 79.56 kB / 1.276 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-05/1.082, allocations: 35.86 kB / 1.276 GB, free: 12.28 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007227/1.083, allocations: 0.4928 MB / 1.276 GB, free: 11.79 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005565/1.083, allocations: 493.9 kB / 1.277 GB, free: 11.17 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008464/1.084, allocations: 0.5686 MB / 1.277 GB, free: 10.52 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.258e-06/1.084, allocations: 0 / 1.277 GB, free: 10.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001539/1.086, allocations: 0.8344 MB / 1.278 GB, free: 9.672 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/1.086, allocations: 41.69 kB / 1.278 GB, free: 9.625 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/1.086, allocations: 4.625 kB / 1.278 GB, free: 9.621 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005059/1.086, allocations: 219 kB / 1.278 GB, free: 9.406 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/1.087, allocations: 63.83 kB / 1.278 GB, free: 9.344 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00378/1.09, allocations: 3.258 MB / 1.282 GB, free: 5.934 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006632/1.091, allocations: 68 kB / 1.282 GB, free: 5.867 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/1.091, allocations: 31.92 kB / 1.282 GB, free: 5.836 MB / 1.014 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.0002243/1.091, allocations: 216.1 kB / 1.282 GB, free: 5.617 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/1.091, allocations: 103.4 kB / 1.282 GB, free: 5.516 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/1.093, allocations: 0.7102 MB / 1.283 GB, free: 4.797 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/1.093, allocations: 7.938 kB / 1.283 GB, free: 4.789 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-06/1.093, allocations: 0 / 1.283 GB, free: 4.789 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/1.093, allocations: 0 / 1.283 GB, free: 4.789 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002509/1.095, allocations: 1.607 MB / 1.284 GB, free: 3.102 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/1.095, allocations: 4 kB / 1.284 GB, free: 3.098 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/1.095, allocations: 19.98 kB / 1.284 GB, free: 3.078 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000492/1.096, allocations: 252.4 kB / 1.285 GB, free: 2.832 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/1.096, allocations: 7.938 kB / 1.285 GB, free: 2.824 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/1.097, allocations: 1.029 MB / 1.286 GB, free: 1.77 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.097, allocations: 4.031 kB / 1.286 GB, free: 1.766 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/1.098, allocations: 0.8283 MB / 1.286 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003456/1.099, allocations: 216.4 kB / 1.287 GB, free: 0.668 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/1.099, allocations: 8.094 kB / 1.287 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004406/1.099, allocations: 23.97 kB / 1.287 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/1.099, allocations: 43.83 kB / 1.287 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/1.099, allocations: 11.98 kB / 1.287 GB, free: 0.582 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001082/1.1, allocations: 0.7916 MB / 1.287 GB, free: 15.78 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.1, allocations: 3.938 kB / 1.287 GB, free: 15.78 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001314/1.102, allocations: 439.5 kB / 1.288 GB, free: 15.35 MB / 1.029 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.000501/1.102, allocations: 171.5 kB / 1.288 GB, free: 15.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002719/1.105, allocations: 1.203 MB / 1.289 GB, free: 13.94 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.105, allocations: 4 kB / 1.289 GB, free: 13.94 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006349/1.106, allocations: 284.2 kB / 1.29 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/1.108, allocations: 451.9 kB / 1.29 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/1.111, allocations: 1.807 MB / 1.292 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/1.112, allocations: 1.184 MB / 1.293 GB, free: 10.15 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008355/1.113, allocations: 319.8 kB / 1.293 GB, free: 9.832 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/1.113, allocations: 59.44 kB / 1.293 GB, free: 9.773 MB / 1.029 GB Notification: Performance of SimCode: time 7.41e-07/1.113, allocations: 0 / 1.293 GB, free: 9.773 MB / 1.029 GB Notification: Performance of Templates: time 0.03665/1.15, allocations: 19.41 MB / 1.312 GB, free: 6.566 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches