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.00151/0.00151, allocations: 115.5 kB / 17.13 MB, free: 6.027 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.001696/0.001696, allocations: 209.8 kB / 20.1 MB, free: 3.074 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.488/1.488, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.811/2.811, allocations: 0.49 GB / 0.7923 GB, free: 1.367 MB / 0.6231 GB " [Timeout remaining time 176] 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.00203/0.00203, allocations: 71.89 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8902/0.8922, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.2074/1.1, allocations: 165 MB / 1.483 GB, free: 15.54 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006021/1.106, allocations: 3.651 MB / 1.487 GB, free: 12.6 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004665/1.106, allocations: 18.66 kB / 1.487 GB, free: 12.59 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000676/1.107, allocations: 170.2 kB / 1.487 GB, free: 12.45 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00165/1.108, allocations: 0.5508 MB / 1.487 GB, free: 12.03 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001344/1.11, allocations: 433.3 kB / 1.488 GB, free: 11.73 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003212/1.113, allocations: 2.548 MB / 1.49 GB, free: 10.31 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003091/1.116, allocations: 2.177 MB / 1.492 GB, free: 8.922 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002947/1.119, allocations: 1.212 MB / 1.494 GB, free: 8.262 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/1.121, allocations: 0.7269 MB / 1.494 GB, free: 7.84 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001342/1.121, allocations: 58.53 kB / 1.494 GB, free: 7.84 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/1.122, allocations: 0.7632 MB / 1.495 GB, free: 7.426 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004054/1.123, allocations: 317.9 kB / 1.495 GB, free: 7.211 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0008488/1.124, allocations: 0.5541 MB / 1.496 GB, free: 6.871 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002228/1.126, allocations: 1.452 MB / 1.497 GB, free: 5.656 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.126, allocations: 4 kB / 1.497 GB, free: 5.652 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.165e-06/1.126, allocations: 0 / 1.497 GB, free: 5.652 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.793e-05/1.126, allocations: 0 / 1.497 GB, free: 5.652 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.002632/1.129, allocations: 1.512 MB / 1.499 GB, free: 4.078 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/1.129, allocations: 15.98 kB / 1.499 GB, free: 4.062 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008024/1.129, allocations: 195.1 kB / 1.499 GB, free: 3.871 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/1.131, allocations: 0.9013 MB / 1.5 GB, free: 2.914 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.945e-05/1.131, allocations: 45 kB / 1.5 GB, free: 2.867 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.857e-05/1.131, allocations: 60 kB / 1.5 GB, free: 2.809 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/1.132, allocations: 0.82 MB / 1.501 GB, free: 1.914 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/1.132, allocations: 7.938 kB / 1.501 GB, free: 1.906 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.645e-05/1.133, allocations: 16 kB / 1.501 GB, free: 1.891 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/1.133, allocations: 16 kB / 1.501 GB, free: 1.875 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/1.134, allocations: 0.5656 MB / 1.501 GB, free: 1.309 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004612/1.138, allocations: 4.228 MB / 1.506 GB, free: 12.81 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008041/1.139, allocations: 414.1 kB / 1.506 GB, free: 12.4 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005026/1.139, allocations: 308.6 kB / 1.506 GB, free: 12.09 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003732/1.14, allocations: 198.2 kB / 1.506 GB, free: 11.86 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005838/1.14, allocations: 323.1 kB / 1.507 GB, free: 11.53 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002286/1.141, allocations: 27.95 kB / 1.507 GB, free: 11.5 MB / 1.186 GB Notification: Performance of pre-optimization done (n=33): time 2.064e-06/1.141, allocations: 0 / 1.507 GB, free: 11.5 MB / 1.186 GB Notification: Performance of matching and sorting (n=33): time 0.001591/1.142, allocations: 0.7131 MB / 1.507 GB, free: 10.78 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/1.142, allocations: 85.11 kB / 1.508 GB, free: 10.68 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/1.144, allocations: 1.184 MB / 1.509 GB, free: 9.48 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/1.144, allocations: 33.7 kB / 1.509 GB, free: 9.441 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004572/1.144, allocations: 497.3 kB / 1.509 GB, free: 8.949 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/1.144, allocations: 122.9 kB / 1.509 GB, free: 8.828 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/1.145, allocations: 122.1 kB / 1.509 GB, free: 8.703 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.145, allocations: 325.9 kB / 1.51 GB, free: 8.379 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004405/1.145, allocations: 234.9 kB / 1.51 GB, free: 8.148 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007348/1.146, allocations: 0.5382 MB / 1.511 GB, free: 7.477 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/1.147, allocations: 0.6745 MB / 1.511 GB, free: 6.723 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/1.147, allocations: 0 / 1.511 GB, free: 6.723 MB / 1.186 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001417/1.148, allocations: 0.7764 MB / 1.512 GB, free: 5.934 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.426e-05/1.148, allocations: 41.83 kB / 1.512 GB, free: 5.887 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/1.148, allocations: 4 kB / 1.512 GB, free: 5.883 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/1.149, allocations: 8 kB / 1.512 GB, free: 5.875 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005385/1.149, allocations: 119.7 kB / 1.512 GB, free: 5.758 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/1.149, allocations: 15.92 kB / 1.512 GB, free: 5.742 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007578/1.15, allocations: 55.94 kB / 1.512 GB, free: 5.688 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.898e-05/1.15, allocations: 31.92 kB / 1.512 GB, free: 5.656 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007864/1.151, allocations: 0.5242 MB / 1.513 GB, free: 5.129 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006731/1.151, allocations: 0.5029 MB / 1.513 GB, free: 4.492 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009248/1.152, allocations: 0.5997 MB / 1.514 GB, free: 3.812 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.489e-06/1.152, allocations: 3.984 kB / 1.514 GB, free: 3.809 MB / 1.186 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001262/1.154, allocations: 0.702 MB / 1.514 GB, free: 3.094 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/1.154, allocations: 41.7 kB / 1.515 GB, free: 3.047 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.154, allocations: 8.172 kB / 1.515 GB, free: 3.039 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/1.154, allocations: 11.94 kB / 1.515 GB, free: 3.027 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004705/1.154, allocations: 103.8 kB / 1.515 GB, free: 2.926 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/1.154, allocations: 11.94 kB / 1.515 GB, free: 2.914 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007898/1.155, allocations: 76.23 kB / 1.515 GB, free: 2.84 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.295e-05/1.155, allocations: 24 kB / 1.515 GB, free: 2.816 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.0002368/1.155, allocations: 220 kB / 1.515 GB, free: 2.594 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/1.155, allocations: 111.3 kB / 1.515 GB, free: 2.484 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/1.156, allocations: 0.539 MB / 1.516 GB, free: 1.938 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/1.156, allocations: 4 kB / 1.516 GB, free: 1.934 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/1.156, allocations: 8 kB / 1.516 GB, free: 1.926 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/1.156, allocations: 3.984 kB / 1.516 GB, free: 1.922 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/1.159, allocations: 1.498 MB / 1.517 GB, free: 356 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/1.159, allocations: 3.938 kB / 1.517 GB, free: 352 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/1.159, allocations: 71.81 kB / 1.517 GB, free: 280 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.877e-05/1.159, allocations: 4 kB / 1.517 GB, free: 276 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/1.159, allocations: 8 kB / 1.517 GB, free: 268 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.345e-06/1.159, allocations: 8 kB / 1.517 GB, free: 260 kB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.159, allocations: 8.219 kB / 1.517 GB, free: 252 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009946/1.16, allocations: 0.6695 MB / 1.518 GB, free: 15.54 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003505/1.161, allocations: 232.3 kB / 1.518 GB, free: 15.3 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/1.161, allocations: 12 kB / 1.518 GB, free: 15.29 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005672/1.161, allocations: 39.94 kB / 1.518 GB, free: 15.25 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.796e-05/1.161, allocations: 31.97 kB / 1.518 GB, free: 15.21 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/1.161, allocations: 11.98 kB / 1.518 GB, free: 15.2 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001172/1.163, allocations: 0.8441 MB / 1.519 GB, free: 14.35 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/1.163, allocations: 0 / 1.519 GB, free: 14.35 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001247/1.164, allocations: 423.6 kB / 1.519 GB, free: 13.94 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004063/1.164, allocations: 173.4 kB / 1.52 GB, free: 13.76 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001623/1.166, allocations: 0.8614 MB / 1.52 GB, free: 12.88 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.166, allocations: 64 / 1.52 GB, free: 12.88 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0004103/1.166, allocations: 211.7 kB / 1.521 GB, free: 12.67 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/1.168, allocations: 0.4995 MB / 1.521 GB, free: 12.17 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/1.171, allocations: 1.872 MB / 1.523 GB, free: 10.23 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008404/1.172, allocations: 1.19 MB / 1.524 GB, free: 9.012 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/1.172, allocations: 79.42 kB / 1.524 GB, free: 8.934 MB / 1.201 GB Notification: Performance of SimCode: time 8.52e-07/1.172, allocations: 0 / 1.524 GB, free: 8.934 MB / 1.201 GB Notification: Performance of Templates: time 0.02722/1.2, allocations: 17.02 MB / 1.541 GB, free: 8.035 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: 14.263671731998329]