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.001271/0.001271, allocations: 105.2 kB / 16.41 MB, free: 6.508 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.001256/0.001256, allocations: 189.7 kB / 17.34 MB, free: 5.738 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.14 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.269/2.269, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 63.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.866/0.8674, allocations: 140.4 MB / 1.089 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1881/1.056, allocations: 161.6 MB / 1.246 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005692/1.061, allocations: 3.628 MB / 1.25 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005483/1.062, allocations: 15.94 kB / 1.25 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007254/1.063, allocations: 158.9 kB / 1.25 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00165/1.064, allocations: 0.5289 MB / 1.251 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001505/1.066, allocations: 438.4 kB / 1.251 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003121/1.069, allocations: 2.539 MB / 1.254 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001535/1.071, allocations: 0.9411 MB / 1.254 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/1.073, allocations: 1.039 MB / 1.255 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/1.074, allocations: 0.7 MB / 1.256 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002188/1.074, allocations: 56 kB / 1.256 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/1.076, allocations: 0.7484 MB / 1.257 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003868/1.076, allocations: 302.9 kB / 1.257 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009536/1.077, allocations: 0.5479 MB / 1.258 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002182/1.079, allocations: 1.406 MB / 1.259 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/1.079, allocations: 0 / 1.259 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.823e-06/1.079, allocations: 0 / 1.259 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.542e-05/1.079, allocations: 0 / 1.259 GB, free: 15.21 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.002527/1.082, allocations: 1.447 MB / 1.261 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/1.082, allocations: 15.97 kB / 1.261 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008265/1.083, allocations: 186.5 kB / 1.261 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/1.084, allocations: 0.8491 MB / 1.262 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.803e-05/1.084, allocations: 41 kB / 1.262 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.788e-05/1.084, allocations: 60 kB / 1.262 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/1.085, allocations: 0.7849 MB / 1.262 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/1.085, allocations: 11.92 kB / 1.262 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-05/1.086, allocations: 20 kB / 1.262 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/1.086, allocations: 16 kB / 1.262 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009143/1.086, allocations: 0.5383 MB / 1.263 GB, free: 11.05 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.003999/1.091, allocations: 4.595 MB / 1.268 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006858/1.091, allocations: 418.7 kB / 1.268 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003726/1.092, allocations: 244.7 kB / 1.268 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002841/1.092, allocations: 198.1 kB / 1.268 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004817/1.092, allocations: 289.1 kB / 1.269 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.655e-06/1.092, allocations: 0 / 1.269 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.004842/1.097, allocations: 1.653 MB / 1.27 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/1.097, allocations: 85.11 kB / 1.27 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/1.099, allocations: 1.118 MB / 1.271 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.115e-05/1.099, allocations: 37.7 kB / 1.271 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003912/1.099, allocations: 488.2 kB / 1.272 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.26e-05/1.099, allocations: 114.5 kB / 1.272 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/1.1, allocations: 109.9 kB / 1.272 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001081/1.1, allocations: 326 kB / 1.272 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/1.1, allocations: 210.4 kB / 1.273 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005704/1.101, allocations: 0.5174 MB / 1.273 GB, free: 24 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008711/1.102, allocations: 0.6266 MB / 1.274 GB, free: 15.32 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/1.102, allocations: 4 kB / 1.274 GB, free: 15.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002163/1.104, allocations: 1.037 MB / 1.275 GB, free: 14.26 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.952e-05/1.104, allocations: 33.7 kB / 1.275 GB, free: 14.22 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/1.104, allocations: 11.98 kB / 1.275 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/1.105, allocations: 382.9 kB / 1.275 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/1.105, allocations: 59.91 kB / 1.275 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/1.107, allocations: 1.082 MB / 1.276 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007216/1.107, allocations: 79.39 kB / 1.276 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-05/1.107, allocations: 32.16 kB / 1.276 GB, free: 12.56 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000708/1.108, allocations: 0.4928 MB / 1.277 GB, free: 12.06 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005532/1.109, allocations: 499.1 kB / 1.277 GB, free: 11.45 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007449/1.109, allocations: 0.5647 MB / 1.278 GB, free: 10.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.821e-06/1.109, allocations: 4 kB / 1.278 GB, free: 10.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001577/1.111, allocations: 0.8299 MB / 1.279 GB, free: 9.949 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/1.111, allocations: 37.88 kB / 1.279 GB, free: 9.906 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.111, allocations: 4.625 kB / 1.279 GB, free: 9.902 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000522/1.112, allocations: 220.6 kB / 1.279 GB, free: 9.684 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/1.112, allocations: 63.83 kB / 1.279 GB, free: 9.621 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003616/1.115, allocations: 3.257 MB / 1.282 GB, free: 6.215 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007312/1.116, allocations: 67.91 kB / 1.282 GB, free: 6.148 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-05/1.116, allocations: 27.98 kB / 1.282 GB, free: 6.121 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.0002218/1.117, allocations: 220 kB / 1.282 GB, free: 5.898 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/1.117, allocations: 98.84 kB / 1.283 GB, free: 5.801 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/1.118, allocations: 0.7102 MB / 1.283 GB, free: 5.082 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/1.118, allocations: 4 kB / 1.283 GB, free: 5.078 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/1.118, allocations: 0 / 1.283 GB, free: 5.078 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/1.118, allocations: 0 / 1.283 GB, free: 5.078 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/1.12, allocations: 1.604 MB / 1.285 GB, free: 3.395 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/1.12, allocations: 3.938 kB / 1.285 GB, free: 3.391 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/1.121, allocations: 23.98 kB / 1.285 GB, free: 3.367 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004805/1.121, allocations: 242.9 kB / 1.285 GB, free: 3.129 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/1.121, allocations: 11.94 kB / 1.285 GB, free: 3.117 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009913/1.122, allocations: 1.029 MB / 1.286 GB, free: 2.062 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.122, allocations: 0 / 1.286 GB, free: 2.062 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/1.123, allocations: 0.8293 MB / 1.287 GB, free: 1.191 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003227/1.124, allocations: 215.8 kB / 1.287 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/1.124, allocations: 8 kB / 1.287 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004267/1.124, allocations: 23.97 kB / 1.287 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.288e-05/1.124, allocations: 31.91 kB / 1.287 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/1.124, allocations: 15.98 kB / 1.287 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001021/1.125, allocations: 0.7916 MB / 1.288 GB, free: 84 kB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.125, allocations: 0 / 1.288 GB, free: 84 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.001346/1.127, allocations: 435.5 kB / 1.288 GB, free: 15.65 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.0004697/1.127, allocations: 191.9 kB / 1.289 GB, free: 15.47 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002588/1.13, allocations: 1.194 MB / 1.29 GB, free: 14.24 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/1.13, allocations: 4 kB / 1.29 GB, free: 14.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006262/1.13, allocations: 284.1 kB / 1.29 GB, free: 13.96 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/1.133, allocations: 456.1 kB / 1.29 GB, free: 13.51 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/1.136, allocations: 1.822 MB / 1.292 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008219/1.137, allocations: 1.184 MB / 1.293 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/1.137, allocations: 63.44 kB / 1.293 GB, free: 10.36 MB / 1.029 GB Notification: Performance of SimCode: time 1.062e-06/1.137, allocations: 0 / 1.293 GB, free: 10.36 MB / 1.029 GB Notification: Performance of Templates: time 0.02801/1.165, allocations: 20.58 MB / 1.314 GB, free: 5.879 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/jenkins1/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