Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 106.8 kB / 16.41 MB, free: 6.508 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.001097/0.001097, allocations: 187 kB / 17.34 MB, free: 5.742 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.573/2.573, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 64.12 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.833/0.8343, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1703/1.005, allocations: 161.6 MB / 1.366 GB, free: 11.41 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.004984/1.01, allocations: 3.628 MB / 1.37 GB, free: 7.77 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003604/1.01, allocations: 11.94 kB / 1.37 GB, free: 7.758 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005818/1.011, allocations: 162.9 kB / 1.37 GB, free: 7.598 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001257/1.012, allocations: 0.5211 MB / 1.37 GB, free: 7.074 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/1.013, allocations: 438.5 kB / 1.371 GB, free: 6.648 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002661/1.016, allocations: 2.543 MB / 1.373 GB, free: 4.102 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/1.017, allocations: 0.9294 MB / 1.374 GB, free: 3.156 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001691/1.019, allocations: 1.043 MB / 1.375 GB, free: 2.109 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/1.02, allocations: 0.7156 MB / 1.376 GB, free: 1.391 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000218/1.02, allocations: 52 kB / 1.376 GB, free: 1.34 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/1.022, allocations: 0.7367 MB / 1.377 GB, free: 0.6016 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004042/1.022, allocations: 310.9 kB / 1.377 GB, free: 304 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009001/1.023, allocations: 0.544 MB / 1.378 GB, free: 15.75 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001727/1.025, allocations: 1.404 MB / 1.379 GB, free: 14.34 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/1.025, allocations: 0 / 1.379 GB, free: 14.34 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.603e-06/1.025, allocations: 0 / 1.379 GB, free: 14.34 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.443e-05/1.025, allocations: 0 / 1.379 GB, free: 14.34 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.0021/1.027, allocations: 1.449 MB / 1.38 GB, free: 12.84 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/1.027, allocations: 12.03 kB / 1.38 GB, free: 12.82 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007293/1.028, allocations: 198.3 kB / 1.381 GB, free: 12.63 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/1.029, allocations: 0.8492 MB / 1.381 GB, free: 11.72 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/1.029, allocations: 41 kB / 1.381 GB, free: 11.68 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.914e-05/1.029, allocations: 60 kB / 1.381 GB, free: 11.62 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/1.03, allocations: 0.8042 MB / 1.382 GB, free: 10.75 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/1.03, allocations: 0 / 1.382 GB, free: 10.75 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.454e-05/1.03, allocations: 24 kB / 1.382 GB, free: 10.72 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/1.03, allocations: 12 kB / 1.382 GB, free: 10.71 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000877/1.031, allocations: 0.5305 MB / 1.383 GB, free: 10.18 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.003715/1.035, allocations: 4.591 MB / 1.387 GB, free: 5.207 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000707/1.035, allocations: 422.2 kB / 1.388 GB, free: 4.785 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003855/1.036, allocations: 246.7 kB / 1.388 GB, free: 4.543 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002879/1.036, allocations: 186.2 kB / 1.388 GB, free: 4.324 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004836/1.037, allocations: 309.3 kB / 1.388 GB, free: 4.004 MB / 1.107 GB Notification: Performance of pre-optimization done (n=31): time 1.703e-06/1.037, allocations: 0 / 1.388 GB, free: 4.004 MB / 1.107 GB Notification: Performance of matching and sorting (n=31): time 0.004851/1.042, allocations: 1.652 MB / 1.39 GB, free: 2.32 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/1.042, allocations: 81.11 kB / 1.39 GB, free: 2.223 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/1.043, allocations: 1.118 MB / 1.391 GB, free: 1.086 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.429e-05/1.043, allocations: 45.64 kB / 1.391 GB, free: 1.035 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003797/1.043, allocations: 484.2 kB / 1.392 GB, free: 0.5586 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.305e-05/1.043, allocations: 110.5 kB / 1.392 GB, free: 460 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/1.044, allocations: 113.9 kB / 1.392 GB, free: 340 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001123/1.044, allocations: 330 kB / 1.392 GB, free: 4 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/1.044, allocations: 210.6 kB / 1.392 GB, free: 15.79 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005913/1.045, allocations: 0.5174 MB / 1.393 GB, free: 15.14 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008682/1.046, allocations: 0.6393 MB / 1.394 GB, free: 14.43 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/1.046, allocations: 0 / 1.394 GB, free: 14.43 MB / 1.123 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002172/1.048, allocations: 1.033 MB / 1.395 GB, free: 13.38 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.388e-05/1.048, allocations: 33.7 kB / 1.395 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/1.048, allocations: 8 kB / 1.395 GB, free: 13.33 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/1.049, allocations: 386.6 kB / 1.395 GB, free: 12.95 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/1.049, allocations: 63.84 kB / 1.395 GB, free: 12.89 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/1.051, allocations: 1.08 MB / 1.396 GB, free: 11.78 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006943/1.052, allocations: 75.39 kB / 1.396 GB, free: 11.71 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.655e-05/1.052, allocations: 27.94 kB / 1.396 GB, free: 11.68 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007296/1.052, allocations: 0.4967 MB / 1.397 GB, free: 11.18 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005538/1.053, allocations: 494 kB / 1.397 GB, free: 10.56 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007572/1.054, allocations: 0.5606 MB / 1.398 GB, free: 9.918 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.939e-06/1.054, allocations: 4 kB / 1.398 GB, free: 9.914 MB / 1.123 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001551/1.055, allocations: 0.8263 MB / 1.399 GB, free: 9.07 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/1.055, allocations: 35.89 kB / 1.399 GB, free: 9.031 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/1.055, allocations: 7.984 kB / 1.399 GB, free: 9.023 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000545/1.056, allocations: 219.4 kB / 1.399 GB, free: 8.809 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/1.056, allocations: 59.91 kB / 1.399 GB, free: 8.75 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003749/1.06, allocations: 3.259 MB / 1.402 GB, free: 5.34 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006788/1.061, allocations: 75.97 kB / 1.402 GB, free: 5.266 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.184e-05/1.061, allocations: 23.98 kB / 1.402 GB, free: 5.242 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 {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001971/1.061, allocations: 216.1 kB / 1.402 GB, free: 5.023 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/1.061, allocations: 98.78 kB / 1.402 GB, free: 4.926 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/1.062, allocations: 0.7103 MB / 1.403 GB, free: 4.207 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/1.062, allocations: 4 kB / 1.403 GB, free: 4.203 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/1.062, allocations: 0 / 1.403 GB, free: 4.203 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.062, allocations: 0 / 1.403 GB, free: 4.203 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002433/1.065, allocations: 1.593 MB / 1.405 GB, free: 2.527 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/1.065, allocations: 0 / 1.405 GB, free: 2.527 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/1.065, allocations: 24.19 kB / 1.405 GB, free: 2.504 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004786/1.066, allocations: 258.9 kB / 1.405 GB, free: 2.25 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/1.066, allocations: 11.94 kB / 1.405 GB, free: 2.238 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/1.067, allocations: 1.036 MB / 1.406 GB, free: 1.176 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.067, allocations: 0 / 1.406 GB, free: 1.176 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/1.068, allocations: 0.8252 MB / 1.407 GB, free: 316 kB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003158/1.068, allocations: 215.8 kB / 1.407 GB, free: 80 kB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/1.068, allocations: 8 kB / 1.407 GB, free: 72 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000437/1.069, allocations: 27.91 kB / 1.407 GB, free: 44 kB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.813e-05/1.069, allocations: 27.91 kB / 1.407 GB, free: 16 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/1.069, allocations: 12 kB / 1.407 GB, free: 4 kB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00104/1.07, allocations: 0.7956 MB / 1.408 GB, free: 15.2 MB / 1.139 GB Notification: Performance of sort global known variables: time 4.41e-07/1.07, allocations: 0 / 1.408 GB, free: 15.2 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001192/1.071, allocations: 435.4 kB / 1.408 GB, free: 14.77 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 {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004423/1.072, allocations: 178.9 kB / 1.408 GB, free: 14.59 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002501/1.074, allocations: 1.216 MB / 1.41 GB, free: 13.35 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.074, allocations: 4 kB / 1.41 GB, free: 13.35 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006206/1.075, allocations: 276.1 kB / 1.41 GB, free: 13.08 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/1.077, allocations: 451.1 kB / 1.41 GB, free: 12.64 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/1.08, allocations: 1.829 MB / 1.412 GB, free: 10.75 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008741/1.081, allocations: 1.184 MB / 1.413 GB, free: 9.539 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/1.081, allocations: 59.44 kB / 1.413 GB, free: 9.48 MB / 1.139 GB Notification: Performance of SimCode: time 8.02e-07/1.081, allocations: 0 / 1.413 GB, free: 9.48 MB / 1.139 GB Notification: Performance of Templates: time 0.02804/1.109, allocations: 20.55 MB / 1.433 GB, free: 5.016 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches