Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.425/2.425, allocations: 387.1 MB / 399.7 MB, free: 9.516 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 172.9 kB / 492.3 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.698/1.698, allocations: 221.3 MB / 0.7872 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 97.78 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.486e-05/3.49e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.322, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.648/5.97, allocations: 1.872 GB / 3.084 GB, free: 435.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/5.971, allocations: 95.97 kB / 3.084 GB, free: 435.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.131/9.102, allocations: 0.9805 GB / 4.065 GB, free: 347.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.472e-06/9.102, allocations: 0 / 4.065 GB, free: 347.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.903e-05/9.102, allocations: 39.55 kB / 4.065 GB, free: 347.3 MB / 1.151 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.001621/9.103, allocations: 1.145 MB / 4.066 GB, free: 346.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/9.104, allocations: 12.03 kB / 4.066 GB, free: 346.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006947/9.104, allocations: 192.2 kB / 4.066 GB, free: 346 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001896/9.106, allocations: 1.091 MB / 4.067 GB, free: 344.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/9.106, allocations: 48.88 kB / 4.067 GB, free: 344.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.756e-05/9.106, allocations: 69.55 kB / 4.067 GB, free: 344.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008286/9.107, allocations: 0.7324 MB / 4.068 GB, free: 344 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/9.107, allocations: 3.938 kB / 4.068 GB, free: 344 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.678e-05/9.107, allocations: 24 kB / 4.068 GB, free: 344 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/9.107, allocations: 12 kB / 4.068 GB, free: 344 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005495/9.108, allocations: 484.5 kB / 4.068 GB, free: 343.5 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.002802/9.111, allocations: 4.592 MB / 4.073 GB, free: 338.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004231/9.111, allocations: 382 kB / 4.073 GB, free: 338.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/9.111, allocations: 225.6 kB / 4.074 GB, free: 338 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002344/9.111, allocations: 190.1 kB / 4.074 GB, free: 337.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003084/9.112, allocations: 270.8 kB / 4.074 GB, free: 337.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.164e-06/9.112, allocations: 0 / 4.074 GB, free: 337.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.001084/9.113, allocations: 0.6691 MB / 4.075 GB, free: 336.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/9.113, allocations: 81.11 kB / 4.075 GB, free: 336.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008917/9.114, allocations: 0.9758 MB / 4.076 GB, free: 335.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/9.114, allocations: 33.7 kB / 4.076 GB, free: 335.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/9.114, allocations: 0.4886 MB / 4.076 GB, free: 335.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.917e-05/9.114, allocations: 113.1 kB / 4.076 GB, free: 335.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/9.114, allocations: 8 kB / 4.076 GB, free: 335.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.214e-05/9.114, allocations: 329.9 kB / 4.077 GB, free: 334.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/9.114, allocations: 160.8 kB / 4.077 GB, free: 334.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003208/9.115, allocations: 490.3 kB / 4.077 GB, free: 334 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/9.115, allocations: 283.5 kB / 4.077 GB, free: 333.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/9.115, allocations: 0 / 4.077 GB, free: 333.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001001/9.116, allocations: 0.8458 MB / 4.078 GB, free: 332.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003488/9.116, allocations: 2.128 MB / 4.08 GB, free: 330.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/9.116, allocations: 7.953 kB / 4.08 GB, free: 330.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004874/9.117, allocations: 258 kB / 4.081 GB, free: 330.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/9.117, allocations: 71.16 kB / 4.081 GB, free: 330.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/9.118, allocations: 1.083 MB / 4.082 GB, free: 329.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007652/9.119, allocations: 114 kB / 4.082 GB, free: 329.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/9.119, allocations: 20 kB / 4.082 GB, free: 329.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/9.119, allocations: 4.188 kB / 4.082 GB, free: 329.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009238/9.12, allocations: 0.6781 MB / 4.083 GB, free: 328.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/9.12, allocations: 7.938 kB / 4.083 GB, free: 328.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004545/9.121, allocations: 220.8 kB / 4.083 GB, free: 328.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/9.121, allocations: 63.19 kB / 4.083 GB, free: 328.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002609/9.123, allocations: 2.96 MB / 4.086 GB, free: 325 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000706/9.124, allocations: 98.25 kB / 4.086 GB, free: 324.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/9.124, allocations: 22.88 kB / 4.086 GB, free: 324.9 MB / 1.151 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001297/9.124, allocations: 148.7 kB / 4.086 GB, free: 324.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.577e-05/9.124, allocations: 102.7 kB / 4.086 GB, free: 324.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009372/9.125, allocations: 0.667 MB / 4.087 GB, free: 324 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/9.125, allocations: 4 kB / 4.087 GB, free: 324 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/9.125, allocations: 1.375 kB / 4.087 GB, free: 324 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/9.125, allocations: 0 / 4.087 GB, free: 324 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/9.127, allocations: 1.576 MB / 4.088 GB, free: 322.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/9.127, allocations: 0 / 4.088 GB, free: 322.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/9.127, allocations: 27.92 kB / 4.088 GB, free: 322.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003972/9.128, allocations: 243 kB / 4.089 GB, free: 322.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/9.128, allocations: 11.98 kB / 4.089 GB, free: 322.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007123/9.129, allocations: 1.027 MB / 4.09 GB, free: 321 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/9.129, allocations: 4 kB / 4.09 GB, free: 321 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007753/9.129, allocations: 0.874 MB / 4.09 GB, free: 320.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003105/9.13, allocations: 223.7 kB / 4.091 GB, free: 319.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.131e-05/9.13, allocations: 8 kB / 4.091 GB, free: 319.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004861/9.13, allocations: 55.88 kB / 4.091 GB, free: 319.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.549e-05/9.13, allocations: 35.95 kB / 4.091 GB, free: 319.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/9.13, allocations: 11.95 kB / 4.091 GB, free: 319.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007964/9.131, allocations: 0.7729 MB / 4.091 GB, free: 318.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/9.131, allocations: 0 / 4.091 GB, free: 318.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001418/9.133, allocations: 0.5075 MB / 4.092 GB, free: 318.4 MB / 1.151 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001107/9.134, allocations: 0.9717 MB / 4.093 GB, free: 317.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001837/9.136, allocations: 1.149 MB / 4.094 GB, free: 316.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/9.136, allocations: 0 / 4.094 GB, free: 316.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004429/9.136, allocations: 264.7 kB / 4.094 GB, free: 316.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/9.138, allocations: 453 kB / 4.095 GB, free: 315.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/9.139, allocations: 1.367 MB / 4.096 GB, free: 314.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/9.14, allocations: 1.202 MB / 4.097 GB, free: 313.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001495/9.141, allocations: 0.7254 MB / 4.098 GB, free: 312.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.854e-05/9.141, allocations: 43.44 kB / 4.098 GB, free: 312.3 MB / 1.151 GB Notification: Performance of SimCode: time 5.11e-07/9.141, allocations: 0 / 4.098 GB, free: 312.3 MB / 1.151 GB Notification: Performance of Templates: time 0.04027/9.182, allocations: 33.83 MB / 4.131 GB, free: 278.7 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches