Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.001725/0.001725, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002161/0.002161, allocations: 217.3 kB / 23.01 MB, free: 4.969 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.181/3.181, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") [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.002054/0.002054, allocations: 72.2 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3296, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.1805/0.5102, allocations: 148 MB / 1.472 GB, free: 12.47 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005744/0.5159, allocations: 3.764 MB / 1.475 GB, free: 8.699 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003144/0.5162, allocations: 27.75 kB / 1.475 GB, free: 8.672 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007077/0.5169, allocations: 226.5 kB / 1.476 GB, free: 8.449 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001663/0.5186, allocations: 0.7006 MB / 1.476 GB, free: 7.746 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.5198, allocations: 493.9 kB / 1.477 GB, free: 7.27 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003049/0.5228, allocations: 2.785 MB / 1.479 GB, free: 4.473 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002546/0.5254, allocations: 1.99 MB / 1.481 GB, free: 2.469 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002628/0.528, allocations: 1.472 MB / 1.483 GB, free: 0.9922 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.5292, allocations: 0.8948 MB / 1.484 GB, free: 96 kB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.5293, allocations: 76 kB / 1.484 GB, free: 20 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.5307, allocations: 0.6938 MB / 1.484 GB, free: 15.32 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003838/0.531, allocations: 374.6 kB / 1.485 GB, free: 14.96 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006276/0.5317, allocations: 0.5249 MB / 1.485 GB, free: 14.43 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001889/0.5336, allocations: 1.642 MB / 1.487 GB, free: 12.78 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5336, allocations: 4 kB / 1.487 GB, free: 12.78 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5336, allocations: 0 / 1.487 GB, free: 12.78 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.79e-05/0.5336, allocations: 0 / 1.487 GB, free: 12.78 MB / 1.186 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.002777/0.5364, allocations: 1.562 MB / 1.488 GB, free: 11.17 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.5364, allocations: 8.031 kB / 1.488 GB, free: 11.16 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008503/0.5372, allocations: 203.1 kB / 1.489 GB, free: 10.96 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.539, allocations: 0.9122 MB / 1.49 GB, free: 10 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.215e-05/0.5391, allocations: 45.31 kB / 1.49 GB, free: 9.957 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.5392, allocations: 64 kB / 1.49 GB, free: 9.895 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.5408, allocations: 1.015 MB / 1.491 GB, free: 8.801 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.5408, allocations: 8 kB / 1.491 GB, free: 8.793 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-05/0.5409, allocations: 24 kB / 1.491 GB, free: 8.77 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.5409, allocations: 16 kB / 1.491 GB, free: 8.754 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.5423, allocations: 0.796 MB / 1.491 GB, free: 7.957 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004378/0.5467, allocations: 3.532 MB / 1.495 GB, free: 4.32 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.5479, allocations: 0.6103 MB / 1.495 GB, free: 3.711 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004959/0.5484, allocations: 312.5 kB / 1.496 GB, free: 3.402 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002449/0.5486, allocations: 43.91 kB / 1.496 GB, free: 3.359 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005667/0.5492, allocations: 324.8 kB / 1.496 GB, free: 3.023 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001787/0.5494, allocations: 23.89 kB / 1.496 GB, free: 3 MB / 1.186 GB Notification: Performance of pre-optimization done (n=36): time 2.184e-06/0.5494, allocations: 0 / 1.496 GB, free: 3 MB / 1.186 GB Notification: Performance of matching and sorting (n=36): time 0.005531/0.5549, allocations: 1.675 MB / 1.498 GB, free: 1.312 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.5549, allocations: 59.41 kB / 1.498 GB, free: 1.242 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.5563, allocations: 1.136 MB / 1.499 GB, free: 92 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.648e-05/0.5564, allocations: 37.7 kB / 1.499 GB, free: 48 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005261/0.5569, allocations: 0.536 MB / 1.5 GB, free: 15.5 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.557, allocations: 134.8 kB / 1.5 GB, free: 15.37 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.5572, allocations: 118.1 kB / 1.5 GB, free: 15.25 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.5574, allocations: 326 kB / 1.5 GB, free: 14.93 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/0.5578, allocations: 272.4 kB / 1.5 GB, free: 14.65 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.5589, allocations: 1.226 MB / 1.502 GB, free: 13.12 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.5599, allocations: 0.6977 MB / 1.502 GB, free: 12.34 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.5599, allocations: 4 kB / 1.502 GB, free: 12.34 MB / 1.201 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002553/0.5625, allocations: 1.176 MB / 1.503 GB, free: 11.14 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.244e-05/0.5625, allocations: 37.69 kB / 1.503 GB, free: 11.1 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.5625, allocations: 7.984 kB / 1.503 GB, free: 11.09 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001494/0.564, allocations: 390.3 kB / 1.504 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.5644, allocations: 79.81 kB / 1.504 GB, free: 10.63 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.5655, allocations: 1.058 MB / 1.505 GB, free: 9.547 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007665/0.5663, allocations: 63.98 kB / 1.505 GB, free: 9.484 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/0.5664, allocations: 24 kB / 1.505 GB, free: 9.461 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008065/0.5672, allocations: 0.557 MB / 1.506 GB, free: 8.891 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001002/0.5682, allocations: 1.191 MB / 1.507 GB, free: 7.391 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008996/0.5691, allocations: 0.6274 MB / 1.507 GB, free: 6.68 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/0.5691, allocations: 0 / 1.507 GB, free: 6.68 MB / 1.201 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.001731/0.5708, allocations: 0.9529 MB / 1.508 GB, free: 5.703 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.5708, allocations: 37.69 kB / 1.508 GB, free: 5.66 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.5708, allocations: 7.938 kB / 1.508 GB, free: 5.652 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006439/0.5715, allocations: 257.3 kB / 1.509 GB, free: 5.398 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.5718, allocations: 67.89 kB / 1.509 GB, free: 5.332 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004085/0.5759, allocations: 3.148 MB / 1.512 GB, free: 2.09 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008687/0.5768, allocations: 75.91 kB / 1.512 GB, free: 2.016 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-05/0.5768, allocations: 24 kB / 1.512 GB, free: 1.992 MB / 1.201 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.0002287/0.5771, allocations: 232.7 kB / 1.512 GB, free: 1.758 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.5772, allocations: 107.3 kB / 1.512 GB, free: 1.652 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/0.5788, allocations: 0.8281 MB / 1.513 GB, free: 0.8047 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.5789, allocations: 3.984 kB / 1.513 GB, free: 0.8008 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.5789, allocations: 0 / 1.513 GB, free: 0.8008 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003924/0.5793, allocations: 151.2 kB / 1.513 GB, free: 0.6523 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.5794, allocations: 15.98 kB / 1.513 GB, free: 0.6367 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005374/0.5799, allocations: 43.94 kB / 1.513 GB, free: 0.5938 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.58, allocations: 43.91 kB / 1.513 GB, free: 0.5508 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001651/0.5817, allocations: 0.793 MB / 1.514 GB, free: 15.75 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001414/0.5831, allocations: 0.9337 MB / 1.515 GB, free: 14.8 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003736/0.5835, allocations: 196.4 kB / 1.515 GB, free: 14.61 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001061/0.5845, allocations: 0.797 MB / 1.516 GB, free: 13.8 MB / 1.217 GB Notification: Performance of Backend: time 5.21e-07/0.5845, allocations: 7.938 kB / 1.516 GB, free: 13.79 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002688/0.5872, allocations: 1.243 MB / 1.517 GB, free: 12.5 MB / 1.217 GB Notification: Performance of SimCode: time 0.004249/0.5915, allocations: 2.801 MB / 1.52 GB, free: 9.652 MB / 1.217 GB Notification: Performance of Templates: time 0.03802/0.6295, allocations: 23.24 MB / 1.542 GB, free: 2.809 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.348877573997015]