Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 209.1 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.154/3.154, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003494/0.003494, allocations: 66.86 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3323, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1773/0.5096, allocations: 142.4 MB / 1.466 GB, free: 2 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.003112/0.5127, allocations: 1.65 MB / 1.468 GB, free: 356 kB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.513, allocations: 15.88 kB / 1.468 GB, free: 340 kB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005657/0.5135, allocations: 154.9 kB / 1.468 GB, free: 184 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.5149, allocations: 0.5378 MB / 1.468 GB, free: 15.64 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.5159, allocations: 416.4 kB / 1.469 GB, free: 15.24 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002817/0.5188, allocations: 2.551 MB / 1.471 GB, free: 12.68 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00249/0.5212, allocations: 1.861 MB / 1.473 GB, free: 10.8 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002331/0.5236, allocations: 1.226 MB / 1.474 GB, free: 9.566 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009924/0.5246, allocations: 0.7389 MB / 1.475 GB, free: 8.824 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.5247, allocations: 56 kB / 1.475 GB, free: 8.77 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.526, allocations: 0.6276 MB / 1.476 GB, free: 8.141 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003412/0.5263, allocations: 314.8 kB / 1.476 GB, free: 7.832 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006006/0.5269, allocations: 473.6 kB / 1.477 GB, free: 7.367 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.5288, allocations: 1.432 MB / 1.478 GB, free: 5.93 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.5288, allocations: 0 / 1.478 GB, free: 5.93 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5288, allocations: 0 / 1.478 GB, free: 5.93 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.5288, allocations: 0 / 1.478 GB, free: 5.93 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002558/0.5314, allocations: 1.448 MB / 1.479 GB, free: 4.438 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.5314, allocations: 8.031 kB / 1.479 GB, free: 4.43 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000798/0.5322, allocations: 191.1 kB / 1.48 GB, free: 4.242 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/0.534, allocations: 0.837 MB / 1.48 GB, free: 3.359 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.894e-05/0.534, allocations: 41 kB / 1.48 GB, free: 3.32 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.5342, allocations: 60 kB / 1.48 GB, free: 3.262 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.536, allocations: 0.822 MB / 1.481 GB, free: 2.363 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.536, allocations: 3.938 kB / 1.481 GB, free: 2.359 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.375e-05/0.5361, allocations: 24 kB / 1.481 GB, free: 2.336 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.5361, allocations: 12 kB / 1.481 GB, free: 2.324 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.5378, allocations: 0.5657 MB / 1.482 GB, free: 1.758 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005082/0.5428, allocations: 3.409 MB / 1.485 GB, free: 14.23 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008054/0.5436, allocations: 414.2 kB / 1.486 GB, free: 13.81 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005156/0.5442, allocations: 310.8 kB / 1.486 GB, free: 13.51 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002568/0.5444, allocations: 43.97 kB / 1.486 GB, free: 13.46 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005969/0.545, allocations: 315.1 kB / 1.486 GB, free: 13.14 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002387/0.5453, allocations: 24 kB / 1.486 GB, free: 13.11 MB / 1.186 GB Notification: Performance of pre-optimization done (n=33): time 2.856e-06/0.5453, allocations: 0 / 1.486 GB, free: 13.11 MB / 1.186 GB Notification: Performance of matching and sorting (n=33): time 0.005503/0.5508, allocations: 1.578 MB / 1.488 GB, free: 11.52 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.5508, allocations: 81.11 kB / 1.488 GB, free: 11.43 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.5523, allocations: 1.065 MB / 1.489 GB, free: 10.34 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.504e-05/0.5523, allocations: 37.7 kB / 1.489 GB, free: 10.3 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004612/0.5528, allocations: 0.4927 MB / 1.489 GB, free: 9.797 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.5529, allocations: 123 kB / 1.49 GB, free: 9.676 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.5531, allocations: 110.1 kB / 1.49 GB, free: 9.562 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.5533, allocations: 322 kB / 1.49 GB, free: 9.242 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004694/0.5537, allocations: 268.2 kB / 1.49 GB, free: 8.973 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.5548, allocations: 1.144 MB / 1.491 GB, free: 7.547 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.5558, allocations: 0.6861 MB / 1.492 GB, free: 6.781 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.5558, allocations: 0 / 1.492 GB, free: 6.781 MB / 1.186 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002587/0.5584, allocations: 1.121 MB / 1.493 GB, free: 5.637 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.976e-05/0.5584, allocations: 41.94 kB / 1.493 GB, free: 5.59 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.5584, allocations: 7.938 kB / 1.493 GB, free: 5.582 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001431/0.5599, allocations: 373.7 kB / 1.493 GB, free: 5.215 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/0.5603, allocations: 83.88 kB / 1.494 GB, free: 5.133 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.5615, allocations: 1.042 MB / 1.495 GB, free: 4.066 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008264/0.5623, allocations: 63.98 kB / 1.495 GB, free: 4.004 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.863e-05/0.5624, allocations: 28.27 kB / 1.495 GB, free: 3.977 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008401/0.5632, allocations: 0.5503 MB / 1.495 GB, free: 3.418 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009667/0.5642, allocations: 1.109 MB / 1.496 GB, free: 2.023 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009/0.5651, allocations: 0.6074 MB / 1.497 GB, free: 1.336 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.24e-06/0.5651, allocations: 4 kB / 1.497 GB, free: 1.332 MB / 1.186 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001816/0.5669, allocations: 0.914 MB / 1.498 GB, free: 404 kB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.567, allocations: 33.7 kB / 1.498 GB, free: 364 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.567, allocations: 4 kB / 1.498 GB, free: 360 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006421/0.5676, allocations: 245.2 kB / 1.498 GB, free: 112 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.568, allocations: 91.8 kB / 1.498 GB, free: 20 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004012/0.572, allocations: 3.071 MB / 1.501 GB, free: 12.86 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009343/0.5729, allocations: 64.25 kB / 1.501 GB, free: 12.79 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-05/0.573, allocations: 24 kB / 1.501 GB, free: 12.77 MB / 1.201 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,20)} Notification: Performance of prepare postOptimizeDAE: time 0.000237/0.5732, allocations: 209.6 kB / 1.501 GB, free: 12.56 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.5734, allocations: 119.3 kB / 1.502 GB, free: 12.44 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/0.5749, allocations: 0.7532 MB / 1.502 GB, free: 11.68 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.5749, allocations: 0 / 1.502 GB, free: 11.68 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5749, allocations: 4 kB / 1.502 GB, free: 11.67 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003836/0.5753, allocations: 139.3 kB / 1.502 GB, free: 11.54 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.5754, allocations: 11.94 kB / 1.502 GB, free: 11.52 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004805/0.5759, allocations: 35.94 kB / 1.502 GB, free: 11.49 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.576, allocations: 47.98 kB / 1.502 GB, free: 11.44 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00175/0.5777, allocations: 0.8559 MB / 1.503 GB, free: 10.57 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001429/0.5792, allocations: 0.9946 MB / 1.504 GB, free: 9.559 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003877/0.5796, allocations: 199.7 kB / 1.504 GB, free: 9.363 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001088/0.5807, allocations: 0.7439 MB / 1.505 GB, free: 8.609 MB / 1.201 GB Notification: Performance of Backend: time 2.91e-07/0.5807, allocations: 0 / 1.505 GB, free: 8.609 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002907/0.5836, allocations: 1.205 MB / 1.506 GB, free: 7.352 MB / 1.201 GB Notification: Performance of SimCode: time 0.004152/0.5877, allocations: 2.647 MB / 1.509 GB, free: 4.652 MB / 1.201 GB Notification: Performance of Templates: time 0.03644/0.6241, allocations: 21.75 MB / 1.53 GB, free: 15.27 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.223607437997998]