Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001541/0.001541, allocations: 114.2 kB / 16.81 MB, free: 5.777 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.00155/0.00155, allocations: 199.1 kB / 17.77 MB, free: 5.129 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.414/1.414, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.74/2.74, allocations: 476.7 MB / 0.7556 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 72.58 kB / 1.097 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2999, allocations: 168.7 MB / 1.262 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.1908/0.4906, allocations: 168.3 MB / 1.426 GB, free: 3.988 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.005999/0.4966, allocations: 4.103 MB / 1.43 GB, free: 15.88 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003083/0.4969, allocations: 15.94 kB / 1.43 GB, free: 15.86 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007118/0.4976, allocations: 242.5 kB / 1.431 GB, free: 15.62 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001657/0.4993, allocations: 0.7111 MB / 1.431 GB, free: 14.91 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.5006, allocations: 490.1 kB / 1.432 GB, free: 14.43 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00329/0.5039, allocations: 2.774 MB / 1.435 GB, free: 11.65 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002955/0.5068, allocations: 2.31 MB / 1.437 GB, free: 9.324 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002246/0.5091, allocations: 1.285 MB / 1.438 GB, free: 8.035 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.5103, allocations: 0.9143 MB / 1.439 GB, free: 7.117 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.5105, allocations: 76 kB / 1.439 GB, free: 7.043 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.5121, allocations: 0.8419 MB / 1.44 GB, free: 6.199 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004407/0.5126, allocations: 378.5 kB / 1.44 GB, free: 5.828 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008/0.5134, allocations: 0.6218 MB / 1.441 GB, free: 5.203 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002153/0.5155, allocations: 1.627 MB / 1.442 GB, free: 3.57 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5155, allocations: 0 / 1.442 GB, free: 3.57 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5155, allocations: 4 kB / 1.442 GB, free: 3.566 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.46e-05/0.5155, allocations: 3.938 kB / 1.442 GB, free: 3.562 MB / 1.154 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.002787/0.5183, allocations: 1.598 MB / 1.444 GB, free: 1.898 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.5184, allocations: 12.62 kB / 1.444 GB, free: 1.887 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008473/0.5192, allocations: 211.1 kB / 1.444 GB, free: 1.68 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.5207, allocations: 0.9486 MB / 1.445 GB, free: 0.6758 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.5208, allocations: 49.31 kB / 1.445 GB, free: 0.6289 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.5209, allocations: 60 kB / 1.445 GB, free: 0.5703 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.5225, allocations: 0.9901 MB / 1.446 GB, free: 15.51 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.5225, allocations: 3.938 kB / 1.446 GB, free: 15.51 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-05/0.5226, allocations: 24 kB / 1.446 GB, free: 15.48 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.5226, allocations: 12 kB / 1.446 GB, free: 15.47 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.524, allocations: 0.8077 MB / 1.447 GB, free: 14.66 MB / 1.17 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.005202/0.5292, allocations: 4.639 MB / 1.452 GB, free: 9.699 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003072/0.5323, allocations: 3.986 MB / 1.455 GB, free: 4.883 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005549/0.5328, allocations: 317.1 kB / 1.456 GB, free: 4.566 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003269/0.5332, allocations: 198.2 kB / 1.456 GB, free: 4.336 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005883/0.5337, allocations: 315.7 kB / 1.456 GB, free: 4.016 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003116/0.5341, allocations: 35.78 kB / 1.456 GB, free: 3.98 MB / 1.17 GB Notification: Performance of pre-optimization done (n=36): time 2.615e-06/0.5341, allocations: 0 / 1.456 GB, free: 3.98 MB / 1.17 GB Notification: Performance of matching and sorting (n=36): time 0.00551/0.5396, allocations: 1.723 MB / 1.458 GB, free: 2.227 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.5396, allocations: 55.41 kB / 1.458 GB, free: 2.16 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/0.5413, allocations: 1.185 MB / 1.459 GB, free: 0.9609 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.375e-05/0.5413, allocations: 37.7 kB / 1.459 GB, free: 0.918 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005178/0.5418, allocations: 0.5206 MB / 1.46 GB, free: 400 kB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.542, allocations: 138.8 kB / 1.46 GB, free: 260 kB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.5422, allocations: 118.2 kB / 1.46 GB, free: 136 kB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.5423, allocations: 326 kB / 1.46 GB, free: 15.81 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004586/0.5428, allocations: 242.9 kB / 1.46 GB, free: 15.57 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007563/0.5436, allocations: 0.5697 MB / 1.461 GB, free: 14.86 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.5446, allocations: 0.7021 MB / 1.462 GB, free: 14.07 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.5447, allocations: 4 kB / 1.462 GB, free: 14.07 MB / 1.186 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0026/0.5473, allocations: 1.138 MB / 1.463 GB, free: 12.91 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.5473, allocations: 33.7 kB / 1.463 GB, free: 12.87 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.5473, allocations: 11.94 kB / 1.463 GB, free: 12.86 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/0.5487, allocations: 391.3 kB / 1.463 GB, free: 12.48 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/0.5491, allocations: 83.83 kB / 1.463 GB, free: 12.39 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.5503, allocations: 1.056 MB / 1.464 GB, free: 11.31 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008478/0.5512, allocations: 63.86 kB / 1.464 GB, free: 11.25 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.713e-05/0.5512, allocations: 32.05 kB / 1.464 GB, free: 11.22 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008054/0.552, allocations: 0.532 MB / 1.465 GB, free: 10.68 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006747/0.5527, allocations: 0.5268 MB / 1.465 GB, free: 10.02 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009145/0.5536, allocations: 0.6119 MB / 1.466 GB, free: 9.32 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.049e-06/0.5536, allocations: 4 kB / 1.466 GB, free: 9.316 MB / 1.186 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.001741/0.5554, allocations: 0.932 MB / 1.467 GB, free: 8.367 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.107e-05/0.5554, allocations: 43.81 kB / 1.467 GB, free: 8.32 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.5554, allocations: 8 kB / 1.467 GB, free: 8.312 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006202/0.5561, allocations: 259.8 kB / 1.467 GB, free: 8.059 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.5564, allocations: 71.89 kB / 1.467 GB, free: 7.988 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0043/0.5607, allocations: 3.35 MB / 1.471 GB, free: 4.508 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008979/0.5616, allocations: 67.98 kB / 1.471 GB, free: 4.441 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/0.5616, allocations: 27.98 kB / 1.471 GB, free: 4.414 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (37): * Single equations (assignments): 35 * 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.0002416/0.5619, allocations: 222.3 kB / 1.471 GB, free: 4.191 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.562, allocations: 115.2 kB / 1.471 GB, free: 4.078 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.5637, allocations: 0.841 MB / 1.472 GB, free: 3.223 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.5637, allocations: 3.984 kB / 1.472 GB, free: 3.219 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.5637, allocations: 0 / 1.472 GB, free: 3.219 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003555/0.564, allocations: 228.3 kB / 1.472 GB, free: 2.977 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.5642, allocations: 16 kB / 1.472 GB, free: 2.961 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005748/0.5647, allocations: 39.94 kB / 1.472 GB, free: 2.922 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.5648, allocations: 43.92 kB / 1.472 GB, free: 2.879 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001663/0.5665, allocations: 0.7889 MB / 1.473 GB, free: 2.082 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001405/0.5679, allocations: 0.9468 MB / 1.474 GB, free: 1.117 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003699/0.5683, allocations: 199.8 kB / 1.474 GB, free: 0.9219 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001138/0.5694, allocations: 0.8368 MB / 1.475 GB, free: 80 kB / 1.186 GB Notification: Performance of Backend: time 2.8e-07/0.5694, allocations: 0 / 1.475 GB, free: 80 kB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002822/0.5722, allocations: 1.201 MB / 1.476 GB, free: 14.84 MB / 1.201 GB Notification: Performance of SimCode: time 0.004457/0.5767, allocations: 2.839 MB / 1.479 GB, free: 11.95 MB / 1.201 GB Notification: Performance of Templates: time 0.03973/0.6164, allocations: 22.63 MB / 1.501 GB, free: 5.562 MB / 1.217 GB make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches