Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007357/0.007357, allocations: 103.6 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 190.8 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.634/2.634, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001278, allocations: 63.91 kB / 1.054 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8254/0.8267, allocations: 157.4 MB / 1.208 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1766/1.003, allocations: 161.6 MB / 1.366 GB, free: 11.35 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.005139/1.009, allocations: 3.626 MB / 1.369 GB, free: 7.711 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003928/1.009, allocations: 15.88 kB / 1.369 GB, free: 7.695 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006842/1.01, allocations: 158.9 kB / 1.369 GB, free: 7.539 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001432/1.011, allocations: 0.5211 MB / 1.37 GB, free: 7.016 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/1.012, allocations: 445.8 kB / 1.37 GB, free: 6.586 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002731/1.015, allocations: 2.539 MB / 1.373 GB, free: 4.039 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/1.016, allocations: 0.9333 MB / 1.374 GB, free: 3.09 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001951/1.018, allocations: 1.043 MB / 1.375 GB, free: 2.043 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009959/1.019, allocations: 0.7078 MB / 1.375 GB, free: 1.332 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001036/1.019, allocations: 56 kB / 1.375 GB, free: 1.277 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/1.021, allocations: 0.7484 MB / 1.376 GB, free: 0.5273 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002911/1.021, allocations: 310.9 kB / 1.376 GB, free: 228 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006256/1.022, allocations: 0.5362 MB / 1.377 GB, free: 15.68 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001634/1.023, allocations: 1.4 MB / 1.378 GB, free: 14.28 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/1.023, allocations: 4 kB / 1.378 GB, free: 14.28 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.214e-06/1.023, allocations: 0 / 1.378 GB, free: 14.28 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.683e-05/1.023, allocations: 0 / 1.378 GB, free: 14.28 MB / 1.107 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.002514/1.026, allocations: 1.455 MB / 1.38 GB, free: 12.76 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/1.026, allocations: 8.031 kB / 1.38 GB, free: 12.75 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007619/1.027, allocations: 190.4 kB / 1.38 GB, free: 12.57 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/1.028, allocations: 0.8452 MB / 1.381 GB, free: 11.66 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/1.028, allocations: 41 kB / 1.381 GB, free: 11.62 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.618e-05/1.028, allocations: 68 kB / 1.381 GB, free: 11.56 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/1.03, allocations: 0.7848 MB / 1.382 GB, free: 10.7 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/1.03, allocations: 3.938 kB / 1.382 GB, free: 10.7 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.073e-05/1.03, allocations: 31.98 kB / 1.382 GB, free: 10.66 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/1.03, allocations: 12 kB / 1.382 GB, free: 10.65 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008533/1.03, allocations: 0.5383 MB / 1.382 GB, free: 10.11 MB / 1.107 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.004052/1.035, allocations: 4.583 MB / 1.387 GB, free: 5.148 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007026/1.035, allocations: 426.2 kB / 1.387 GB, free: 4.723 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003769/1.036, allocations: 244.7 kB / 1.387 GB, free: 4.484 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000304/1.036, allocations: 194.2 kB / 1.387 GB, free: 4.258 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005/1.036, allocations: 297.4 kB / 1.388 GB, free: 3.949 MB / 1.107 GB Notification: Performance of pre-optimization done (n=31): time 2.615e-06/1.036, allocations: 0 / 1.388 GB, free: 3.949 MB / 1.107 GB Notification: Performance of matching and sorting (n=31): time 0.003904/1.04, allocations: 1.313 MB / 1.389 GB, free: 2.605 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/1.04, allocations: 85.09 kB / 1.389 GB, free: 2.504 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/1.042, allocations: 1.126 MB / 1.39 GB, free: 1.359 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.236e-05/1.042, allocations: 33.7 kB / 1.39 GB, free: 1.32 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004145/1.043, allocations: 484.4 kB / 1.391 GB, free: 0.8438 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.457e-05/1.043, allocations: 110.5 kB / 1.391 GB, free: 0.7344 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/1.043, allocations: 121.9 kB / 1.391 GB, free: 0.6094 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001092/1.043, allocations: 326 kB / 1.391 GB, free: 292 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/1.043, allocations: 214.4 kB / 1.391 GB, free: 72 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006025/1.044, allocations: 0.5174 MB / 1.392 GB, free: 15.42 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008512/1.045, allocations: 0.6394 MB / 1.393 GB, free: 14.7 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/1.045, allocations: 0 / 1.393 GB, free: 14.7 MB / 1.123 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002347/1.047, allocations: 1.037 MB / 1.394 GB, free: 13.65 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.242e-05/1.047, allocations: 37.7 kB / 1.394 GB, free: 13.61 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/1.047, allocations: 8 kB / 1.394 GB, free: 13.6 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001364/1.049, allocations: 350 kB / 1.394 GB, free: 13.25 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/1.049, allocations: 63.91 kB / 1.394 GB, free: 13.19 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009785/1.05, allocations: 1.009 MB / 1.395 GB, free: 12.16 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006354/1.05, allocations: 75.42 kB / 1.395 GB, free: 12.08 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.352e-05/1.05, allocations: 27.98 kB / 1.395 GB, free: 12.05 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006923/1.051, allocations: 0.4967 MB / 1.396 GB, free: 11.55 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005459/1.052, allocations: 496.1 kB / 1.396 GB, free: 10.93 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007382/1.053, allocations: 0.5606 MB / 1.397 GB, free: 10.29 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.591e-06/1.053, allocations: 4 kB / 1.397 GB, free: 10.29 MB / 1.123 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001523/1.054, allocations: 0.8226 MB / 1.397 GB, free: 9.449 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/1.054, allocations: 33.7 kB / 1.397 GB, free: 9.41 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.054, allocations: 8 kB / 1.397 GB, free: 9.402 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005072/1.055, allocations: 211.2 kB / 1.398 GB, free: 9.195 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/1.055, allocations: 75.83 kB / 1.398 GB, free: 9.121 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003756/1.059, allocations: 3.337 MB / 1.401 GB, free: 5.621 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007494/1.059, allocations: 60.06 kB / 1.401 GB, free: 5.562 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/1.059, allocations: 27.98 kB / 1.401 GB, free: 5.535 MB / 1.123 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.0002342/1.06, allocations: 223.7 kB / 1.401 GB, free: 5.312 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/1.06, allocations: 98.78 kB / 1.401 GB, free: 5.215 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/1.061, allocations: 0.7062 MB / 1.402 GB, free: 4.5 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-06/1.061, allocations: 4 kB / 1.402 GB, free: 4.496 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/1.061, allocations: 0 / 1.402 GB, free: 4.496 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/1.061, allocations: 0 / 1.402 GB, free: 4.496 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002497/1.064, allocations: 1.611 MB / 1.404 GB, free: 2.801 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/1.064, allocations: 4 kB / 1.404 GB, free: 2.797 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/1.064, allocations: 27.97 kB / 1.404 GB, free: 2.77 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004582/1.064, allocations: 224.7 kB / 1.404 GB, free: 2.547 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/1.064, allocations: 11.94 kB / 1.404 GB, free: 2.535 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008273/1.065, allocations: 0.9754 MB / 1.405 GB, free: 1.535 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.065, allocations: 4.031 kB / 1.405 GB, free: 1.531 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/1.066, allocations: 0.825 MB / 1.406 GB, free: 0.6641 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003845/1.067, allocations: 215.8 kB / 1.406 GB, free: 444 kB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.328e-05/1.067, allocations: 8 kB / 1.406 GB, free: 436 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/1.067, allocations: 27.91 kB / 1.406 GB, free: 408 kB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.52e-05/1.067, allocations: 31.97 kB / 1.406 GB, free: 376 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/1.067, allocations: 12 kB / 1.406 GB, free: 364 kB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000938/1.068, allocations: 0.7955 MB / 1.407 GB, free: 15.55 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.3e-07/1.068, allocations: 0 / 1.407 GB, free: 15.55 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00122/1.07, allocations: 431.4 kB / 1.407 GB, free: 15.13 MB / 1.139 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.0003924/1.07, allocations: 170.4 kB / 1.407 GB, free: 14.96 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001876/1.072, allocations: 1.071 MB / 1.408 GB, free: 13.86 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.072, allocations: 7.938 kB / 1.408 GB, free: 13.85 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000508/1.072, allocations: 236.6 kB / 1.409 GB, free: 13.62 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/1.074, allocations: 462 kB / 1.409 GB, free: 13.17 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/1.077, allocations: 1.747 MB / 1.411 GB, free: 11.36 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006852/1.077, allocations: 1.188 MB / 1.412 GB, free: 10.14 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007408/1.078, allocations: 315.8 kB / 1.412 GB, free: 9.832 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/1.078, allocations: 59.44 kB / 1.412 GB, free: 9.773 MB / 1.139 GB Notification: Performance of SimCode: time 5.61e-07/1.078, allocations: 0 / 1.412 GB, free: 9.773 MB / 1.139 GB Notification: Performance of Templates: time 0.03168/1.11, allocations: 20.18 MB / 1.432 GB, free: 5.809 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches