Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 114.7 kB / 16.42 MB, free: 6.492 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.00146/0.00146, allocations: 190.5 kB / 17.35 MB, free: 5.762 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.312/1.312, allocations: 222.9 MB / 241.1 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.19/2.19, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 71.89 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6606/0.662, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.1776/0.8396, allocations: 167.8 MB / 1.252 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00544/0.8451, allocations: 4.069 MB / 1.256 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004478/0.8456, allocations: 19.88 kB / 1.256 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007206/0.8463, allocations: 242.5 kB / 1.257 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.848, allocations: 0.7079 MB / 1.257 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.8492, allocations: 486.6 kB / 1.258 GB, free: 412 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002858/0.8521, allocations: 2.781 MB / 1.261 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002794/0.8549, allocations: 2.556 MB / 1.263 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002039/0.857, allocations: 1.292 MB / 1.264 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.8581, allocations: 0.8559 MB / 1.265 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002046/0.8583, allocations: 76 kB / 1.265 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.8598, allocations: 0.8225 MB / 1.266 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003791/0.8602, allocations: 366.7 kB / 1.266 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007653/0.861, allocations: 0.6218 MB / 1.267 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.8627, allocations: 1.618 MB / 1.269 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.8627, allocations: 0 / 1.269 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8628, allocations: 0 / 1.269 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.024e-05/0.8628, allocations: 3.938 kB / 1.269 GB, free: 5.383 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002823/0.8656, allocations: 1.611 MB / 1.27 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.8657, allocations: 12.02 kB / 1.27 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008586/0.8665, allocations: 206.3 kB / 1.27 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.8681, allocations: 0.9397 MB / 1.271 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/0.8682, allocations: 49.31 kB / 1.271 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.8683, allocations: 60 kB / 1.271 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.8697, allocations: 0.9831 MB / 1.272 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.8698, allocations: 8 kB / 1.272 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.731e-05/0.8698, allocations: 20 kB / 1.272 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.8699, allocations: 16 kB / 1.272 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.8712, allocations: 0.796 MB / 1.273 GB, free: 0.4922 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.004475/0.8756, allocations: 4.761 MB / 1.278 GB, free: 11.39 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002517/0.8782, allocations: 4.01 MB / 1.282 GB, free: 6.543 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000535/0.8787, allocations: 342.2 kB / 1.282 GB, free: 6.207 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002844/0.879, allocations: 194.5 kB / 1.282 GB, free: 5.98 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005213/0.8795, allocations: 328.9 kB / 1.283 GB, free: 5.641 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000177/0.8797, allocations: 35.69 kB / 1.283 GB, free: 5.605 MB / 1.014 GB Notification: Performance of pre-optimization done (n=35): time 2.324e-06/0.8797, allocations: 0 / 1.283 GB, free: 5.605 MB / 1.014 GB Notification: Performance of matching and sorting (n=35): time 0.005121/0.8849, allocations: 1.739 MB / 1.284 GB, free: 3.836 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.8849, allocations: 81.11 kB / 1.284 GB, free: 3.738 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.8863, allocations: 1.192 MB / 1.286 GB, free: 2.531 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.807e-05/0.8864, allocations: 37.7 kB / 1.286 GB, free: 2.488 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000414/0.8868, allocations: 0.5083 MB / 1.286 GB, free: 1.977 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.391e-05/0.8869, allocations: 122.3 kB / 1.286 GB, free: 1.855 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.8871, allocations: 118.1 kB / 1.286 GB, free: 1.734 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.8872, allocations: 322 kB / 1.287 GB, free: 1.414 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004184/0.8876, allocations: 238.9 kB / 1.287 GB, free: 1.176 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000664/0.8883, allocations: 0.5605 MB / 1.287 GB, free: 488 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009876/0.8893, allocations: 0.6902 MB / 1.288 GB, free: 15.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.8893, allocations: 0 / 1.288 GB, free: 15.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002342/0.8917, allocations: 1.138 MB / 1.289 GB, free: 14.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/0.8917, allocations: 37.64 kB / 1.289 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.8917, allocations: 4 kB / 1.289 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001352/0.8931, allocations: 402.4 kB / 1.29 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.8934, allocations: 67.83 kB / 1.29 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/0.8945, allocations: 1.052 MB / 1.291 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007941/0.8953, allocations: 59.92 kB / 1.291 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.164e-05/0.8954, allocations: 27.94 kB / 1.291 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007276/0.8961, allocations: 0.5336 MB / 1.291 GB, free: 12.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006072/0.8967, allocations: 0.5137 MB / 1.292 GB, free: 11.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008455/0.8976, allocations: 0.5954 MB / 1.292 GB, free: 11.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.276e-06/0.8976, allocations: 0 / 1.292 GB, free: 11.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001642/0.8993, allocations: 0.9352 MB / 1.293 GB, free: 10.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.8993, allocations: 36.36 kB / 1.293 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.8993, allocations: 7.938 kB / 1.293 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006024/0.8999, allocations: 255.6 kB / 1.294 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/0.9002, allocations: 71.89 kB / 1.294 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003989/0.9042, allocations: 3.355 MB / 1.297 GB, free: 6.207 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000792/0.905, allocations: 71.97 kB / 1.297 GB, free: 6.137 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/0.9051, allocations: 20 kB / 1.297 GB, free: 6.117 MB / 1.029 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0001924/0.9053, allocations: 220.3 kB / 1.297 GB, free: 5.895 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.9055, allocations: 110.7 kB / 1.297 GB, free: 5.785 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.907, allocations: 0.8203 MB / 1.298 GB, free: 4.949 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.907, allocations: 3.984 kB / 1.298 GB, free: 4.945 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.907, allocations: 0 / 1.298 GB, free: 4.945 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003709/0.9074, allocations: 227.7 kB / 1.298 GB, free: 4.703 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.9075, allocations: 8 kB / 1.298 GB, free: 4.695 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005718/0.9081, allocations: 43.94 kB / 1.298 GB, free: 4.652 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.9082, allocations: 47.86 kB / 1.298 GB, free: 4.605 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00159/0.9098, allocations: 0.8519 MB / 1.299 GB, free: 3.742 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001291/0.9111, allocations: 0.9974 MB / 1.3 GB, free: 2.73 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003595/0.9115, allocations: 211.7 kB / 1.3 GB, free: 2.523 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001041/0.9125, allocations: 0.8407 MB / 1.301 GB, free: 1.676 MB / 1.029 GB Notification: Performance of Backend: time 4.11e-07/0.9125, allocations: 0 / 1.301 GB, free: 1.676 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002728/0.9153, allocations: 1.218 MB / 1.302 GB, free: 432 kB / 1.029 GB Notification: Performance of SimCode: time 0.004242/0.9195, allocations: 2.819 MB / 1.305 GB, free: 13.55 MB / 1.045 GB Notification: Performance of Templates: time 0.03545/0.955, allocations: 22.25 MB / 1.327 GB, free: 7.535 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches