Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001282/0.001282, allocations: 109.1 kB / 16.42 MB, free: 5.551 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.001245/0.001245, allocations: 187.7 kB / 17.34 MB, free: 5.211 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.294/1.294, 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 11.0.0-master/package.mo): time 2.478/2.478, allocations: 461.7 MB / 0.7353 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.84 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6647/0.6661, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.1566/0.8227, allocations: 167.8 MB / 1.372 GB, free: 5.188 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.005022/0.8278, allocations: 4.065 MB / 1.376 GB, free: 1.109 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003137/0.8281, allocations: 19.88 kB / 1.376 GB, free: 1.09 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00064/0.8288, allocations: 238.5 kB / 1.376 GB, free: 0.8555 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001419/0.8303, allocations: 0.6805 MB / 1.377 GB, free: 176 kB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.8314, allocations: 476.9 kB / 1.377 GB, free: 15.71 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002649/0.8341, allocations: 2.781 MB / 1.38 GB, free: 12.92 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002707/0.8368, allocations: 2.556 MB / 1.383 GB, free: 10.35 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001875/0.8387, allocations: 1.269 MB / 1.384 GB, free: 9.074 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.8397, allocations: 0.8559 MB / 1.385 GB, free: 8.215 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.8399, allocations: 76 kB / 1.385 GB, free: 8.141 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.8413, allocations: 0.8186 MB / 1.386 GB, free: 7.32 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003339/0.8416, allocations: 366.8 kB / 1.386 GB, free: 6.961 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006312/0.8423, allocations: 0.614 MB / 1.387 GB, free: 6.344 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.8438, allocations: 1.618 MB / 1.388 GB, free: 4.723 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8438, allocations: 0 / 1.388 GB, free: 4.723 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.213e-06/0.8439, allocations: 0 / 1.388 GB, free: 4.723 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.8439, allocations: 0 / 1.388 GB, free: 4.723 MB / 1.107 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.002411/0.8463, allocations: 1.611 MB / 1.39 GB, free: 3.047 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.8463, allocations: 12.03 kB / 1.39 GB, free: 3.035 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007961/0.8471, allocations: 202.3 kB / 1.39 GB, free: 2.836 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.8485, allocations: 0.9397 MB / 1.391 GB, free: 1.84 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.112e-05/0.8485, allocations: 49.31 kB / 1.391 GB, free: 1.793 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.8486, allocations: 67.97 kB / 1.391 GB, free: 1.727 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.85, allocations: 0.987 MB / 1.392 GB, free: 0.668 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.8501, allocations: 7.938 kB / 1.392 GB, free: 0.6602 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-05/0.8501, allocations: 20 kB / 1.392 GB, free: 0.6406 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.8502, allocations: 16 kB / 1.392 GB, free: 0.625 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.8514, allocations: 0.7921 MB / 1.393 GB, free: 15.83 MB / 1.123 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.004034/0.8554, allocations: 4.781 MB / 1.397 GB, free: 10.7 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/0.8576, allocations: 4.004 MB / 1.401 GB, free: 5.863 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004755/0.8581, allocations: 342.5 kB / 1.402 GB, free: 5.527 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002674/0.8584, allocations: 194.5 kB / 1.402 GB, free: 5.301 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005113/0.8589, allocations: 329.5 kB / 1.402 GB, free: 4.961 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001784/0.8591, allocations: 39.53 kB / 1.402 GB, free: 4.922 MB / 1.123 GB Notification: Performance of pre-optimization done (n=35): time 2.304e-06/0.8591, allocations: 0 / 1.402 GB, free: 4.922 MB / 1.123 GB Notification: Performance of matching and sorting (n=35): time 0.005013/0.8641, allocations: 1.732 MB / 1.404 GB, free: 3.16 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.8642, allocations: 81.11 kB / 1.404 GB, free: 3.062 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.8656, allocations: 1.189 MB / 1.405 GB, free: 1.859 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.8657, allocations: 37.7 kB / 1.405 GB, free: 1.816 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004012/0.8661, allocations: 0.5044 MB / 1.406 GB, free: 1.309 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 9.407e-05/0.8662, allocations: 122.3 kB / 1.406 GB, free: 1.188 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.8664, allocations: 118.2 kB / 1.406 GB, free: 1.066 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.8665, allocations: 326 kB / 1.406 GB, free: 0.7422 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/0.8669, allocations: 238.9 kB / 1.406 GB, free: 0.5078 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006193/0.8675, allocations: 0.5604 MB / 1.407 GB, free: 15.81 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009331/0.8685, allocations: 0.6893 MB / 1.408 GB, free: 15.04 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.8685, allocations: 4 kB / 1.408 GB, free: 15.04 MB / 1.139 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002239/0.8707, allocations: 1.126 MB / 1.409 GB, free: 13.89 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.8708, allocations: 43.77 kB / 1.409 GB, free: 13.84 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.8708, allocations: 8 kB / 1.409 GB, free: 13.84 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.8721, allocations: 402.8 kB / 1.409 GB, free: 13.44 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.8724, allocations: 75.83 kB / 1.409 GB, free: 13.37 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/0.8735, allocations: 1.053 MB / 1.41 GB, free: 12.29 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007533/0.8743, allocations: 59.92 kB / 1.41 GB, free: 12.23 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.686e-05/0.8743, allocations: 32 kB / 1.41 GB, free: 12.2 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006915/0.875, allocations: 0.5299 MB / 1.411 GB, free: 11.67 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005532/0.8756, allocations: 0.5137 MB / 1.411 GB, free: 11.01 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007849/0.8764, allocations: 0.5993 MB / 1.412 GB, free: 10.33 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.186e-06/0.8764, allocations: 4 kB / 1.412 GB, free: 10.33 MB / 1.139 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001572/0.878, allocations: 0.9236 MB / 1.413 GB, free: 9.387 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.878, allocations: 33.7 kB / 1.413 GB, free: 9.348 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.878, allocations: 4 kB / 1.413 GB, free: 9.344 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005632/0.8786, allocations: 256.9 kB / 1.413 GB, free: 9.09 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.8789, allocations: 71.89 kB / 1.413 GB, free: 9.02 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003676/0.8826, allocations: 3.345 MB / 1.416 GB, free: 5.539 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007835/0.8834, allocations: 75.97 kB / 1.416 GB, free: 5.465 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.8834, allocations: 20 kB / 1.417 GB, free: 5.445 MB / 1.139 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.0001675/0.8836, allocations: 223.5 kB / 1.417 GB, free: 5.223 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.8838, allocations: 106.7 kB / 1.417 GB, free: 5.117 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.8852, allocations: 0.8086 MB / 1.418 GB, free: 4.297 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.8852, allocations: 96 / 1.418 GB, free: 4.297 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.8852, allocations: 7.984 kB / 1.418 GB, free: 4.289 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003266/0.8856, allocations: 227.7 kB / 1.418 GB, free: 4.047 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.8857, allocations: 12 kB / 1.418 GB, free: 4.035 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005547/0.8863, allocations: 39.94 kB / 1.418 GB, free: 3.996 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.8864, allocations: 55.84 kB / 1.418 GB, free: 3.941 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001531/0.8879, allocations: 0.8515 MB / 1.419 GB, free: 3.078 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001259/0.8892, allocations: 1.01 MB / 1.42 GB, free: 2.055 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003474/0.8896, allocations: 208.3 kB / 1.42 GB, free: 1.852 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001048/0.8906, allocations: 0.8367 MB / 1.421 GB, free: 1.008 MB / 1.139 GB Notification: Performance of Backend: time 4.21e-07/0.8906, allocations: 0 / 1.421 GB, free: 1.008 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002772/0.8934, allocations: 1.224 MB / 1.422 GB, free: 15.75 MB / 1.154 GB Notification: Performance of SimCode: time 0.00415/0.8976, allocations: 2.803 MB / 1.425 GB, free: 12.9 MB / 1.154 GB Notification: Performance of Templates: time 0.03348/0.9311, allocations: 22.06 MB / 1.446 GB, free: 7.074 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches