Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 102.7 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002159/0.002159, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 225.6 MB / 249.9 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.975/2.975, allocations: 489.7 MB / 0.7761 GB, free: 33.62 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 67.3 kB / 1.127 GB, free: 36.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3209, allocations: 172.1 MB / 1.295 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1842/0.5052, allocations: 162.1 MB / 1.453 GB, free: 8.879 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.003376/0.5085, allocations: 1.759 MB / 1.455 GB, free: 7.117 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004876/0.509, allocations: 15.88 kB / 1.455 GB, free: 7.102 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007097/0.5097, allocations: 170.9 kB / 1.455 GB, free: 6.934 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001571/0.5113, allocations: 0.5445 MB / 1.456 GB, free: 6.387 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.5126, allocations: 390.4 kB / 1.456 GB, free: 6.008 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003025/0.5156, allocations: 2.504 MB / 1.458 GB, free: 3.496 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.5168, allocations: 0.7928 MB / 1.459 GB, free: 2.691 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002355/0.5192, allocations: 1.195 MB / 1.46 GB, free: 1.492 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.5202, allocations: 0.7234 MB / 1.461 GB, free: 0.7656 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.5203, allocations: 56 kB / 1.461 GB, free: 0.7109 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.5218, allocations: 0.7523 MB / 1.462 GB, free: 15.96 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003599/0.5222, allocations: 310.8 kB / 1.462 GB, free: 15.65 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006999/0.5229, allocations: 0.5401 MB / 1.463 GB, free: 15.11 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001839/0.5247, allocations: 1.401 MB / 1.464 GB, free: 13.7 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5247, allocations: 3.938 kB / 1.464 GB, free: 13.7 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5247, allocations: 0 / 1.464 GB, free: 13.7 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.787e-05/0.5247, allocations: 7.984 kB / 1.464 GB, free: 13.69 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.002488/0.5272, allocations: 1.481 MB / 1.466 GB, free: 12.15 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.5273, allocations: 8.031 kB / 1.466 GB, free: 12.14 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008016/0.5281, allocations: 199.2 kB / 1.466 GB, free: 11.95 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.5295, allocations: 0.8578 MB / 1.467 GB, free: 11.03 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.768e-05/0.5296, allocations: 44.98 kB / 1.467 GB, free: 10.98 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.474e-05/0.5297, allocations: 60 kB / 1.467 GB, free: 10.93 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.5309, allocations: 0.7926 MB / 1.467 GB, free: 10.06 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.531, allocations: 0 / 1.467 GB, free: 10.06 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.206e-05/0.531, allocations: 24 kB / 1.467 GB, free: 10.04 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.531, allocations: 12 kB / 1.467 GB, free: 10.02 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000939/0.532, allocations: 0.5344 MB / 1.468 GB, free: 9.488 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.004507/0.5365, allocations: 4.603 MB / 1.473 GB, free: 4.504 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007689/0.5372, allocations: 394.3 kB / 1.473 GB, free: 4.109 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004011/0.5376, allocations: 228.6 kB / 1.473 GB, free: 3.883 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003504/0.538, allocations: 202.2 kB / 1.473 GB, free: 3.648 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005227/0.5385, allocations: 293 kB / 1.474 GB, free: 3.344 MB / 1.17 GB Notification: Performance of pre-optimization done (n=31): time 2.104e-06/0.5385, allocations: 0 / 1.474 GB, free: 3.344 MB / 1.17 GB Notification: Performance of matching and sorting (n=31): time 0.001493/0.54, allocations: 0.6494 MB / 1.474 GB, free: 2.688 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.5401, allocations: 81.11 kB / 1.474 GB, free: 2.59 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.5415, allocations: 1.114 MB / 1.475 GB, free: 1.457 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.556e-05/0.5416, allocations: 37.7 kB / 1.475 GB, free: 1.414 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004527/0.542, allocations: 492.8 kB / 1.476 GB, free: 0.9258 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.5421, allocations: 119 kB / 1.476 GB, free: 0.8086 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.5423, allocations: 118 kB / 1.476 GB, free: 0.6875 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5424, allocations: 321.9 kB / 1.476 GB, free: 376 kB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004016/0.5429, allocations: 214.4 kB / 1.477 GB, free: 156 kB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006839/0.5435, allocations: 0.5213 MB / 1.477 GB, free: 15.5 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009524/0.5445, allocations: 0.6188 MB / 1.478 GB, free: 14.8 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.5445, allocations: 4 kB / 1.478 GB, free: 14.8 MB / 1.186 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001367/0.5459, allocations: 0.73 MB / 1.478 GB, free: 14.05 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.675e-05/0.5459, allocations: 37.69 kB / 1.478 GB, free: 14.01 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.5459, allocations: 12 kB / 1.478 GB, free: 14 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.5459, allocations: 8 kB / 1.479 GB, free: 13.99 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/0.5464, allocations: 103.9 kB / 1.479 GB, free: 13.89 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/0.5464, allocations: 15.92 kB / 1.479 GB, free: 13.88 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006284/0.547, allocations: 67.66 kB / 1.479 GB, free: 13.81 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/0.5471, allocations: 35.92 kB / 1.479 GB, free: 13.77 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007643/0.5478, allocations: 0.4966 MB / 1.479 GB, free: 13.27 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006021/0.5484, allocations: 493.8 kB / 1.48 GB, free: 12.65 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008138/0.5493, allocations: 0.5528 MB / 1.48 GB, free: 12.02 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.399e-06/0.5493, allocations: 4 kB / 1.48 GB, free: 12.02 MB / 1.186 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001178/0.5504, allocations: 0.6464 MB / 1.481 GB, free: 11.36 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/0.5505, allocations: 33.7 kB / 1.481 GB, free: 11.32 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.5505, allocations: 4 kB / 1.481 GB, free: 11.31 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.5505, allocations: 8.656 kB / 1.481 GB, free: 11.3 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.5509, allocations: 107.8 kB / 1.481 GB, free: 11.2 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.5509, allocations: 11.94 kB / 1.481 GB, free: 11.19 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006202/0.5515, allocations: 72.16 kB / 1.481 GB, free: 11.12 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.595e-05/0.5516, allocations: 27.94 kB / 1.481 GB, free: 11.09 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.000233/0.5518, allocations: 224 kB / 1.481 GB, free: 10.86 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.5519, allocations: 103.3 kB / 1.481 GB, free: 10.76 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009924/0.5529, allocations: 491 kB / 1.482 GB, free: 10.28 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.5529, allocations: 4 kB / 1.482 GB, free: 10.27 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.5529, allocations: 0 / 1.482 GB, free: 10.27 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.036e-06/0.5529, allocations: 4 kB / 1.482 GB, free: 10.27 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.5551, allocations: 1.389 MB / 1.483 GB, free: 8.805 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.5551, allocations: 4 kB / 1.483 GB, free: 8.801 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.5554, allocations: 68.11 kB / 1.483 GB, free: 8.734 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.5554, allocations: 7.938 kB / 1.483 GB, free: 8.727 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.5554, allocations: 8 kB / 1.483 GB, free: 8.719 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.5554, allocations: 7.984 kB / 1.483 GB, free: 8.711 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.5554, allocations: 4 kB / 1.483 GB, free: 8.707 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008688/0.5563, allocations: 0.6067 MB / 1.484 GB, free: 8.062 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003401/0.5566, allocations: 220.3 kB / 1.484 GB, free: 7.828 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.529e-05/0.5567, allocations: 8 kB / 1.484 GB, free: 7.82 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/0.5571, allocations: 28.16 kB / 1.484 GB, free: 7.793 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.662e-05/0.5572, allocations: 23.97 kB / 1.484 GB, free: 7.77 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.5572, allocations: 11.98 kB / 1.484 GB, free: 7.758 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001046/0.5583, allocations: 0.7953 MB / 1.485 GB, free: 6.953 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5583, allocations: 3.938 kB / 1.485 GB, free: 6.949 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001165/0.5594, allocations: 403.6 kB / 1.485 GB, free: 6.555 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000461/0.5599, allocations: 183.3 kB / 1.486 GB, free: 6.379 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001542/0.5614, allocations: 0.8002 MB / 1.486 GB, free: 5.559 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5614, allocations: 0 / 1.486 GB, free: 5.559 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003585/0.5618, allocations: 190.2 kB / 1.487 GB, free: 5.375 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/0.5637, allocations: 448.7 kB / 1.487 GB, free: 4.934 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003031/0.5667, allocations: 1.798 MB / 1.489 GB, free: 3.07 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008269/0.5676, allocations: 1.18 MB / 1.49 GB, free: 1.859 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.5678, allocations: 75.42 kB / 1.49 GB, free: 1.785 MB / 1.186 GB Notification: Performance of SimCode: time 8.42e-07/0.5678, allocations: 4 kB / 1.49 GB, free: 1.781 MB / 1.186 GB Notification: Performance of Templates: time 0.0259/0.5937, allocations: 16.05 MB / 1.506 GB, free: 1.832 MB / 1.201 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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