Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.007616/0.007616, allocations: 98.3 kB / 15.73 MB, free: 5.977 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.001729/0.001729, allocations: 196.7 kB / 16.68 MB, free: 5.906 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.455/2.455, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 67.84 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8271/0.8284, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.174/1.002, allocations: 161.6 MB / 1.324 GB, free: 1.594 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004957/1.007, allocations: 3.624 MB / 1.328 GB, free: 13.96 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003613/1.008, allocations: 11.94 kB / 1.328 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005943/1.008, allocations: 166.9 kB / 1.328 GB, free: 13.78 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001362/1.01, allocations: 0.554 MB / 1.329 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001224/1.011, allocations: 431.6 kB / 1.329 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002678/1.014, allocations: 2.556 MB / 1.332 GB, free: 10.24 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/1.015, allocations: 0.9328 MB / 1.333 GB, free: 9.305 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/1.017, allocations: 1.055 MB / 1.334 GB, free: 8.246 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008603/1.017, allocations: 0.7078 MB / 1.334 GB, free: 7.535 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001334/1.018, allocations: 52 kB / 1.334 GB, free: 7.484 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/1.019, allocations: 0.7445 MB / 1.335 GB, free: 6.738 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003188/1.019, allocations: 306.9 kB / 1.335 GB, free: 6.438 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000616/1.02, allocations: 0.5479 MB / 1.336 GB, free: 5.887 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001636/1.022, allocations: 1.406 MB / 1.337 GB, free: 4.477 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/1.022, allocations: 4 kB / 1.337 GB, free: 4.473 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.763e-06/1.022, allocations: 0 / 1.337 GB, free: 4.473 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.54e-05/1.022, allocations: 3.938 kB / 1.337 GB, free: 4.469 MB / 1.061 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.002332/1.024, allocations: 1.481 MB / 1.339 GB, free: 2.922 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/1.024, allocations: 12.03 kB / 1.339 GB, free: 2.91 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007685/1.025, allocations: 199.1 kB / 1.339 GB, free: 2.715 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/1.026, allocations: 0.854 MB / 1.34 GB, free: 1.805 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.057e-05/1.026, allocations: 52.88 kB / 1.34 GB, free: 1.754 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.944e-05/1.026, allocations: 59.98 kB / 1.34 GB, free: 1.695 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/1.028, allocations: 0.7888 MB / 1.341 GB, free: 0.832 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/1.028, allocations: 4 kB / 1.341 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.021e-05/1.028, allocations: 23.94 kB / 1.341 GB, free: 0.8047 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/1.028, allocations: 16 kB / 1.341 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008881/1.029, allocations: 0.5305 MB / 1.341 GB, free: 264 kB / 1.061 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.004096/1.033, allocations: 4.592 MB / 1.346 GB, free: 11.29 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006995/1.033, allocations: 414.3 kB / 1.346 GB, free: 10.87 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003743/1.034, allocations: 254.9 kB / 1.346 GB, free: 10.62 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002983/1.034, allocations: 194.2 kB / 1.346 GB, free: 10.39 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005051/1.035, allocations: 301.8 kB / 1.347 GB, free: 10.08 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 1.894e-06/1.035, allocations: 4 kB / 1.347 GB, free: 10.08 MB / 1.076 GB Notification: Performance of matching and sorting (n=31): time 0.003845/1.038, allocations: 1.321 MB / 1.348 GB, free: 8.727 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/1.039, allocations: 81.11 kB / 1.348 GB, free: 8.629 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/1.04, allocations: 1.118 MB / 1.349 GB, free: 7.492 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/1.04, allocations: 37.7 kB / 1.349 GB, free: 7.449 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004101/1.04, allocations: 492.8 kB / 1.35 GB, free: 6.961 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.329e-05/1.04, allocations: 115.3 kB / 1.35 GB, free: 6.848 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/1.041, allocations: 114 kB / 1.35 GB, free: 6.73 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001127/1.041, allocations: 329.9 kB / 1.35 GB, free: 6.402 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/1.041, allocations: 214.3 kB / 1.35 GB, free: 6.188 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006091/1.042, allocations: 0.5291 MB / 1.351 GB, free: 5.527 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008873/1.043, allocations: 0.6314 MB / 1.352 GB, free: 4.816 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.043, allocations: 0 / 1.352 GB, free: 4.816 MB / 1.076 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00224/1.045, allocations: 1.045 MB / 1.353 GB, free: 3.754 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/1.045, allocations: 36.2 kB / 1.353 GB, free: 3.715 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.045, allocations: 4.625 kB / 1.353 GB, free: 3.711 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/1.046, allocations: 374 kB / 1.353 GB, free: 3.344 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/1.047, allocations: 55.91 kB / 1.353 GB, free: 3.289 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/1.048, allocations: 1.01 MB / 1.354 GB, free: 2.254 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006517/1.048, allocations: 87.59 kB / 1.354 GB, free: 2.168 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.178e-05/1.048, allocations: 27.98 kB / 1.354 GB, free: 2.141 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006832/1.049, allocations: 0.4928 MB / 1.355 GB, free: 1.645 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005371/1.05, allocations: 489.9 kB / 1.355 GB, free: 1.031 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007471/1.05, allocations: 0.5528 MB / 1.356 GB, free: 408 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.825e-06/1.05, allocations: 0 / 1.356 GB, free: 408 kB / 1.076 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001572/1.052, allocations: 0.8382 MB / 1.356 GB, free: 15.54 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/1.052, allocations: 38.33 kB / 1.356 GB, free: 15.5 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/1.052, allocations: 4 kB / 1.356 GB, free: 15.5 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004993/1.053, allocations: 214.8 kB / 1.357 GB, free: 15.29 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/1.053, allocations: 55.91 kB / 1.357 GB, free: 15.23 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003672/1.056, allocations: 3.336 MB / 1.36 GB, free: 11.73 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006841/1.057, allocations: 72.06 kB / 1.36 GB, free: 11.66 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/1.057, allocations: 23.98 kB / 1.36 GB, free: 11.64 MB / 1.092 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.0002069/1.057, allocations: 212.1 kB / 1.36 GB, free: 11.43 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/1.058, allocations: 103.5 kB / 1.36 GB, free: 11.32 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/1.059, allocations: 0.718 MB / 1.361 GB, free: 10.59 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.059, allocations: 8 kB / 1.361 GB, free: 10.58 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/1.059, allocations: 0 / 1.361 GB, free: 10.58 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.059, allocations: 4 kB / 1.361 GB, free: 10.58 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/1.061, allocations: 1.602 MB / 1.363 GB, free: 8.898 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.061, allocations: 0 / 1.363 GB, free: 8.898 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/1.061, allocations: 23.92 kB / 1.363 GB, free: 8.875 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004544/1.062, allocations: 228.5 kB / 1.363 GB, free: 8.648 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/1.062, allocations: 8 kB / 1.363 GB, free: 8.641 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008928/1.063, allocations: 0.9891 MB / 1.364 GB, free: 7.629 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.063, allocations: 0 / 1.364 GB, free: 7.629 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/1.064, allocations: 0.8419 MB / 1.365 GB, free: 6.746 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003999/1.065, allocations: 216.4 kB / 1.365 GB, free: 6.516 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.391e-05/1.065, allocations: 8 kB / 1.365 GB, free: 6.508 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/1.065, allocations: 27.91 kB / 1.365 GB, free: 6.48 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/1.065, allocations: 27.91 kB / 1.365 GB, free: 6.453 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/1.065, allocations: 16 kB / 1.365 GB, free: 6.438 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001098/1.066, allocations: 0.7916 MB / 1.366 GB, free: 5.637 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.71e-07/1.066, allocations: 0 / 1.366 GB, free: 5.637 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001401/1.068, allocations: 443.5 kB / 1.366 GB, free: 5.203 MB / 1.092 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.0005351/1.068, allocations: 157.7 kB / 1.366 GB, free: 5.051 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002113/1.07, allocations: 1.079 MB / 1.367 GB, free: 3.938 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.892e-06/1.07, allocations: 4 kB / 1.367 GB, free: 3.934 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0004963/1.071, allocations: 239 kB / 1.368 GB, free: 3.699 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/1.073, allocations: 460.8 kB / 1.368 GB, free: 3.254 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/1.076, allocations: 1.785 MB / 1.37 GB, free: 1.41 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008089/1.077, allocations: 1.177 MB / 1.371 GB, free: 208 kB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008241/1.078, allocations: 315.8 kB / 1.371 GB, free: 15.89 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/1.078, allocations: 59.44 kB / 1.371 GB, free: 15.83 MB / 1.107 GB Notification: Performance of SimCode: time 7.31e-07/1.078, allocations: 0 / 1.371 GB, free: 15.83 MB / 1.107 GB Notification: Performance of Templates: time 0.03337/1.111, allocations: 19.79 MB / 1.391 GB, free: 12.26 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches