Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 110.4 kB / 17.08 MB, free: 5.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.001291, allocations: 193.2 kB / 20.03 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.874/2.874, allocations: 489.2 MB / 0.7687 GB, free: 3.715 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 71.88 kB / 1.103 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9177/0.9197, allocations: 163.8 MB / 1.263 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.2089/1.129, allocations: 161.6 MB / 1.42 GB, free: 15.83 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006133/1.135, allocations: 3.633 MB / 1.424 GB, free: 12.89 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000519/1.135, allocations: 11.91 kB / 1.424 GB, free: 12.88 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007428/1.136, allocations: 163.7 kB / 1.424 GB, free: 12.75 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001652/1.138, allocations: 0.5202 MB / 1.425 GB, free: 12.35 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001392/1.139, allocations: 432.1 kB / 1.425 GB, free: 12.05 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00312/1.142, allocations: 2.543 MB / 1.428 GB, free: 10.63 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003098/1.145, allocations: 2.409 MB / 1.43 GB, free: 9.148 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002576/1.148, allocations: 1.183 MB / 1.431 GB, free: 8.496 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/1.149, allocations: 0.6884 MB / 1.432 GB, free: 8.102 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001477/1.149, allocations: 58.97 kB / 1.432 GB, free: 8.102 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001758/1.151, allocations: 0.7395 MB / 1.433 GB, free: 7.707 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000406/1.152, allocations: 314.1 kB / 1.433 GB, free: 7.496 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008245/1.153, allocations: 0.5502 MB / 1.433 GB, free: 7.16 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002131/1.155, allocations: 1.421 MB / 1.435 GB, free: 6.312 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.155, allocations: 0 / 1.435 GB, free: 6.312 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.074e-06/1.155, allocations: 4 kB / 1.435 GB, free: 6.309 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.962e-05/1.155, allocations: 1.375 kB / 1.435 GB, free: 6.309 MB / 1.123 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.002702/1.157, allocations: 1.495 MB / 1.436 GB, free: 5.145 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/1.157, allocations: 10 kB / 1.436 GB, free: 5.145 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007864/1.158, allocations: 192 kB / 1.436 GB, free: 5.051 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/1.16, allocations: 0.8639 MB / 1.437 GB, free: 4.418 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.799e-05/1.16, allocations: 42.75 kB / 1.437 GB, free: 4.402 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.022e-05/1.16, allocations: 61.38 kB / 1.437 GB, free: 4.383 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/1.161, allocations: 0.8216 MB / 1.438 GB, free: 3.797 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/1.161, allocations: 1.25 kB / 1.438 GB, free: 3.797 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.623e-05/1.161, allocations: 18.91 kB / 1.438 GB, free: 3.785 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/1.161, allocations: 17.03 kB / 1.438 GB, free: 3.781 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009964/1.162, allocations: 0.5718 MB / 1.439 GB, free: 3.496 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004756/1.167, allocations: 4.212 MB / 1.443 GB, free: 15.08 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008128/1.168, allocations: 444.5 kB / 1.443 GB, free: 14.64 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005174/1.168, allocations: 348.6 kB / 1.444 GB, free: 14.29 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000331/1.169, allocations: 194.2 kB / 1.444 GB, free: 14.07 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005756/1.169, allocations: 319.1 kB / 1.444 GB, free: 13.73 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003514/1.17, allocations: 31.95 kB / 1.444 GB, free: 13.7 MB / 1.139 GB Notification: Performance of pre-optimization done (n=33): time 2.355e-06/1.17, allocations: 0 / 1.444 GB, free: 13.7 MB / 1.139 GB Notification: Performance of matching and sorting (n=33): time 0.001517/1.171, allocations: 0.701 MB / 1.445 GB, free: 13 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/1.171, allocations: 89.09 kB / 1.445 GB, free: 12.89 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/1.173, allocations: 1.159 MB / 1.446 GB, free: 11.71 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.72e-05/1.173, allocations: 41.7 kB / 1.446 GB, free: 11.67 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004688/1.173, allocations: 497 kB / 1.447 GB, free: 11.18 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/1.174, allocations: 115 kB / 1.447 GB, free: 11.06 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/1.174, allocations: 118.1 kB / 1.447 GB, free: 10.94 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.174, allocations: 329.9 kB / 1.447 GB, free: 10.61 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004461/1.174, allocations: 234.9 kB / 1.447 GB, free: 10.38 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007069/1.175, allocations: 0.5382 MB / 1.448 GB, free: 9.711 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/1.176, allocations: 0.6785 MB / 1.448 GB, free: 8.953 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.176, allocations: 3.938 kB / 1.448 GB, free: 8.949 MB / 1.139 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001392/1.177, allocations: 0.7637 MB / 1.449 GB, free: 8.172 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.425e-05/1.178, allocations: 41.69 kB / 1.449 GB, free: 8.125 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/1.178, allocations: 7.938 kB / 1.449 GB, free: 8.117 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/1.178, allocations: 8 kB / 1.449 GB, free: 8.109 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005281/1.178, allocations: 116.2 kB / 1.449 GB, free: 7.996 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/1.178, allocations: 15.94 kB / 1.449 GB, free: 7.98 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008276/1.179, allocations: 59.92 kB / 1.449 GB, free: 7.922 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.076e-05/1.179, allocations: 31.92 kB / 1.449 GB, free: 7.891 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008279/1.18, allocations: 0.5203 MB / 1.45 GB, free: 7.363 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000659/1.181, allocations: 0.5029 MB / 1.45 GB, free: 6.727 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008956/1.181, allocations: 0.5997 MB / 1.451 GB, free: 6.047 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.524e-06/1.181, allocations: 4 kB / 1.451 GB, free: 6.043 MB / 1.139 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001176/1.183, allocations: 0.6978 MB / 1.452 GB, free: 5.332 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/1.183, allocations: 37.7 kB / 1.452 GB, free: 5.289 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/1.183, allocations: 4 kB / 1.452 GB, free: 5.285 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/1.183, allocations: 11.98 kB / 1.452 GB, free: 5.273 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/1.183, allocations: 107.8 kB / 1.452 GB, free: 5.168 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/1.183, allocations: 12.31 kB / 1.452 GB, free: 5.156 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000846/1.184, allocations: 72.25 kB / 1.452 GB, free: 5.086 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/1.184, allocations: 23.98 kB / 1.452 GB, free: 5.062 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_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.0002231/1.184, allocations: 228 kB / 1.452 GB, free: 4.832 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/1.184, allocations: 107.3 kB / 1.452 GB, free: 4.727 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/1.186, allocations: 0.535 MB / 1.453 GB, free: 4.188 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/1.186, allocations: 4 kB / 1.453 GB, free: 4.184 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.186, allocations: 0 / 1.453 GB, free: 4.184 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/1.186, allocations: 0 / 1.453 GB, free: 4.184 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/1.188, allocations: 1.498 MB / 1.454 GB, free: 2.609 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/1.188, allocations: 11.88 kB / 1.454 GB, free: 2.598 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003505/1.188, allocations: 68.09 kB / 1.454 GB, free: 2.531 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/1.188, allocations: 8 kB / 1.454 GB, free: 2.523 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/1.188, allocations: 11.94 kB / 1.454 GB, free: 2.512 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/1.188, allocations: 8 kB / 1.454 GB, free: 2.504 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.188, allocations: 0 / 1.454 GB, free: 2.504 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009846/1.189, allocations: 0.6613 MB / 1.455 GB, free: 1.809 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003922/1.19, allocations: 240.3 kB / 1.455 GB, free: 1.555 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/1.19, allocations: 8 kB / 1.455 GB, free: 1.547 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005652/1.19, allocations: 39.94 kB / 1.455 GB, free: 1.508 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.4e-05/1.191, allocations: 27.97 kB / 1.455 GB, free: 1.48 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/1.191, allocations: 8 kB / 1.455 GB, free: 1.473 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001122/1.192, allocations: 0.8199 MB / 1.456 GB, free: 0.6445 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/1.192, allocations: 0 / 1.456 GB, free: 0.6445 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001164/1.193, allocations: 423.6 kB / 1.457 GB, free: 236 kB / 1.139 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.0004678/1.193, allocations: 182.6 kB / 1.457 GB, free: 48 kB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001566/1.195, allocations: 0.8914 MB / 1.458 GB, free: 15.13 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.195, allocations: 7.938 kB / 1.458 GB, free: 15.12 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003924/1.195, allocations: 229 kB / 1.458 GB, free: 14.9 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/1.197, allocations: 0.4964 MB / 1.458 GB, free: 14.41 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/1.2, allocations: 1.844 MB / 1.46 GB, free: 12.5 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008543/1.201, allocations: 1.178 MB / 1.461 GB, free: 11.29 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/1.201, allocations: 83.42 kB / 1.461 GB, free: 11.2 MB / 1.154 GB Notification: Performance of SimCode: time 2.104e-06/1.202, allocations: 0 / 1.461 GB, free: 11.2 MB / 1.154 GB Notification: Performance of Templates: time 0.02602/1.228, allocations: 16.67 MB / 1.478 GB, free: 10.64 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.01328128715977]