Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.001291/0.001291, allocations: 109.1 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.001445/0.001445, allocations: 211.9 kB / 23 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.123/3.123, allocations: 0.49 GB / 0.7959 GB, free: 35.36 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.ParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow") [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.002091/0.002091, allocations: 73.06 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3097, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.1759/0.4856, allocations: 142.4 MB / 1.466 GB, free: 1.996 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.003148/0.4887, allocations: 1.652 MB / 1.468 GB, free: 348 kB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002674/0.489, allocations: 15.88 kB / 1.468 GB, free: 332 kB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000538/0.4895, allocations: 162.9 kB / 1.468 GB, free: 168 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00134/0.4909, allocations: 0.5341 MB / 1.468 GB, free: 15.63 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.4919, allocations: 413.7 kB / 1.469 GB, free: 15.23 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002867/0.4948, allocations: 2.544 MB / 1.471 GB, free: 12.68 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002484/0.4973, allocations: 1.865 MB / 1.473 GB, free: 10.79 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002144/0.4994, allocations: 1.226 MB / 1.474 GB, free: 9.562 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009341/0.5004, allocations: 0.7389 MB / 1.475 GB, free: 8.82 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.5005, allocations: 56 kB / 1.475 GB, free: 8.766 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.5018, allocations: 0.6276 MB / 1.476 GB, free: 8.137 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003466/0.5021, allocations: 318.8 kB / 1.476 GB, free: 7.824 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005726/0.5027, allocations: 465.7 kB / 1.477 GB, free: 7.367 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.5045, allocations: 1.436 MB / 1.478 GB, free: 5.926 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5045, allocations: 0 / 1.478 GB, free: 5.926 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5045, allocations: 0 / 1.478 GB, free: 5.926 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.5046, allocations: 0 / 1.478 GB, free: 5.926 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.002566/0.5071, allocations: 1.437 MB / 1.479 GB, free: 4.445 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.5072, allocations: 12.03 kB / 1.479 GB, free: 4.434 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008124/0.508, allocations: 195.1 kB / 1.48 GB, free: 4.242 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/0.5096, allocations: 0.8214 MB / 1.48 GB, free: 3.375 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/0.5097, allocations: 45 kB / 1.48 GB, free: 3.332 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.5098, allocations: 64 kB / 1.48 GB, free: 3.27 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.5111, allocations: 0.82 MB / 1.481 GB, free: 2.371 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.5112, allocations: 7.938 kB / 1.481 GB, free: 2.363 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.81e-05/0.5112, allocations: 20 kB / 1.481 GB, free: 2.344 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.5112, allocations: 16 kB / 1.481 GB, free: 2.328 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.5122, allocations: 0.5656 MB / 1.482 GB, free: 1.762 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003992/0.5162, allocations: 3.413 MB / 1.485 GB, free: 14.23 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007883/0.517, allocations: 415.8 kB / 1.486 GB, free: 13.81 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004941/0.5175, allocations: 307.9 kB / 1.486 GB, free: 13.51 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002401/0.5178, allocations: 43.91 kB / 1.486 GB, free: 13.47 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005678/0.5183, allocations: 323 kB / 1.486 GB, free: 13.13 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002043/0.5185, allocations: 28 kB / 1.486 GB, free: 13.11 MB / 1.186 GB Notification: Performance of pre-optimization done (n=33): time 2.465e-06/0.5185, allocations: 0 / 1.486 GB, free: 13.11 MB / 1.186 GB Notification: Performance of matching and sorting (n=33): time 0.005326/0.5239, allocations: 1.473 MB / 1.488 GB, free: 11.62 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.5239, allocations: 85.11 kB / 1.488 GB, free: 11.52 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.5253, allocations: 1.065 MB / 1.489 GB, free: 10.43 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.513e-05/0.5254, allocations: 33.7 kB / 1.489 GB, free: 10.39 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004594/0.5259, allocations: 0.4888 MB / 1.489 GB, free: 9.898 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.526, allocations: 123 kB / 1.489 GB, free: 9.777 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.5262, allocations: 114.1 kB / 1.49 GB, free: 9.66 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.5263, allocations: 318 kB / 1.49 GB, free: 9.344 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004577/0.5268, allocations: 272.3 kB / 1.49 GB, free: 9.07 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.5278, allocations: 1.154 MB / 1.491 GB, free: 7.637 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.5288, allocations: 0.686 MB / 1.492 GB, free: 6.871 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.5288, allocations: 4 kB / 1.492 GB, free: 6.867 MB / 1.186 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002664/0.5315, allocations: 1.117 MB / 1.493 GB, free: 5.727 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 5.3e-05/0.5316, allocations: 33.7 kB / 1.493 GB, free: 5.688 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.5316, allocations: 8 kB / 1.493 GB, free: 5.68 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001679/0.5333, allocations: 428 kB / 1.493 GB, free: 5.262 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.5336, allocations: 87.86 kB / 1.493 GB, free: 5.176 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.5352, allocations: 1.104 MB / 1.495 GB, free: 4.047 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000742/0.5359, allocations: 55.94 kB / 1.495 GB, free: 3.992 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.893e-05/0.536, allocations: 27.98 kB / 1.495 GB, free: 3.965 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008423/0.5368, allocations: 0.5533 MB / 1.495 GB, free: 3.402 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009557/0.5378, allocations: 1.117 MB / 1.496 GB, free: 2 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008635/0.5386, allocations: 0.5996 MB / 1.497 GB, free: 1.32 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/0.5386, allocations: 0 / 1.497 GB, free: 1.32 MB / 1.186 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.00174/0.5404, allocations: 0.9101 MB / 1.498 GB, free: 396 kB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/0.5404, allocations: 37.7 kB / 1.498 GB, free: 352 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.5404, allocations: 8 kB / 1.498 GB, free: 344 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006039/0.541, allocations: 233.2 kB / 1.498 GB, free: 108 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/0.5414, allocations: 83.88 kB / 1.498 GB, free: 24 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004156/0.5455, allocations: 3.103 MB / 1.501 GB, free: 12.83 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008032/0.5463, allocations: 68.23 kB / 1.501 GB, free: 12.76 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.333e-05/0.5464, allocations: 24 kB / 1.501 GB, free: 12.74 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 {(10,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000208/0.5466, allocations: 215 kB / 1.501 GB, free: 12.52 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.5467, allocations: 107.4 kB / 1.502 GB, free: 12.42 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/0.5482, allocations: 0.7609 MB / 1.502 GB, free: 11.64 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.5482, allocations: 3.984 kB / 1.502 GB, free: 11.64 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5482, allocations: 4 kB / 1.502 GB, free: 11.64 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003627/0.5486, allocations: 143.3 kB / 1.502 GB, free: 11.5 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.5487, allocations: 12 kB / 1.502 GB, free: 11.48 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004736/0.5491, allocations: 39.88 kB / 1.502 GB, free: 11.45 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.5493, allocations: 43.91 kB / 1.503 GB, free: 11.4 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00163/0.5509, allocations: 0.852 MB / 1.503 GB, free: 10.54 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001385/0.5523, allocations: 0.9966 MB / 1.504 GB, free: 9.52 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003621/0.5526, allocations: 191.8 kB / 1.505 GB, free: 9.332 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009941/0.5536, allocations: 0.7517 MB / 1.505 GB, free: 8.57 MB / 1.201 GB Notification: Performance of Backend: time 3.9e-07/0.5536, allocations: 3.938 kB / 1.505 GB, free: 8.566 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003287/0.5569, allocations: 1.328 MB / 1.507 GB, free: 7.188 MB / 1.201 GB Notification: Performance of SimCode: time 0.004018/0.5609, allocations: 2.756 MB / 1.509 GB, free: 4.387 MB / 1.201 GB Notification: Performance of Templates: time 0.03566/0.5966, allocations: 21.94 MB / 1.531 GB, free: 14.8 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.415233330000774]