Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.001584/0.001584, allocations: 96.2 kB / 19.71 MB, free: 2.121 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.001748/0.001748, allocations: 212.5 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.111/3.111, allocations: 0.49 GB / 0.7959 GB, free: 35.58 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.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") [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.002021/0.002021, allocations: 65.45 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3016, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1834/0.485, allocations: 142.5 MB / 1.466 GB, free: 2.016 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005241/0.4902, allocations: 3.342 MB / 1.469 GB, free: 14.66 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002485/0.4905, allocations: 11.88 kB / 1.469 GB, free: 14.65 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005597/0.491, allocations: 166.9 kB / 1.47 GB, free: 14.49 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.4925, allocations: 0.5406 MB / 1.47 GB, free: 13.95 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.4937, allocations: 442.8 kB / 1.471 GB, free: 13.52 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002982/0.4967, allocations: 2.55 MB / 1.473 GB, free: 10.96 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.4977, allocations: 0.645 MB / 1.474 GB, free: 10.3 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002314/0.5, allocations: 1.219 MB / 1.475 GB, free: 9.074 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.5011, allocations: 0.735 MB / 1.476 GB, free: 8.336 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.5012, allocations: 56 kB / 1.476 GB, free: 8.281 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.5025, allocations: 0.6119 MB / 1.476 GB, free: 7.668 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003603/0.5029, allocations: 326.7 kB / 1.477 GB, free: 7.348 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006027/0.5035, allocations: 461.7 kB / 1.477 GB, free: 6.895 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001915/0.5054, allocations: 1.416 MB / 1.478 GB, free: 5.473 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.5054, allocations: 11.88 kB / 1.478 GB, free: 5.461 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.705e-06/0.5054, allocations: 0 / 1.478 GB, free: 5.461 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.589e-05/0.5054, allocations: 0 / 1.478 GB, free: 5.461 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002642/0.5081, allocations: 1.437 MB / 1.48 GB, free: 3.98 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.5081, allocations: 8.031 kB / 1.48 GB, free: 3.973 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008189/0.5089, allocations: 203 kB / 1.48 GB, free: 3.773 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/0.5105, allocations: 0.8254 MB / 1.481 GB, free: 2.898 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.845e-05/0.5106, allocations: 48.98 kB / 1.481 GB, free: 2.852 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.5107, allocations: 56 kB / 1.481 GB, free: 2.797 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.512, allocations: 0.8216 MB / 1.482 GB, free: 1.895 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.512, allocations: 0 / 1.482 GB, free: 1.895 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.234e-05/0.5121, allocations: 24 kB / 1.482 GB, free: 1.871 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.5121, allocations: 12 kB / 1.482 GB, free: 1.859 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.5131, allocations: 0.5383 MB / 1.482 GB, free: 1.32 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.004162/0.5173, allocations: 3.327 MB / 1.486 GB, free: 13.88 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007882/0.5181, allocations: 394.2 kB / 1.486 GB, free: 13.48 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004212/0.5185, allocations: 240.6 kB / 1.486 GB, free: 13.25 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000246/0.5187, allocations: 39.97 kB / 1.486 GB, free: 13.21 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005952/0.5193, allocations: 318.5 kB / 1.486 GB, free: 12.87 MB / 1.186 GB Notification: Performance of pre-optimization done (n=31): time 2.524e-06/0.5193, allocations: 0 / 1.486 GB, free: 12.87 MB / 1.186 GB Notification: Performance of matching and sorting (n=31): time 0.004379/0.5237, allocations: 1.224 MB / 1.488 GB, free: 11.64 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.5238, allocations: 85.05 kB / 1.488 GB, free: 11.54 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.5253, allocations: 1.07 MB / 1.489 GB, free: 10.45 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.861e-05/0.5253, allocations: 41.7 kB / 1.489 GB, free: 10.4 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004729/0.5258, allocations: 492.6 kB / 1.489 GB, free: 9.91 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.5259, allocations: 115.1 kB / 1.489 GB, free: 9.797 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.5261, allocations: 114.1 kB / 1.49 GB, free: 9.68 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5263, allocations: 322 kB / 1.49 GB, free: 9.359 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004446/0.5267, allocations: 248.1 kB / 1.49 GB, free: 9.105 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.5278, allocations: 1.125 MB / 1.491 GB, free: 7.699 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.5288, allocations: 0.6353 MB / 1.492 GB, free: 6.984 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.5288, allocations: 3.938 kB / 1.492 GB, free: 6.98 MB / 1.186 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002636/0.5314, allocations: 1.062 MB / 1.493 GB, free: 5.895 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 5.105e-05/0.5315, allocations: 43.19 kB / 1.493 GB, free: 5.848 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.5315, allocations: 8.625 kB / 1.493 GB, free: 5.84 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/0.5331, allocations: 358.1 kB / 1.493 GB, free: 5.488 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.5334, allocations: 55.91 kB / 1.493 GB, free: 5.434 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.5345, allocations: 1.014 MB / 1.494 GB, free: 4.395 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000662/0.5352, allocations: 71.62 kB / 1.494 GB, free: 4.324 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.468e-05/0.5353, allocations: 28.06 kB / 1.494 GB, free: 4.297 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008341/0.5361, allocations: 0.5334 MB / 1.495 GB, free: 3.75 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001001/0.5371, allocations: 1.092 MB / 1.496 GB, free: 2.379 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008488/0.5379, allocations: 0.557 MB / 1.496 GB, free: 1.742 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.14e-06/0.5379, allocations: 4 kB / 1.496 GB, free: 1.738 MB / 1.186 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001724/0.5397, allocations: 0.8541 MB / 1.497 GB, free: 0.8633 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/0.5397, allocations: 41.7 kB / 1.497 GB, free: 0.8164 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.5397, allocations: 8 kB / 1.497 GB, free: 0.8086 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005658/0.5403, allocations: 198.7 kB / 1.498 GB, free: 0.6133 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.5405, allocations: 71.83 kB / 1.498 GB, free: 0.543 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004195/0.5447, allocations: 3.077 MB / 1.501 GB, free: 13.37 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006685/0.5454, allocations: 76.12 kB / 1.501 GB, free: 13.3 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.808e-05/0.5454, allocations: 27.92 kB / 1.501 GB, free: 13.27 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_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 (34): * Single equations (assignments): 32 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002234/0.5456, allocations: 212.1 kB / 1.501 GB, free: 13.05 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.5458, allocations: 99.39 kB / 1.501 GB, free: 12.96 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.5472, allocations: 0.6983 MB / 1.502 GB, free: 12.25 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5472, allocations: 7.938 kB / 1.502 GB, free: 12.24 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5472, allocations: 0 / 1.502 GB, free: 12.24 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003452/0.5476, allocations: 143.3 kB / 1.502 GB, free: 12.1 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.5477, allocations: 4 kB / 1.502 GB, free: 12.09 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003551/0.548, allocations: 27.97 kB / 1.502 GB, free: 12.07 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.5481, allocations: 43.91 kB / 1.502 GB, free: 12.02 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001517/0.5496, allocations: 0.7974 MB / 1.503 GB, free: 11.21 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001314/0.5509, allocations: 0.9229 MB / 1.504 GB, free: 10.28 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003436/0.5513, allocations: 171.8 kB / 1.504 GB, free: 10.11 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001086/0.5524, allocations: 0.7558 MB / 1.505 GB, free: 9.344 MB / 1.201 GB Notification: Performance of Backend: time 3.9e-07/0.5524, allocations: 0 / 1.505 GB, free: 9.344 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002753/0.5551, allocations: 1.165 MB / 1.506 GB, free: 8.125 MB / 1.201 GB Notification: Performance of SimCode: time 0.004083/0.5592, allocations: 2.648 MB / 1.508 GB, free: 5.426 MB / 1.201 GB Notification: Performance of Templates: time 0.03559/0.5948, allocations: 21.41 MB / 1.529 GB, free: 356 kB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.271728771003836]