Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001439/0.001439, allocations: 113.5 kB / 16.42 MB, free: 6.484 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.001558/0.001558, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.461/2.461, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 67.89 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7984/0.7999, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.1609/0.9609, allocations: 167.8 MB / 1.331 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005425/0.9663, allocations: 4.073 MB / 1.335 GB, free: 7.379 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004376/0.9668, allocations: 15.88 kB / 1.335 GB, free: 7.363 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007744/0.9676, allocations: 242.5 kB / 1.335 GB, free: 7.125 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.9694, allocations: 0.7168 MB / 1.336 GB, free: 6.406 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.9707, allocations: 476.5 kB / 1.337 GB, free: 5.945 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002846/0.9735, allocations: 2.79 MB / 1.339 GB, free: 3.145 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002813/0.9764, allocations: 2.559 MB / 1.342 GB, free: 0.5742 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002121/0.9785, allocations: 1.285 MB / 1.343 GB, free: 15.29 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.9797, allocations: 0.8636 MB / 1.344 GB, free: 14.42 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002143/0.98, allocations: 72 kB / 1.344 GB, free: 14.35 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.9816, allocations: 0.8264 MB / 1.345 GB, free: 13.52 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003979/0.982, allocations: 362.7 kB / 1.345 GB, free: 13.16 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0008075/0.9828, allocations: 0.6257 MB / 1.346 GB, free: 12.54 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.9846, allocations: 1.614 MB / 1.347 GB, free: 10.92 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.9846, allocations: 0 / 1.347 GB, free: 10.92 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9846, allocations: 0 / 1.347 GB, free: 10.92 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.711e-05/0.9846, allocations: 0 / 1.347 GB, free: 10.92 MB / 1.076 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.002792/0.9874, allocations: 1.615 MB / 1.349 GB, free: 9.238 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.9875, allocations: 8.031 kB / 1.349 GB, free: 9.23 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008495/0.9883, allocations: 210.3 kB / 1.349 GB, free: 9.023 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.99, allocations: 0.9358 MB / 1.35 GB, free: 8.031 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.973e-05/0.99, allocations: 49.31 kB / 1.35 GB, free: 7.984 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.9901, allocations: 63.98 kB / 1.35 GB, free: 7.922 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.9916, allocations: 0.992 MB / 1.351 GB, free: 6.859 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.9916, allocations: 0 / 1.351 GB, free: 6.859 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.906e-05/0.9917, allocations: 24 kB / 1.351 GB, free: 6.836 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.9917, allocations: 16 kB / 1.351 GB, free: 6.82 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.993, allocations: 0.7921 MB / 1.352 GB, free: 6.027 MB / 1.076 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.004391/0.9974, allocations: 4.773 MB / 1.357 GB, free: 0.9062 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002178/0.9996, allocations: 4.001 MB / 1.36 GB, free: 12.07 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004916/1, allocations: 349.2 kB / 1.361 GB, free: 11.73 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002757/1, allocations: 194.5 kB / 1.361 GB, free: 11.5 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005333/1.001, allocations: 330.7 kB / 1.361 GB, free: 11.16 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001974/1.001, allocations: 35.59 kB / 1.361 GB, free: 11.13 MB / 1.092 GB Notification: Performance of pre-optimization done (n=35): time 2.224e-06/1.001, allocations: 0 / 1.361 GB, free: 11.13 MB / 1.092 GB Notification: Performance of matching and sorting (n=35): time 0.005146/1.006, allocations: 1.732 MB / 1.363 GB, free: 9.367 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/1.006, allocations: 81.11 kB / 1.363 GB, free: 9.27 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/1.008, allocations: 1.185 MB / 1.364 GB, free: 8.07 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.798e-05/1.008, allocations: 41.64 kB / 1.364 GB, free: 8.023 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003876/1.008, allocations: 0.5083 MB / 1.365 GB, free: 7.508 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 9.706e-05/1.008, allocations: 122.3 kB / 1.365 GB, free: 7.387 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/1.008, allocations: 114.2 kB / 1.365 GB, free: 7.27 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.707e-05/1.009, allocations: 330 kB / 1.365 GB, free: 6.941 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004233/1.009, allocations: 250.8 kB / 1.366 GB, free: 6.691 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006226/1.01, allocations: 0.5566 MB / 1.366 GB, free: 6 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009253/1.011, allocations: 0.6867 MB / 1.367 GB, free: 5.234 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/1.011, allocations: 0 / 1.367 GB, free: 5.234 MB / 1.092 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002338/1.013, allocations: 1.13 MB / 1.368 GB, free: 4.086 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/1.013, allocations: 37.64 kB / 1.368 GB, free: 4.043 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/1.013, allocations: 8 kB / 1.368 GB, free: 4.035 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001381/1.014, allocations: 403.1 kB / 1.368 GB, free: 3.641 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/1.015, allocations: 71.89 kB / 1.368 GB, free: 3.57 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/1.016, allocations: 1.052 MB / 1.369 GB, free: 2.492 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008014/1.017, allocations: 67.92 kB / 1.369 GB, free: 2.426 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/1.017, allocations: 27.94 kB / 1.369 GB, free: 2.398 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007228/1.017, allocations: 0.5282 MB / 1.37 GB, free: 1.867 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005544/1.018, allocations: 0.5175 MB / 1.37 GB, free: 1.211 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007778/1.019, allocations: 0.5993 MB / 1.371 GB, free: 0.5312 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.25e-06/1.019, allocations: 4 kB / 1.371 GB, free: 0.5273 MB / 1.092 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.00158/1.02, allocations: 0.9196 MB / 1.372 GB, free: 15.59 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/1.02, allocations: 37.7 kB / 1.372 GB, free: 15.55 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.02, allocations: 8 kB / 1.372 GB, free: 15.54 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005839/1.021, allocations: 257.9 kB / 1.372 GB, free: 15.29 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/1.021, allocations: 67.89 kB / 1.372 GB, free: 15.22 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003686/1.025, allocations: 3.351 MB / 1.376 GB, free: 11.73 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008147/1.026, allocations: 71.97 kB / 1.376 GB, free: 11.66 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/1.026, allocations: 24 kB / 1.376 GB, free: 11.64 MB / 1.107 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.0001796/1.026, allocations: 220.1 kB / 1.376 GB, free: 11.42 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/1.026, allocations: 106.7 kB / 1.376 GB, free: 11.31 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/1.028, allocations: 0.8164 MB / 1.377 GB, free: 10.48 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/1.028, allocations: 0 / 1.377 GB, free: 10.48 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.028, allocations: 0 / 1.377 GB, free: 10.48 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003612/1.028, allocations: 231.7 kB / 1.377 GB, free: 10.23 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/1.028, allocations: 4 kB / 1.377 GB, free: 10.23 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005728/1.029, allocations: 43.94 kB / 1.377 GB, free: 10.18 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/1.029, allocations: 55.84 kB / 1.377 GB, free: 10.13 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001555/1.03, allocations: 0.8545 MB / 1.378 GB, free: 9.266 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001249/1.032, allocations: 0.9998 MB / 1.379 GB, free: 8.25 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003557/1.032, allocations: 211.7 kB / 1.379 GB, free: 8.043 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0009807/1.033, allocations: 0.8367 MB / 1.38 GB, free: 7.199 MB / 1.107 GB Notification: Performance of Backend: time 1.683e-06/1.033, allocations: 0 / 1.38 GB, free: 7.199 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002543/1.036, allocations: 1.231 MB / 1.381 GB, free: 5.938 MB / 1.107 GB Notification: Performance of SimCode: time 0.004135/1.04, allocations: 2.797 MB / 1.384 GB, free: 3.09 MB / 1.107 GB Notification: Performance of Templates: time 0.03366/1.073, allocations: 22.25 MB / 1.406 GB, free: 13.05 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches