Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_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_9_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.00108/0.00108, allocations: 110.8 kB / 16.42 MB, free: 6.469 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.001148/0.001148, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.08 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.201/2.201, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001287, allocations: 67.89 kB / 0.9516 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6963/0.6976, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1734/0.8711, allocations: 161.6 MB / 1.246 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004842/0.876, allocations: 3.616 MB / 1.25 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003572/0.8764, allocations: 15.88 kB / 1.25 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006067/0.877, allocations: 170.9 kB / 1.25 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.8783, allocations: 0.5406 MB / 1.251 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.8794, allocations: 450.3 kB / 1.251 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002379/0.8818, allocations: 2.547 MB / 1.254 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.8829, allocations: 0.9333 MB / 1.255 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001487/0.8844, allocations: 1.047 MB / 1.256 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007389/0.8852, allocations: 0.7078 MB / 1.256 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.8853, allocations: 56 kB / 1.256 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.8867, allocations: 0.7445 MB / 1.257 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002874/0.887, allocations: 310.9 kB / 1.257 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005605/0.8876, allocations: 0.5362 MB / 1.258 GB, free: 452 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.889, allocations: 1.404 MB / 1.259 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.889, allocations: 0 / 1.259 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.432e-06/0.889, allocations: 0 / 1.259 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.889, allocations: 0 / 1.259 GB, free: 15.04 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.002158/0.8912, allocations: 1.455 MB / 1.261 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.8912, allocations: 8.031 kB / 1.261 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007566/0.892, allocations: 194.5 kB / 1.261 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.8934, allocations: 0.8491 MB / 1.262 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/0.8934, allocations: 41 kB / 1.262 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.597e-05/0.8935, allocations: 59.98 kB / 1.262 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.8946, allocations: 0.7888 MB / 1.263 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.8946, allocations: 7.938 kB / 1.263 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.297e-05/0.8947, allocations: 23.98 kB / 1.263 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.8947, allocations: 16 kB / 1.263 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008661/0.8956, allocations: 0.5343 MB / 1.263 GB, free: 10.87 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.003844/0.8994, allocations: 4.595 MB / 1.268 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006859/0.9001, allocations: 418.7 kB / 1.268 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003614/0.9005, allocations: 244.7 kB / 1.268 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002686/0.9008, allocations: 194.2 kB / 1.268 GB, free: 5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004712/0.9013, allocations: 297.6 kB / 1.269 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.084e-06/0.9013, allocations: 0 / 1.269 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.003761/0.9051, allocations: 1.322 MB / 1.27 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.9051, allocations: 81.11 kB / 1.27 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.9064, allocations: 1.118 MB / 1.271 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.169e-05/0.9065, allocations: 37.7 kB / 1.271 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003564/0.9068, allocations: 488.2 kB / 1.272 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.347e-05/0.9069, allocations: 110.5 kB / 1.272 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.9071, allocations: 109.9 kB / 1.272 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.9072, allocations: 330 kB / 1.272 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.9076, allocations: 210.4 kB / 1.272 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005571/0.9081, allocations: 0.5175 MB / 1.273 GB, free: 172 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000835/0.909, allocations: 0.6306 MB / 1.273 GB, free: 15.45 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.909, allocations: 4 kB / 1.273 GB, free: 15.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002221/0.9112, allocations: 1.034 MB / 1.275 GB, free: 14.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/0.9113, allocations: 33.7 kB / 1.275 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.9113, allocations: 4 kB / 1.275 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.9126, allocations: 361 kB / 1.275 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.9129, allocations: 59.91 kB / 1.275 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009483/0.9138, allocations: 1.009 MB / 1.276 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000649/0.9145, allocations: 83.33 kB / 1.276 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/0.9145, allocations: 27.98 kB / 1.276 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006616/0.9152, allocations: 0.4967 MB / 1.277 GB, free: 12.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004991/0.9157, allocations: 495.3 kB / 1.277 GB, free: 11.69 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000707/0.9164, allocations: 0.5647 MB / 1.278 GB, free: 11.04 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/0.9164, allocations: 3.938 kB / 1.278 GB, free: 11.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001453/0.9179, allocations: 0.8299 MB / 1.278 GB, free: 10.19 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/0.9179, allocations: 37.7 kB / 1.278 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.918, allocations: 8 kB / 1.278 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004847/0.9185, allocations: 206.9 kB / 1.279 GB, free: 9.938 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.9187, allocations: 59.84 kB / 1.279 GB, free: 9.879 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003526/0.9222, allocations: 3.338 MB / 1.282 GB, free: 6.379 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006717/0.9229, allocations: 76.03 kB / 1.282 GB, free: 6.305 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.415e-05/0.9229, allocations: 27.98 kB / 1.282 GB, free: 6.277 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 {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001833/0.9231, allocations: 215.9 kB / 1.282 GB, free: 6.059 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.9233, allocations: 98.78 kB / 1.282 GB, free: 5.961 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.9245, allocations: 0.714 MB / 1.283 GB, free: 5.238 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.9246, allocations: 4 kB / 1.283 GB, free: 5.234 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.9246, allocations: 0 / 1.283 GB, free: 5.234 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003356/0.9249, allocations: 207.9 kB / 1.283 GB, free: 5.012 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.925, allocations: 12 kB / 1.283 GB, free: 5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/0.9254, allocations: 19.97 kB / 1.283 GB, free: 4.98 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.9255, allocations: 43.92 kB / 1.283 GB, free: 4.938 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001362/0.9269, allocations: 0.7918 MB / 1.284 GB, free: 4.137 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001136/0.9281, allocations: 0.929 MB / 1.285 GB, free: 3.188 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003055/0.9284, allocations: 179.8 kB / 1.285 GB, free: 3.012 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009042/0.9293, allocations: 0.7877 MB / 1.286 GB, free: 2.215 MB / 1.014 GB Notification: Performance of Backend: time 4.71e-07/0.9293, allocations: 0 / 1.286 GB, free: 2.215 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002499/0.9318, allocations: 1.156 MB / 1.287 GB, free: 1.035 MB / 1.014 GB Notification: Performance of SimCode: time 0.003687/0.9355, allocations: 2.656 MB / 1.29 GB, free: 14.32 MB / 1.029 GB Notification: Performance of Templates: time 0.03172/0.9672, allocations: 20.62 MB / 1.31 GB, free: 9.91 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches