Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.001658/0.001658, allocations: 101.1 kB / 19.71 MB, free: 2.105 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.001995/0.001995, allocations: 211.8 kB / 23.01 MB, free: 4.918 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.132/3.132, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") [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.002186/0.002186, allocations: 73.44 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3373, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1782/0.5155, allocations: 142.4 MB / 1.466 GB, free: 1.992 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.003199/0.5187, allocations: 1.648 MB / 1.468 GB, free: 348 kB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003892/0.5191, allocations: 19.81 kB / 1.468 GB, free: 328 kB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006898/0.5198, allocations: 162.9 kB / 1.468 GB, free: 164 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.5212, allocations: 0.5328 MB / 1.468 GB, free: 15.62 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.5223, allocations: 405.6 kB / 1.469 GB, free: 15.23 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002774/0.5251, allocations: 2.527 MB / 1.471 GB, free: 12.7 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008725/0.526, allocations: 0.6488 MB / 1.472 GB, free: 12.03 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001826/0.5278, allocations: 1.211 MB / 1.473 GB, free: 10.82 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008831/0.5287, allocations: 0.7311 MB / 1.474 GB, free: 10.08 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.5288, allocations: 56 kB / 1.474 GB, free: 10.03 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.5299, allocations: 0.6237 MB / 1.475 GB, free: 9.402 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003218/0.5302, allocations: 314.8 kB / 1.475 GB, free: 9.094 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005134/0.5307, allocations: 465.6 kB / 1.475 GB, free: 8.637 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.5323, allocations: 1.413 MB / 1.477 GB, free: 7.219 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5323, allocations: 0 / 1.477 GB, free: 7.219 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5323, allocations: 0 / 1.477 GB, free: 7.219 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.821e-05/0.5323, allocations: 0 / 1.477 GB, free: 7.219 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.002388/0.5347, allocations: 1.444 MB / 1.478 GB, free: 5.73 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.5348, allocations: 8.031 kB / 1.478 GB, free: 5.723 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007785/0.5355, allocations: 199.1 kB / 1.478 GB, free: 5.527 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.5371, allocations: 0.8213 MB / 1.479 GB, free: 4.66 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.897e-05/0.5372, allocations: 41 kB / 1.479 GB, free: 4.621 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.97e-05/0.5373, allocations: 64 kB / 1.479 GB, free: 4.559 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.5385, allocations: 0.7849 MB / 1.48 GB, free: 3.699 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.5386, allocations: 7.938 kB / 1.48 GB, free: 3.691 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.538e-05/0.5386, allocations: 20 kB / 1.48 GB, free: 3.672 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.5386, allocations: 20 kB / 1.48 GB, free: 3.652 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009602/0.5396, allocations: 0.5305 MB / 1.481 GB, free: 3.121 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003727/0.5433, allocations: 3.339 MB / 1.484 GB, free: 15.66 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007399/0.5441, allocations: 410.2 kB / 1.484 GB, free: 15.25 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004068/0.5445, allocations: 231.9 kB / 1.484 GB, free: 15.02 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002202/0.5447, allocations: 39.97 kB / 1.484 GB, free: 14.98 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005118/0.5452, allocations: 285.1 kB / 1.485 GB, free: 14.69 MB / 1.186 GB Notification: Performance of pre-optimization done (n=31): time 1.833e-06/0.5452, allocations: 4 kB / 1.485 GB, free: 14.68 MB / 1.186 GB Notification: Performance of matching and sorting (n=31): time 0.001365/0.5466, allocations: 0.64 MB / 1.485 GB, free: 14.04 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.5466, allocations: 81.11 kB / 1.485 GB, free: 13.94 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.5479, allocations: 1.073 MB / 1.486 GB, free: 12.85 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.733e-05/0.548, allocations: 33.7 kB / 1.486 GB, free: 12.81 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004466/0.5484, allocations: 0.4926 MB / 1.487 GB, free: 12.31 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 9.785e-05/0.5485, allocations: 111.1 kB / 1.487 GB, free: 12.2 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.5487, allocations: 114.1 kB / 1.487 GB, free: 12.09 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5488, allocations: 322 kB / 1.487 GB, free: 11.77 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004257/0.5493, allocations: 248.1 kB / 1.488 GB, free: 11.51 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009942/0.5502, allocations: 1.124 MB / 1.489 GB, free: 10.11 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009454/0.5512, allocations: 0.6348 MB / 1.489 GB, free: 9.391 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.5512, allocations: 4 kB / 1.489 GB, free: 9.387 MB / 1.186 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001261/0.5525, allocations: 0.7534 MB / 1.49 GB, free: 8.613 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/0.5525, allocations: 35.73 kB / 1.49 GB, free: 8.574 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.5525, allocations: 4 kB / 1.49 GB, free: 8.57 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.5525, allocations: 8.656 kB / 1.49 GB, free: 8.562 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004431/0.553, allocations: 119.7 kB / 1.49 GB, free: 8.445 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/0.553, allocations: 8 kB / 1.49 GB, free: 8.438 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005486/0.5535, allocations: 67.69 kB / 1.49 GB, free: 8.371 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.356e-05/0.5536, allocations: 27.98 kB / 1.49 GB, free: 8.344 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007255/0.5543, allocations: 0.5257 MB / 1.491 GB, free: 7.805 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009351/0.5552, allocations: 1.096 MB / 1.492 GB, free: 6.43 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008136/0.5561, allocations: 0.5567 MB / 1.493 GB, free: 5.793 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.514e-06/0.5561, allocations: 7.984 kB / 1.493 GB, free: 5.785 MB / 1.186 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001096/0.5572, allocations: 0.668 MB / 1.493 GB, free: 5.098 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.5572, allocations: 37.7 kB / 1.493 GB, free: 5.055 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.5572, allocations: 8 kB / 1.493 GB, free: 5.047 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.246e-06/0.5572, allocations: 8 kB / 1.493 GB, free: 5.039 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003757/0.5576, allocations: 99.81 kB / 1.493 GB, free: 4.941 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/0.5576, allocations: 11.98 kB / 1.493 GB, free: 4.93 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005524/0.5582, allocations: 68.41 kB / 1.493 GB, free: 4.863 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.5582, allocations: 24.11 kB / 1.493 GB, free: 4.84 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 (53): * Single equations (assignments): 52 * 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.0001794/0.5584, allocations: 223.8 kB / 1.494 GB, free: 4.613 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.5585, allocations: 107.3 kB / 1.494 GB, free: 4.508 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009153/0.5594, allocations: 494.7 kB / 1.494 GB, free: 4.02 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.5594, allocations: 3.984 kB / 1.494 GB, free: 4.016 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5594, allocations: 4 kB / 1.494 GB, free: 4.012 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/0.5597, allocations: 127.5 kB / 1.494 GB, free: 3.887 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.5598, allocations: 8 kB / 1.494 GB, free: 3.879 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/0.5602, allocations: 19.97 kB / 1.494 GB, free: 3.859 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.131e-05/0.5603, allocations: 35.88 kB / 1.494 GB, free: 3.824 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009684/0.5612, allocations: 0.5665 MB / 1.495 GB, free: 3.25 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009126/0.5621, allocations: 0.7087 MB / 1.496 GB, free: 2.523 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003134/0.5625, allocations: 163.8 kB / 1.496 GB, free: 2.363 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001015/0.5635, allocations: 0.7516 MB / 1.497 GB, free: 1.602 MB / 1.186 GB Notification: Performance of Backend: time 4.41e-07/0.5635, allocations: 4 kB / 1.497 GB, free: 1.598 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001988/0.5655, allocations: 0.9036 MB / 1.497 GB, free: 0.6562 MB / 1.186 GB Notification: Performance of SimCode: time 0.003592/0.569, allocations: 2.448 MB / 1.5 GB, free: 14.15 MB / 1.201 GB Notification: Performance of Templates: time 0.0335/0.6025, allocations: 20.22 MB / 1.52 GB, free: 10.26 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.23966619100247]