Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 112.1 kB / 16.42 MB, free: 6.504 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.001024/0.001024, allocations: 187.9 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.28/1.28, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.489/2.489, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 64.09 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6868/0.6882, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.1603/0.8485, allocations: 167.8 MB / 1.372 GB, free: 5.273 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.003323/0.8519, allocations: 2.21 MB / 1.374 GB, free: 3.059 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002645/0.8522, allocations: 15.88 kB / 1.374 GB, free: 3.043 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006228/0.8528, allocations: 234.5 kB / 1.375 GB, free: 2.812 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.8543, allocations: 0.6728 MB / 1.375 GB, free: 2.137 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.8553, allocations: 441.2 kB / 1.376 GB, free: 1.711 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002632/0.8579, allocations: 2.762 MB / 1.378 GB, free: 14.94 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002712/0.8607, allocations: 2.552 MB / 1.381 GB, free: 12.37 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001879/0.8626, allocations: 1.281 MB / 1.382 GB, free: 11.09 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009689/0.8635, allocations: 0.8598 MB / 1.383 GB, free: 10.22 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.8637, allocations: 72 kB / 1.383 GB, free: 10.15 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.8651, allocations: 0.8186 MB / 1.384 GB, free: 9.332 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003175/0.8654, allocations: 362.7 kB / 1.384 GB, free: 8.977 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006031/0.866, allocations: 0.6179 MB / 1.385 GB, free: 8.355 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.8677, allocations: 1.61 MB / 1.386 GB, free: 6.742 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8677, allocations: 0 / 1.386 GB, free: 6.742 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8677, allocations: 4 kB / 1.386 GB, free: 6.738 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.716e-05/0.8677, allocations: 7.938 kB / 1.386 GB, free: 6.73 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002335/0.87, allocations: 1.615 MB / 1.388 GB, free: 5.055 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.8701, allocations: 8.031 kB / 1.388 GB, free: 5.047 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008004/0.8709, allocations: 198.4 kB / 1.388 GB, free: 4.852 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.8722, allocations: 0.9357 MB / 1.389 GB, free: 3.859 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/0.8723, allocations: 45.31 kB / 1.389 GB, free: 3.816 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.8724, allocations: 67.94 kB / 1.389 GB, free: 3.75 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.8737, allocations: 0.987 MB / 1.39 GB, free: 2.688 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.8737, allocations: 7.938 kB / 1.39 GB, free: 2.68 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.507e-05/0.8738, allocations: 20 kB / 1.39 GB, free: 2.66 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.8738, allocations: 16 kB / 1.39 GB, free: 2.645 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.8751, allocations: 0.8038 MB / 1.391 GB, free: 1.84 MB / 1.107 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.003954/0.879, allocations: 4.757 MB / 1.396 GB, free: 12.73 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002189/0.8812, allocations: 4.02 MB / 1.4 GB, free: 7.887 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004717/0.8817, allocations: 342.5 kB / 1.4 GB, free: 7.551 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002713/0.882, allocations: 194.5 kB / 1.4 GB, free: 7.324 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004894/0.8825, allocations: 329 kB / 1.4 GB, free: 6.984 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001771/0.8827, allocations: 31.69 kB / 1.4 GB, free: 6.953 MB / 1.123 GB Notification: Performance of pre-optimization done (n=35): time 2.345e-06/0.8827, allocations: 0 / 1.4 GB, free: 6.953 MB / 1.123 GB Notification: Performance of matching and sorting (n=35): time 0.004438/0.8871, allocations: 1.587 MB / 1.402 GB, free: 5.336 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.8872, allocations: 81.11 kB / 1.402 GB, free: 5.238 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.8885, allocations: 1.188 MB / 1.403 GB, free: 4.035 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/0.8885, allocations: 33.7 kB / 1.403 GB, free: 3.996 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003973/0.8889, allocations: 0.5121 MB / 1.404 GB, free: 3.48 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 9.14e-05/0.889, allocations: 118.3 kB / 1.404 GB, free: 3.363 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.8892, allocations: 118.1 kB / 1.404 GB, free: 3.242 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.8893, allocations: 326 kB / 1.404 GB, free: 2.918 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/0.8897, allocations: 238.9 kB / 1.405 GB, free: 2.684 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000622/0.8903, allocations: 0.5581 MB / 1.405 GB, free: 1.988 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000922/0.8913, allocations: 0.6893 MB / 1.406 GB, free: 1.219 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.8913, allocations: 0 / 1.406 GB, free: 1.219 MB / 1.123 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002173/0.8935, allocations: 1.091 MB / 1.407 GB, free: 112 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/0.8935, allocations: 38.31 kB / 1.407 GB, free: 68 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.8935, allocations: 12 kB / 1.407 GB, free: 56 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/0.8948, allocations: 358 kB / 1.407 GB, free: 15.7 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/0.8952, allocations: 91.86 kB / 1.407 GB, free: 15.61 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00096/0.8961, allocations: 1.007 MB / 1.408 GB, free: 14.58 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006967/0.8969, allocations: 67.92 kB / 1.408 GB, free: 14.52 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.274e-05/0.8969, allocations: 24 kB / 1.408 GB, free: 14.49 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006892/0.8976, allocations: 0.5282 MB / 1.409 GB, free: 13.96 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005541/0.8982, allocations: 0.5214 MB / 1.409 GB, free: 13.3 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007894/0.899, allocations: 0.5996 MB / 1.41 GB, free: 12.62 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.248e-06/0.899, allocations: 4 kB / 1.41 GB, free: 12.61 MB / 1.139 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001477/0.9005, allocations: 0.8923 MB / 1.411 GB, free: 11.7 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.9005, allocations: 33.7 kB / 1.411 GB, free: 11.66 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.9005, allocations: 8.562 kB / 1.411 GB, free: 11.66 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004882/0.901, allocations: 230.7 kB / 1.411 GB, free: 11.43 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.9014, allocations: 99.75 kB / 1.411 GB, free: 11.33 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00335/0.9048, allocations: 3.141 MB / 1.414 GB, free: 8.051 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007164/0.9055, allocations: 75.97 kB / 1.414 GB, free: 7.977 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.9055, allocations: 24 kB / 1.414 GB, free: 7.953 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 (38): * Single equations (assignments): 36 * 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.000167/0.9057, allocations: 224 kB / 1.415 GB, free: 7.727 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.9058, allocations: 110.6 kB / 1.415 GB, free: 7.617 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.9072, allocations: 0.7812 MB / 1.415 GB, free: 6.824 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.9072, allocations: 3.984 kB / 1.415 GB, free: 6.82 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.9072, allocations: 4 kB / 1.415 GB, free: 6.816 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002901/0.9075, allocations: 219.8 kB / 1.416 GB, free: 6.582 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.9076, allocations: 19.92 kB / 1.416 GB, free: 6.562 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004987/0.9081, allocations: 31.95 kB / 1.416 GB, free: 6.531 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.9083, allocations: 43.92 kB / 1.416 GB, free: 6.488 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001451/0.9097, allocations: 0.8438 MB / 1.417 GB, free: 5.633 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001255/0.911, allocations: 0.9989 MB / 1.418 GB, free: 4.621 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000339/0.9113, allocations: 220.4 kB / 1.418 GB, free: 4.406 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009932/0.9123, allocations: 0.8327 MB / 1.419 GB, free: 3.566 MB / 1.139 GB Notification: Performance of Backend: time 2.7e-07/0.9124, allocations: 0 / 1.419 GB, free: 3.566 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002561/0.9149, allocations: 1.217 MB / 1.42 GB, free: 2.32 MB / 1.139 GB Notification: Performance of SimCode: time 0.003834/0.9188, allocations: 2.78 MB / 1.422 GB, free: 15.48 MB / 1.154 GB Notification: Performance of Templates: time 0.0332/0.952, allocations: 22.44 MB / 1.444 GB, free: 9.273 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches