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) 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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007434/0.007434, allocations: 103.5 kB / 15.74 MB, free: 6.035 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.001578/0.001578, allocations: 196.6 kB / 16.68 MB, free: 5.953 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.602/2.602, allocations: 461.9 MB / 0.7348 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 71.83 kB / 1.054 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.836/0.8372, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1695/1.007, allocations: 161.6 MB / 1.366 GB, free: 11.39 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.003022/1.01, allocations: 1.759 MB / 1.367 GB, free: 9.629 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002672/1.01, allocations: 11.94 kB / 1.367 GB, free: 9.617 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006146/1.011, allocations: 170.9 kB / 1.367 GB, free: 9.449 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001378/1.012, allocations: 0.5133 MB / 1.368 GB, free: 8.934 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/1.013, allocations: 398 kB / 1.368 GB, free: 8.547 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002784/1.016, allocations: 2.524 MB / 1.371 GB, free: 6.016 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/1.017, allocations: 0.9294 MB / 1.372 GB, free: 5.07 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/1.019, allocations: 1.039 MB / 1.373 GB, free: 4.027 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009135/1.02, allocations: 0.7116 MB / 1.373 GB, free: 3.312 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001154/1.02, allocations: 60 kB / 1.373 GB, free: 3.254 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/1.022, allocations: 0.7367 MB / 1.374 GB, free: 2.516 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003359/1.022, allocations: 310.9 kB / 1.374 GB, free: 2.211 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006417/1.023, allocations: 0.5401 MB / 1.375 GB, free: 1.668 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001587/1.025, allocations: 1.396 MB / 1.376 GB, free: 276 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.025, allocations: 0 / 1.376 GB, free: 276 kB / 1.092 GB Notification: Performance of FrontEnd: time 1.964e-06/1.025, allocations: 0 / 1.376 GB, free: 276 kB / 1.092 GB Notification: Performance of Transformations before backend: time 1.433e-05/1.025, allocations: 0 / 1.376 GB, free: 276 kB / 1.092 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.00232/1.027, allocations: 1.447 MB / 1.378 GB, free: 14.76 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/1.027, allocations: 12.03 kB / 1.378 GB, free: 14.75 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007399/1.028, allocations: 178.5 kB / 1.378 GB, free: 14.57 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/1.029, allocations: 0.8567 MB / 1.379 GB, free: 13.66 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.977e-05/1.029, allocations: 49 kB / 1.379 GB, free: 13.61 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.796e-05/1.029, allocations: 56 kB / 1.379 GB, free: 13.56 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/1.03, allocations: 0.8003 MB / 1.38 GB, free: 12.68 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/1.03, allocations: 0 / 1.38 GB, free: 12.68 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.456e-05/1.03, allocations: 24 kB / 1.38 GB, free: 12.66 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/1.03, allocations: 12 kB / 1.38 GB, free: 12.65 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/1.032, allocations: 0.5344 MB / 1.38 GB, free: 12.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.003861/1.035, allocations: 4.598 MB / 1.385 GB, free: 7.133 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006961/1.036, allocations: 410.3 kB / 1.385 GB, free: 6.723 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003677/1.037, allocations: 250.7 kB / 1.385 GB, free: 6.477 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002866/1.037, allocations: 190.2 kB / 1.386 GB, free: 6.254 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004759/1.037, allocations: 293.6 kB / 1.386 GB, free: 5.949 MB / 1.107 GB Notification: Performance of pre-optimization done (n=31): time 1.823e-06/1.037, allocations: 0 / 1.386 GB, free: 5.949 MB / 1.107 GB Notification: Performance of matching and sorting (n=31): time 0.001351/1.039, allocations: 0.6294 MB / 1.386 GB, free: 5.312 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/1.039, allocations: 85.11 kB / 1.387 GB, free: 5.211 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/1.04, allocations: 1.118 MB / 1.388 GB, free: 4.074 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.971e-05/1.04, allocations: 41.7 kB / 1.388 GB, free: 4.027 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003946/1.041, allocations: 492.1 kB / 1.388 GB, free: 3.543 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.439e-05/1.041, allocations: 110.5 kB / 1.388 GB, free: 3.434 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/1.041, allocations: 110 kB / 1.388 GB, free: 3.32 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001105/1.041, allocations: 325.9 kB / 1.389 GB, free: 2.996 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003843/1.041, allocations: 214.4 kB / 1.389 GB, free: 2.781 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005925/1.042, allocations: 0.5237 MB / 1.389 GB, free: 2.129 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008704/1.043, allocations: 0.6315 MB / 1.39 GB, free: 1.418 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/1.043, allocations: 3.938 kB / 1.39 GB, free: 1.414 MB / 1.107 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001151/1.044, allocations: 0.728 MB / 1.391 GB, free: 0.6719 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/1.044, allocations: 33.7 kB / 1.391 GB, free: 0.6328 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/1.044, allocations: 4 kB / 1.391 GB, free: 0.6289 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/1.044, allocations: 12.59 kB / 1.391 GB, free: 0.6172 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000425/1.045, allocations: 111.9 kB / 1.391 GB, free: 0.5078 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/1.045, allocations: 11.94 kB / 1.391 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005803/1.045, allocations: 71.48 kB / 1.391 GB, free: 436 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.114e-05/1.045, allocations: 27.98 kB / 1.391 GB, free: 408 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006699/1.046, allocations: 0.5006 MB / 1.391 GB, free: 15.89 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005537/1.046, allocations: 497.9 kB / 1.392 GB, free: 15.27 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007286/1.047, allocations: 0.5489 MB / 1.392 GB, free: 14.64 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.524e-06/1.047, allocations: 4.219 kB / 1.392 GB, free: 14.63 MB / 1.123 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009768/1.048, allocations: 0.6382 MB / 1.393 GB, free: 13.98 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/1.048, allocations: 41.62 kB / 1.393 GB, free: 13.93 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.048, allocations: 8 kB / 1.393 GB, free: 13.93 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/1.048, allocations: 8 kB / 1.393 GB, free: 13.92 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/1.049, allocations: 104.3 kB / 1.393 GB, free: 13.82 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/1.049, allocations: 15.94 kB / 1.393 GB, free: 13.8 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005636/1.049, allocations: 56.12 kB / 1.393 GB, free: 13.75 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/1.049, allocations: 27.98 kB / 1.393 GB, free: 13.72 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 (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.0001738/1.049, allocations: 224 kB / 1.394 GB, free: 13.49 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/1.05, allocations: 98.78 kB / 1.394 GB, free: 13.39 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009318/1.05, allocations: 498.9 kB / 1.394 GB, free: 12.9 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.05, allocations: 4 kB / 1.394 GB, free: 12.89 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.05, allocations: 0 / 1.394 GB, free: 12.89 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.051, allocations: 0 / 1.394 GB, free: 12.89 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/1.052, allocations: 1.387 MB / 1.395 GB, free: 11.43 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.052, allocations: 0 / 1.395 GB, free: 11.43 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/1.053, allocations: 67.89 kB / 1.396 GB, free: 11.37 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/1.053, allocations: 7.938 kB / 1.396 GB, free: 11.36 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/1.053, allocations: 8.219 kB / 1.396 GB, free: 11.35 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/1.053, allocations: 8 kB / 1.396 GB, free: 11.34 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.053, allocations: 0 / 1.396 GB, free: 11.34 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008205/1.054, allocations: 0.606 MB / 1.396 GB, free: 10.7 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/1.054, allocations: 215.8 kB / 1.396 GB, free: 10.47 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/1.054, allocations: 8 kB / 1.396 GB, free: 10.46 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/1.054, allocations: 15.98 kB / 1.396 GB, free: 10.45 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.808e-05/1.054, allocations: 39.95 kB / 1.396 GB, free: 10.41 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/1.054, allocations: 8.141 kB / 1.396 GB, free: 10.4 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009429/1.055, allocations: 0.7914 MB / 1.397 GB, free: 9.598 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.543e-06/1.055, allocations: 0 / 1.397 GB, free: 9.598 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001065/1.056, allocations: 411.3 kB / 1.398 GB, free: 9.195 MB / 1.123 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.0004031/1.057, allocations: 180.1 kB / 1.398 GB, free: 9.023 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001351/1.058, allocations: 0.8278 MB / 1.399 GB, free: 8.176 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.058, allocations: 64 / 1.399 GB, free: 8.176 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003597/1.059, allocations: 201.6 kB / 1.399 GB, free: 7.98 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/1.061, allocations: 460.2 kB / 1.399 GB, free: 7.531 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/1.063, allocations: 1.724 MB / 1.401 GB, free: 5.75 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006666/1.064, allocations: 1.18 MB / 1.402 GB, free: 4.539 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0008896/1.065, allocations: 403.7 kB / 1.402 GB, free: 4.141 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/1.065, allocations: 75.42 kB / 1.402 GB, free: 4.066 MB / 1.123 GB Notification: Performance of SimCode: time 1.844e-06/1.065, allocations: 0 / 1.402 GB, free: 4.066 MB / 1.123 GB Notification: Performance of Templates: time 0.02706/1.092, allocations: 17.18 MB / 1.419 GB, free: 3.09 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches