Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.001323/0.001323, allocations: 97.11 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.001435/0.001435, allocations: 206.4 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.143/3.143, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") [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.002024/0.002024, allocations: 71.52 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3391, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.2583/0.5975, allocations: 148 MB / 1.472 GB, free: 12.42 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006248/0.6037, allocations: 3.769 MB / 1.475 GB, free: 8.645 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003711/0.6041, allocations: 23.75 kB / 1.475 GB, free: 8.621 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000755/0.6049, allocations: 234.5 kB / 1.476 GB, free: 8.391 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.6066, allocations: 0.6962 MB / 1.476 GB, free: 7.691 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.608, allocations: 486.9 kB / 1.477 GB, free: 7.219 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003353/0.6113, allocations: 2.789 MB / 1.479 GB, free: 4.418 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002724/0.6141, allocations: 1.998 MB / 1.481 GB, free: 2.406 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00275/0.6168, allocations: 1.472 MB / 1.483 GB, free: 0.9297 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.6181, allocations: 0.8909 MB / 1.484 GB, free: 36 kB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001803/0.6183, allocations: 76.05 kB / 1.484 GB, free: 15.96 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.6197, allocations: 0.6937 MB / 1.484 GB, free: 15.27 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004288/0.6201, allocations: 370.7 kB / 1.485 GB, free: 14.9 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007219/0.6208, allocations: 0.5248 MB / 1.485 GB, free: 14.38 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002099/0.6229, allocations: 1.638 MB / 1.487 GB, free: 12.73 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.6229, allocations: 8 kB / 1.487 GB, free: 12.72 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6229, allocations: 0 / 1.487 GB, free: 12.72 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.676e-05/0.623, allocations: 0 / 1.487 GB, free: 12.72 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.002997/0.626, allocations: 1.555 MB / 1.488 GB, free: 11.12 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.626, allocations: 8.031 kB / 1.488 GB, free: 11.11 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008971/0.6269, allocations: 211.1 kB / 1.489 GB, free: 10.91 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.6288, allocations: 0.9122 MB / 1.49 GB, free: 9.945 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.603e-05/0.6288, allocations: 45.31 kB / 1.49 GB, free: 9.902 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.629, allocations: 64 kB / 1.49 GB, free: 9.84 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.6306, allocations: 1.015 MB / 1.491 GB, free: 8.746 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.6306, allocations: 4 kB / 1.491 GB, free: 8.742 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.859e-05/0.6307, allocations: 24 kB / 1.491 GB, free: 8.719 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.6307, allocations: 12 kB / 1.491 GB, free: 8.707 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.6322, allocations: 0.7999 MB / 1.491 GB, free: 7.906 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004965/0.6371, allocations: 3.536 MB / 1.495 GB, free: 4.266 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.6384, allocations: 0.6152 MB / 1.495 GB, free: 3.648 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005313/0.639, allocations: 314.7 kB / 1.496 GB, free: 3.34 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002456/0.6392, allocations: 43.95 kB / 1.496 GB, free: 3.297 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006047/0.6398, allocations: 328.8 kB / 1.496 GB, free: 2.957 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002576/0.6401, allocations: 23.89 kB / 1.496 GB, free: 2.934 MB / 1.186 GB Notification: Performance of pre-optimization done (n=36): time 4.92e-06/0.6401, allocations: 3.984 kB / 1.496 GB, free: 2.93 MB / 1.186 GB Notification: Performance of matching and sorting (n=36): time 0.006032/0.6461, allocations: 1.597 MB / 1.498 GB, free: 1.32 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.6462, allocations: 55.41 kB / 1.498 GB, free: 1.254 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/0.6478, allocations: 1.144 MB / 1.499 GB, free: 96 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.138e-05/0.6479, allocations: 37.7 kB / 1.499 GB, free: 52 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005678/0.6484, allocations: 0.5321 MB / 1.499 GB, free: 15.51 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.6486, allocations: 142.8 kB / 1.5 GB, free: 15.37 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.6488, allocations: 114.1 kB / 1.5 GB, free: 15.25 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.6489, allocations: 330 kB / 1.5 GB, free: 14.93 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004937/0.6494, allocations: 280.3 kB / 1.5 GB, free: 14.64 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.6506, allocations: 1.222 MB / 1.501 GB, free: 13.12 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.6517, allocations: 0.6978 MB / 1.502 GB, free: 12.34 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.6517, allocations: 0 / 1.502 GB, free: 12.34 MB / 1.201 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002877/0.6546, allocations: 1.175 MB / 1.503 GB, free: 11.14 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.753e-05/0.6547, allocations: 41.69 kB / 1.503 GB, free: 11.09 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.6547, allocations: 4 kB / 1.503 GB, free: 11.09 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001817/0.6565, allocations: 455.4 kB / 1.504 GB, free: 10.64 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.6568, allocations: 75.83 kB / 1.504 GB, free: 10.57 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.6585, allocations: 1.119 MB / 1.505 GB, free: 9.422 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008343/0.6593, allocations: 63.92 kB / 1.505 GB, free: 9.359 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-05/0.6594, allocations: 28 kB / 1.505 GB, free: 9.332 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008899/0.6603, allocations: 0.5648 MB / 1.506 GB, free: 8.754 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001093/0.6614, allocations: 1.187 MB / 1.507 GB, free: 7.258 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009461/0.6623, allocations: 0.6158 MB / 1.507 GB, free: 6.559 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.895e-06/0.6623, allocations: 3.938 kB / 1.507 GB, free: 6.555 MB / 1.201 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.001934/0.6643, allocations: 0.9607 MB / 1.508 GB, free: 5.57 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.6643, allocations: 37.7 kB / 1.508 GB, free: 5.527 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.6643, allocations: 11.94 kB / 1.508 GB, free: 5.516 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006462/0.6649, allocations: 238.6 kB / 1.509 GB, free: 5.281 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.6653, allocations: 79.81 kB / 1.509 GB, free: 5.203 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00455/0.6698, allocations: 3.168 MB / 1.512 GB, free: 1.945 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008378/0.6707, allocations: 67.91 kB / 1.512 GB, free: 1.879 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/0.6707, allocations: 24 kB / 1.512 GB, free: 1.855 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 {(11,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002255/0.6709, allocations: 220.1 kB / 1.512 GB, free: 1.633 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.6711, allocations: 119.3 kB / 1.512 GB, free: 1.516 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001677/0.6728, allocations: 0.8241 MB / 1.513 GB, free: 0.6719 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.6728, allocations: 7.922 kB / 1.513 GB, free: 0.6641 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.6728, allocations: 0 / 1.513 GB, free: 0.6641 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004043/0.6732, allocations: 151.3 kB / 1.513 GB, free: 0.5156 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.6733, allocations: 8 kB / 1.513 GB, free: 0.5078 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005376/0.6738, allocations: 39.94 kB / 1.513 GB, free: 480 kB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.6739, allocations: 51.89 kB / 1.513 GB, free: 428 kB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00168/0.6756, allocations: 0.7874 MB / 1.514 GB, free: 15.62 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001445/0.6771, allocations: 0.9415 MB / 1.515 GB, free: 14.66 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003821/0.6775, allocations: 200.4 kB / 1.515 GB, free: 14.46 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001137/0.6786, allocations: 0.7892 MB / 1.516 GB, free: 13.67 MB / 1.217 GB Notification: Performance of Backend: time 2.61e-07/0.6786, allocations: 0 / 1.516 GB, free: 13.67 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003465/0.6821, allocations: 1.395 MB / 1.517 GB, free: 12.23 MB / 1.217 GB Notification: Performance of SimCode: time 0.004624/0.6867, allocations: 2.913 MB / 1.52 GB, free: 9.266 MB / 1.217 GB Notification: Performance of Templates: time 0.0407/0.7274, allocations: 23.47 MB / 1.543 GB, free: 2.188 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.446560685995792]