Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.00128/0.00128, 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.001398/0.001398, allocations: 211 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.092/3.092, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") [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.002014/0.002014, allocations: 69.77 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3037, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1744/0.4781, allocations: 142.4 MB / 1.466 GB, free: 2.027 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005191/0.4833, allocations: 3.353 MB / 1.469 GB, free: 14.67 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003406/0.4836, allocations: 23.81 kB / 1.469 GB, free: 14.64 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006361/0.4843, allocations: 162.9 kB / 1.47 GB, free: 14.48 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.4857, allocations: 0.5328 MB / 1.47 GB, free: 13.95 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.4869, allocations: 460 kB / 1.471 GB, free: 13.5 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002909/0.4898, allocations: 2.566 MB / 1.473 GB, free: 10.93 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002545/0.4923, allocations: 1.857 MB / 1.475 GB, free: 9.059 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002352/0.4947, allocations: 1.23 MB / 1.476 GB, free: 7.824 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.4957, allocations: 0.735 MB / 1.477 GB, free: 7.086 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.4958, allocations: 64 kB / 1.477 GB, free: 7.023 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.4971, allocations: 0.6275 MB / 1.478 GB, free: 6.395 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003602/0.4975, allocations: 322.8 kB / 1.478 GB, free: 6.078 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006158/0.4981, allocations: 469.6 kB / 1.478 GB, free: 5.617 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.5, allocations: 1.44 MB / 1.48 GB, free: 4.172 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.5, allocations: 0 / 1.48 GB, free: 4.172 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5, allocations: 0 / 1.48 GB, free: 4.172 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.5, allocations: 0 / 1.48 GB, free: 4.172 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002483/0.5025, allocations: 1.445 MB / 1.481 GB, free: 2.684 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.5025, allocations: 8.031 kB / 1.481 GB, free: 2.676 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008256/0.5033, allocations: 203.1 kB / 1.481 GB, free: 2.477 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.505, allocations: 0.8293 MB / 1.482 GB, free: 1.594 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/0.505, allocations: 41 kB / 1.482 GB, free: 1.555 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.5051, allocations: 64 kB / 1.482 GB, free: 1.492 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.5064, allocations: 0.843 MB / 1.483 GB, free: 0.5664 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.5064, allocations: 11.98 kB / 1.483 GB, free: 0.5547 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-05/0.5065, allocations: 16 kB / 1.483 GB, free: 0.5391 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.5065, allocations: 16 kB / 1.483 GB, free: 0.5234 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.5075, allocations: 0.5618 MB / 1.484 GB, free: 15.96 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003951/0.5115, allocations: 3.413 MB / 1.487 GB, free: 12.43 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007798/0.5123, allocations: 422.1 kB / 1.487 GB, free: 12.01 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005006/0.5128, allocations: 310.3 kB / 1.488 GB, free: 11.71 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002444/0.513, allocations: 35.97 kB / 1.488 GB, free: 11.67 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005944/0.5136, allocations: 348.7 kB / 1.488 GB, free: 11.3 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001767/0.5138, allocations: 28.02 kB / 1.488 GB, free: 11.28 MB / 1.186 GB Notification: Performance of pre-optimization done (n=33): time 2.184e-06/0.5138, allocations: 0 / 1.488 GB, free: 11.28 MB / 1.186 GB Notification: Performance of matching and sorting (n=33): time 0.001539/0.5153, allocations: 0.6964 MB / 1.489 GB, free: 10.57 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.5154, allocations: 85.11 kB / 1.489 GB, free: 10.47 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.5167, allocations: 1.07 MB / 1.49 GB, free: 9.383 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.241e-05/0.5168, allocations: 33.7 kB / 1.49 GB, free: 9.344 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004448/0.5172, allocations: 0.4888 MB / 1.49 GB, free: 8.848 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.5173, allocations: 123 kB / 1.49 GB, free: 8.727 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.5175, allocations: 114.1 kB / 1.491 GB, free: 8.609 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5177, allocations: 325.9 kB / 1.491 GB, free: 8.285 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004573/0.5181, allocations: 268.2 kB / 1.491 GB, free: 8.016 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.5192, allocations: 1.148 MB / 1.492 GB, free: 6.586 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.5202, allocations: 0.6784 MB / 1.493 GB, free: 5.828 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5202, allocations: 4 kB / 1.493 GB, free: 5.824 MB / 1.186 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001374/0.5216, allocations: 0.8006 MB / 1.494 GB, free: 5.004 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.5216, allocations: 35.73 kB / 1.494 GB, free: 4.965 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.5216, allocations: 4.656 kB / 1.494 GB, free: 4.961 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.5216, allocations: 12 kB / 1.494 GB, free: 4.949 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005422/0.5222, allocations: 115.8 kB / 1.494 GB, free: 4.836 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.5222, allocations: 11.98 kB / 1.494 GB, free: 4.824 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007271/0.5229, allocations: 51.94 kB / 1.494 GB, free: 4.773 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/0.523, allocations: 31.98 kB / 1.494 GB, free: 4.742 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007956/0.5238, allocations: 0.5492 MB / 1.495 GB, free: 4.184 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009647/0.5247, allocations: 1.117 MB / 1.496 GB, free: 2.781 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008878/0.5256, allocations: 0.6074 MB / 1.496 GB, free: 2.094 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.975e-06/0.5256, allocations: 0 / 1.496 GB, free: 2.094 MB / 1.186 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001261/0.5269, allocations: 0.7223 MB / 1.497 GB, free: 1.352 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/0.5269, allocations: 33.7 kB / 1.497 GB, free: 1.312 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.5269, allocations: 4 kB / 1.497 GB, free: 1.309 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.5269, allocations: 8 kB / 1.497 GB, free: 1.301 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004751/0.5274, allocations: 116.4 kB / 1.497 GB, free: 1.188 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.5274, allocations: 8 kB / 1.497 GB, free: 1.18 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007296/0.5282, allocations: 68.25 kB / 1.497 GB, free: 1.113 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.617e-05/0.5282, allocations: 23.98 kB / 1.497 GB, free: 1.09 MB / 1.186 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_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002097/0.5284, allocations: 220 kB / 1.497 GB, free: 0.8672 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.5286, allocations: 103.3 kB / 1.497 GB, free: 0.7656 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.5296, allocations: 0.5382 MB / 1.498 GB, free: 228 kB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.5296, allocations: 0 / 1.498 GB, free: 228 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5296, allocations: 0 / 1.498 GB, free: 228 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000388/0.53, allocations: 147.3 kB / 1.498 GB, free: 80 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.5301, allocations: 11.98 kB / 1.498 GB, free: 68 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005227/0.5306, allocations: 43.89 kB / 1.498 GB, free: 24 kB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.5307, allocations: 28 kB / 1.498 GB, free: 15.99 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0011/0.5318, allocations: 0.6094 MB / 1.499 GB, free: 15.38 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009932/0.5328, allocations: 0.7494 MB / 1.5 GB, free: 14.61 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003558/0.5332, allocations: 203.8 kB / 1.5 GB, free: 14.41 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001015/0.5342, allocations: 0.7518 MB / 1.5 GB, free: 13.65 MB / 1.201 GB Notification: Performance of Backend: time 2.81e-07/0.5342, allocations: 0 / 1.5 GB, free: 13.65 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00224/0.5365, allocations: 0.9533 MB / 1.501 GB, free: 12.66 MB / 1.201 GB Notification: Performance of SimCode: time 0.003843/0.5403, allocations: 2.459 MB / 1.504 GB, free: 10.14 MB / 1.201 GB Notification: Performance of Templates: time 0.03596/0.5762, allocations: 21.3 MB / 1.525 GB, free: 5.211 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.057502468996972]