Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001508/0.001508, allocations: 103.2 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.00151/0.00151, 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.405/1.405, 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 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.531/2.531, allocations: 443.5 MB / 0.731 GB, free: 12.73 MB / 0.5919 GB [Timeout remaining time 87] 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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 71.89 kB / 1.06 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8416/0.8436, allocations: 160.7 MB / 1.217 GB, free: 4.004 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1942/1.038, allocations: 162.1 MB / 1.375 GB, free: 5.02 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003549/1.041, allocations: 1.76 MB / 1.377 GB, free: 3.254 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004089/1.042, allocations: 11.94 kB / 1.377 GB, free: 3.242 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006638/1.042, allocations: 170.9 kB / 1.377 GB, free: 3.074 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001606/1.044, allocations: 0.5457 MB / 1.377 GB, free: 2.527 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001271/1.045, allocations: 399.3 kB / 1.378 GB, free: 2.141 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003187/1.048, allocations: 2.527 MB / 1.38 GB, free: 15.61 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/1.05, allocations: 0.8045 MB / 1.381 GB, free: 14.79 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0022/1.052, allocations: 1.047 MB / 1.382 GB, free: 13.74 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/1.053, allocations: 0.7506 MB / 1.383 GB, free: 12.99 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001281/1.053, allocations: 56 kB / 1.383 GB, free: 12.93 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/1.055, allocations: 0.7639 MB / 1.383 GB, free: 12.17 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003838/1.055, allocations: 314.8 kB / 1.384 GB, free: 11.86 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007439/1.056, allocations: 0.5401 MB / 1.384 GB, free: 11.32 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001899/1.058, allocations: 1.415 MB / 1.386 GB, free: 9.898 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.058, allocations: 0 / 1.386 GB, free: 9.898 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.004e-06/1.058, allocations: 0 / 1.386 GB, free: 9.898 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.797e-05/1.058, allocations: 0 / 1.386 GB, free: 9.898 MB / 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.002453/1.061, allocations: 1.483 MB / 1.387 GB, free: 8.352 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/1.061, allocations: 12.03 kB / 1.387 GB, free: 8.34 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007655/1.061, allocations: 191.1 kB / 1.387 GB, free: 8.152 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/1.063, allocations: 0.8539 MB / 1.388 GB, free: 7.242 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.536e-05/1.063, allocations: 45 kB / 1.388 GB, free: 7.199 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.676e-05/1.063, allocations: 60 kB / 1.388 GB, free: 7.141 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/1.064, allocations: 0.7952 MB / 1.389 GB, free: 6.273 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/1.064, allocations: 4 kB / 1.389 GB, free: 6.27 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.137e-05/1.064, allocations: 20 kB / 1.389 GB, free: 6.25 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/1.064, allocations: 16 kB / 1.389 GB, free: 6.234 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009222/1.065, allocations: 0.5305 MB / 1.39 GB, free: 5.703 MB / 1.092 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.004504/1.07, allocations: 4.6 MB / 1.394 GB, free: 0.7227 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007569/1.07, allocations: 398.8 kB / 1.394 GB, free: 332 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003809/1.071, allocations: 230.1 kB / 1.395 GB, free: 100 kB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000346/1.071, allocations: 198.1 kB / 1.395 GB, free: 15.87 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005084/1.072, allocations: 293 kB / 1.395 GB, free: 15.56 MB / 1.107 GB Notification: Performance of pre-optimization done (n=31): time 2.705e-06/1.072, allocations: 0 / 1.395 GB, free: 15.56 MB / 1.107 GB Notification: Performance of matching and sorting (n=31): time 0.001489/1.073, allocations: 0.632 MB / 1.396 GB, free: 14.93 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.066e-05/1.073, allocations: 93.05 kB / 1.396 GB, free: 14.82 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/1.075, allocations: 1.11 MB / 1.397 GB, free: 13.69 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.267e-05/1.075, allocations: 37.7 kB / 1.397 GB, free: 13.64 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004653/1.075, allocations: 0.4891 MB / 1.397 GB, free: 13.15 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/1.075, allocations: 115 kB / 1.398 GB, free: 13.04 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/1.075, allocations: 110.1 kB / 1.398 GB, free: 12.92 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.076, allocations: 329.9 kB / 1.398 GB, free: 12.59 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004021/1.076, allocations: 222.3 kB / 1.398 GB, free: 12.37 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006798/1.077, allocations: 0.5213 MB / 1.399 GB, free: 11.72 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009735/1.078, allocations: 0.6309 MB / 1.399 GB, free: 11.01 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/1.078, allocations: 4 kB / 1.399 GB, free: 11 MB / 1.107 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001371/1.079, allocations: 0.7283 MB / 1.4 GB, free: 10.26 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.934e-05/1.079, allocations: 37.7 kB / 1.4 GB, free: 10.22 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/1.079, allocations: 7.984 kB / 1.4 GB, free: 10.21 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/1.079, allocations: 8.656 kB / 1.4 GB, free: 10.2 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004506/1.08, allocations: 111.8 kB / 1.4 GB, free: 10.09 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/1.08, allocations: 11.94 kB / 1.4 GB, free: 10.08 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006529/1.08, allocations: 71.62 kB / 1.4 GB, free: 10.01 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.297e-05/1.08, allocations: 24 kB / 1.4 GB, free: 9.988 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007836/1.081, allocations: 0.5005 MB / 1.401 GB, free: 9.484 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006275/1.082, allocations: 493.9 kB / 1.401 GB, free: 8.863 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008107/1.083, allocations: 0.5606 MB / 1.402 GB, free: 8.223 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.398e-06/1.083, allocations: 4 kB / 1.402 GB, free: 8.219 MB / 1.107 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001177/1.084, allocations: 0.6426 MB / 1.402 GB, free: 7.562 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.236e-05/1.084, allocations: 33.7 kB / 1.402 GB, free: 7.523 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/1.084, allocations: 4 kB / 1.402 GB, free: 7.52 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/1.084, allocations: 8 kB / 1.403 GB, free: 7.512 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003665/1.084, allocations: 108.3 kB / 1.403 GB, free: 7.406 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/1.084, allocations: 15.94 kB / 1.403 GB, free: 7.391 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006141/1.085, allocations: 72.06 kB / 1.403 GB, free: 7.32 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.583e-05/1.085, allocations: 24 kB / 1.403 GB, free: 7.297 MB / 1.107 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.0002226/1.085, allocations: 212.9 kB / 1.403 GB, free: 7.082 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/1.085, allocations: 111.3 kB / 1.403 GB, free: 6.973 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000981/1.086, allocations: 495 kB / 1.403 GB, free: 6.48 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/1.086, allocations: 4 kB / 1.403 GB, free: 6.477 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/1.086, allocations: 4 kB / 1.404 GB, free: 6.473 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/1.086, allocations: 7.984 kB / 1.404 GB, free: 6.465 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/1.088, allocations: 1.375 MB / 1.405 GB, free: 5.012 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/1.088, allocations: 7.984 kB / 1.405 GB, free: 5.004 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002488/1.089, allocations: 55.97 kB / 1.405 GB, free: 4.949 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/1.089, allocations: 15.86 kB / 1.405 GB, free: 4.934 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/1.089, allocations: 12.22 kB / 1.405 GB, free: 4.922 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/1.089, allocations: 4 kB / 1.405 GB, free: 4.918 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/1.089, allocations: 4.188 kB / 1.405 GB, free: 4.914 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008915/1.09, allocations: 0.6033 MB / 1.406 GB, free: 4.273 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003389/1.09, allocations: 220.3 kB / 1.406 GB, free: 4.039 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.631e-05/1.09, allocations: 8 kB / 1.406 GB, free: 4.031 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003871/1.09, allocations: 23.97 kB / 1.406 GB, free: 4.008 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.293e-05/1.091, allocations: 27.97 kB / 1.406 GB, free: 3.98 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/1.091, allocations: 15.98 kB / 1.406 GB, free: 3.965 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001066/1.092, allocations: 0.7875 MB / 1.407 GB, free: 3.168 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/1.092, allocations: 0 / 1.407 GB, free: 3.168 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001159/1.093, allocations: 407.5 kB / 1.407 GB, free: 2.77 MB / 1.107 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.0004571/1.093, allocations: 179.5 kB / 1.407 GB, free: 2.594 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001432/1.095, allocations: 0.7912 MB / 1.408 GB, free: 1.781 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.095, allocations: 4.188 kB / 1.408 GB, free: 1.777 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0003514/1.095, allocations: 188.9 kB / 1.408 GB, free: 1.594 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/1.097, allocations: 459.6 kB / 1.409 GB, free: 1.145 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/1.1, allocations: 1.806 MB / 1.41 GB, free: 15.27 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008038/1.101, allocations: 1.176 MB / 1.411 GB, free: 14.07 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/1.101, allocations: 79.42 kB / 1.412 GB, free: 13.99 MB / 1.123 GB Notification: Performance of SimCode: time 9.92e-07/1.101, allocations: 0 / 1.412 GB, free: 13.99 MB / 1.123 GB Notification: Performance of Templates: time 0.02629/1.127, allocations: 16.06 MB / 1.427 GB, free: 14.05 MB / 1.139 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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