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.001356/0.001356, allocations: 108.3 kB / 16.41 MB, free: 6.434 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.001404/0.001405, allocations: 187.9 kB / 17.35 MB, free: 5.688 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.316/1.316, allocations: 222.9 MB / 241.1 MB, free: 15.06 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.422/2.422, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 64.12 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7515/0.7532, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.1738/0.927, allocations: 167.8 MB / 1.331 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005518/0.9326, allocations: 4.08 MB / 1.335 GB, free: 7.316 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000373/0.933, allocations: 15.88 kB / 1.335 GB, free: 7.301 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007492/0.9338, allocations: 246.5 kB / 1.335 GB, free: 7.059 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.9354, allocations: 0.7079 MB / 1.336 GB, free: 6.348 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.9368, allocations: 480.5 kB / 1.337 GB, free: 5.883 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003182/0.94, allocations: 2.783 MB / 1.339 GB, free: 3.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003252/0.9432, allocations: 2.578 MB / 1.342 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002385/0.9456, allocations: 1.285 MB / 1.343 GB, free: 15.21 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.947, allocations: 0.852 MB / 1.344 GB, free: 14.36 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002525/0.9473, allocations: 72 kB / 1.344 GB, free: 14.29 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.949, allocations: 0.8302 MB / 1.345 GB, free: 13.46 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004488/0.9495, allocations: 366.7 kB / 1.345 GB, free: 13.1 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009929/0.9505, allocations: 0.6179 MB / 1.346 GB, free: 12.48 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002149/0.9527, allocations: 1.623 MB / 1.347 GB, free: 10.85 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.9527, allocations: 4 kB / 1.347 GB, free: 10.84 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9527, allocations: 0 / 1.347 GB, free: 10.84 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.968e-05/0.9527, allocations: 0 / 1.347 GB, free: 10.84 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.002865/0.9556, allocations: 1.661 MB / 1.349 GB, free: 9.117 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.9557, allocations: 8.031 kB / 1.349 GB, free: 9.109 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008894/0.9565, allocations: 207.1 kB / 1.349 GB, free: 8.906 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.9581, allocations: 0.9447 MB / 1.35 GB, free: 7.906 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/0.9582, allocations: 49.31 kB / 1.35 GB, free: 7.859 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.9583, allocations: 64 kB / 1.35 GB, free: 7.797 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.9598, allocations: 0.9875 MB / 1.351 GB, free: 6.738 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.9599, allocations: 4 kB / 1.351 GB, free: 6.734 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.212e-05/0.9599, allocations: 28 kB / 1.351 GB, free: 6.707 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.96, allocations: 16 kB / 1.351 GB, free: 6.691 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.9613, allocations: 0.796 MB / 1.352 GB, free: 5.895 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.004786/0.9661, allocations: 4.77 MB / 1.357 GB, free: 0.7773 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002414/0.9686, allocations: 4.016 MB / 1.361 GB, free: 11.93 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000518/0.9691, allocations: 349.2 kB / 1.361 GB, free: 11.59 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003045/0.9694, allocations: 190.5 kB / 1.361 GB, free: 11.36 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005312/0.97, allocations: 330.8 kB / 1.361 GB, free: 11.02 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002557/0.9702, allocations: 31.73 kB / 1.361 GB, free: 10.99 MB / 1.092 GB Notification: Performance of pre-optimization done (n=35): time 2.495e-06/0.9702, allocations: 0 / 1.361 GB, free: 10.99 MB / 1.092 GB Notification: Performance of matching and sorting (n=35): time 0.005443/0.9757, allocations: 1.74 MB / 1.363 GB, free: 9.223 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.9758, allocations: 89.03 kB / 1.363 GB, free: 9.117 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.9773, allocations: 1.181 MB / 1.364 GB, free: 7.922 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.667e-05/0.9774, allocations: 41.7 kB / 1.364 GB, free: 7.875 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004286/0.9778, allocations: 0.5168 MB / 1.365 GB, free: 7.352 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.9779, allocations: 130.9 kB / 1.365 GB, free: 7.223 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.9781, allocations: 118.2 kB / 1.365 GB, free: 7.102 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.9783, allocations: 330 kB / 1.365 GB, free: 6.773 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.9787, allocations: 238.9 kB / 1.366 GB, free: 6.535 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007219/0.9794, allocations: 0.5566 MB / 1.366 GB, free: 5.844 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009739/0.9804, allocations: 0.6828 MB / 1.367 GB, free: 5.082 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.9804, allocations: 0 / 1.367 GB, free: 5.082 MB / 1.092 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002591/0.983, allocations: 1.131 MB / 1.368 GB, free: 3.934 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.616e-05/0.9831, allocations: 47.97 kB / 1.368 GB, free: 3.883 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.9831, allocations: 8 kB / 1.368 GB, free: 3.875 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001506/0.9846, allocations: 399.4 kB / 1.368 GB, free: 3.484 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/0.9849, allocations: 71.89 kB / 1.368 GB, free: 3.414 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.9861, allocations: 1.056 MB / 1.369 GB, free: 2.332 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008444/0.987, allocations: 67.89 kB / 1.37 GB, free: 2.266 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.175e-05/0.9871, allocations: 31.92 kB / 1.37 GB, free: 2.234 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007548/0.9878, allocations: 0.5243 MB / 1.37 GB, free: 1.707 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006144/0.9885, allocations: 0.5214 MB / 1.371 GB, free: 1.047 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000825/0.9893, allocations: 0.5993 MB / 1.371 GB, free: 376 kB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.649e-06/0.9893, allocations: 4 kB / 1.371 GB, free: 372 kB / 1.092 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001732/0.991, allocations: 0.9243 MB / 1.372 GB, free: 15.42 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.9911, allocations: 33.7 kB / 1.372 GB, free: 15.38 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.9911, allocations: 11.98 kB / 1.372 GB, free: 15.37 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000635/0.9917, allocations: 263.4 kB / 1.372 GB, free: 15.11 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.9921, allocations: 67.89 kB / 1.372 GB, free: 15.05 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003915/0.996, allocations: 3.346 MB / 1.376 GB, free: 11.57 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008587/0.9969, allocations: 71.98 kB / 1.376 GB, free: 11.5 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-05/0.9969, allocations: 24 kB / 1.376 GB, free: 11.48 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.0002089/0.9971, allocations: 231.7 kB / 1.376 GB, free: 11.25 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.9973, allocations: 115.2 kB / 1.376 GB, free: 11.13 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001492/0.9988, allocations: 0.8086 MB / 1.377 GB, free: 10.3 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.9988, allocations: 0 / 1.377 GB, free: 10.3 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.9989, allocations: 96 / 1.377 GB, free: 10.3 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003542/0.9992, allocations: 240.3 kB / 1.377 GB, free: 10.05 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.9993, allocations: 8 kB / 1.377 GB, free: 10.04 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000537/0.9999, allocations: 43.94 kB / 1.377 GB, free: 10 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/1, allocations: 51.86 kB / 1.377 GB, free: 9.949 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001568/1.002, allocations: 0.8517 MB / 1.378 GB, free: 9.086 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001349/1.003, allocations: 1.008 MB / 1.379 GB, free: 8.062 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003511/1.003, allocations: 207.7 kB / 1.379 GB, free: 7.859 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001145/1.004, allocations: 0.8407 MB / 1.38 GB, free: 7.012 MB / 1.107 GB Notification: Performance of Backend: time 5.1e-07/1.004, allocations: 0 / 1.38 GB, free: 7.012 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002855/1.007, allocations: 1.234 MB / 1.381 GB, free: 5.742 MB / 1.107 GB Notification: Performance of SimCode: time 0.004325/1.012, allocations: 2.835 MB / 1.384 GB, free: 2.855 MB / 1.107 GB Notification: Performance of Templates: time 0.03566/1.047, allocations: 22.25 MB / 1.406 GB, free: 12.83 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