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.00789/0.00789, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001888/0.001888, allocations: 196.3 kB / 16.67 MB, free: 5.52 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.356/1.356, allocations: 222.9 MB / 240.4 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.528/2.528, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.00116, allocations: 59.89 kB / 1.054 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8738/0.875, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1698/1.045, allocations: 161.6 MB / 1.366 GB, free: 11.38 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.005233/1.05, allocations: 3.622 MB / 1.369 GB, free: 7.742 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005392/1.051, allocations: 11.94 kB / 1.369 GB, free: 7.73 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006452/1.051, allocations: 166.9 kB / 1.369 GB, free: 7.566 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001526/1.053, allocations: 0.5211 MB / 1.37 GB, free: 7.043 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001311/1.054, allocations: 441.9 kB / 1.37 GB, free: 6.617 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002609/1.057, allocations: 2.543 MB / 1.373 GB, free: 4.066 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/1.058, allocations: 0.9372 MB / 1.374 GB, free: 3.113 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001656/1.06, allocations: 1.039 MB / 1.375 GB, free: 2.07 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008354/1.061, allocations: 0.7117 MB / 1.375 GB, free: 1.355 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001154/1.061, allocations: 52 kB / 1.375 GB, free: 1.305 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/1.062, allocations: 0.7445 MB / 1.376 GB, free: 0.5586 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002797/1.062, allocations: 306.9 kB / 1.376 GB, free: 264 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005886/1.063, allocations: 0.544 MB / 1.377 GB, free: 15.71 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001623/1.065, allocations: 1.396 MB / 1.378 GB, free: 14.31 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.065, allocations: 0 / 1.378 GB, free: 14.31 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.122e-06/1.065, allocations: 0 / 1.378 GB, free: 14.31 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.843e-05/1.065, allocations: 0 / 1.378 GB, free: 14.31 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.002345/1.067, allocations: 1.451 MB / 1.38 GB, free: 12.8 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/1.067, allocations: 12.03 kB / 1.38 GB, free: 12.79 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000757/1.068, allocations: 194.3 kB / 1.38 GB, free: 12.6 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/1.069, allocations: 0.853 MB / 1.381 GB, free: 11.69 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/1.069, allocations: 41 kB / 1.381 GB, free: 11.65 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.781e-05/1.069, allocations: 60 kB / 1.381 GB, free: 11.59 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/1.07, allocations: 0.7926 MB / 1.382 GB, free: 10.72 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/1.07, allocations: 3.938 kB / 1.382 GB, free: 10.72 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.356e-05/1.07, allocations: 27.98 kB / 1.382 GB, free: 10.69 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/1.07, allocations: 12 kB / 1.382 GB, free: 10.68 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008802/1.071, allocations: 0.5305 MB / 1.382 GB, free: 10.15 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.003734/1.075, allocations: 4.587 MB / 1.387 GB, free: 5.18 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006979/1.076, allocations: 430.3 kB / 1.387 GB, free: 4.75 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003749/1.076, allocations: 243.8 kB / 1.387 GB, free: 4.512 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002827/1.076, allocations: 190.2 kB / 1.387 GB, free: 4.289 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000483/1.077, allocations: 309.3 kB / 1.388 GB, free: 3.969 MB / 1.107 GB Notification: Performance of pre-optimization done (n=31): time 2.024e-06/1.077, allocations: 0 / 1.388 GB, free: 3.969 MB / 1.107 GB Notification: Performance of matching and sorting (n=31): time 0.004884/1.082, allocations: 1.648 MB / 1.389 GB, free: 2.289 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/1.082, allocations: 85.11 kB / 1.389 GB, free: 2.188 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/1.083, allocations: 1.114 MB / 1.391 GB, free: 1.055 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/1.083, allocations: 41.7 kB / 1.391 GB, free: 1.008 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003668/1.084, allocations: 488.2 kB / 1.391 GB, free: 0.5273 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.819e-05/1.084, allocations: 106.5 kB / 1.391 GB, free: 432 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/1.084, allocations: 113.9 kB / 1.391 GB, free: 312 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.084, allocations: 330 kB / 1.392 GB, free: 15.98 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/1.084, allocations: 218.4 kB / 1.392 GB, free: 15.76 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006004/1.085, allocations: 0.5096 MB / 1.392 GB, free: 15.12 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008706/1.086, allocations: 0.6355 MB / 1.393 GB, free: 14.4 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.086, allocations: 0 / 1.393 GB, free: 14.4 MB / 1.123 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002149/1.088, allocations: 1.041 MB / 1.394 GB, free: 13.34 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/1.088, allocations: 39.67 kB / 1.394 GB, free: 13.3 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/1.088, allocations: 8 kB / 1.394 GB, free: 13.29 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/1.089, allocations: 380.2 kB / 1.394 GB, free: 12.92 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/1.09, allocations: 59.91 kB / 1.394 GB, free: 12.86 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/1.091, allocations: 1.084 MB / 1.395 GB, free: 11.75 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006844/1.092, allocations: 71.41 kB / 1.395 GB, free: 11.68 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.847e-05/1.092, allocations: 31.92 kB / 1.396 GB, free: 11.65 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007132/1.093, allocations: 0.4967 MB / 1.396 GB, free: 11.15 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005651/1.093, allocations: 496.4 kB / 1.396 GB, free: 10.53 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007292/1.094, allocations: 0.5567 MB / 1.397 GB, free: 9.895 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.19e-06/1.094, allocations: 8 kB / 1.397 GB, free: 9.887 MB / 1.123 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001471/1.095, allocations: 0.8306 MB / 1.398 GB, free: 9.039 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/1.095, allocations: 33.7 kB / 1.398 GB, free: 9 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.095, allocations: 8.047 kB / 1.398 GB, free: 8.992 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005275/1.096, allocations: 224.7 kB / 1.398 GB, free: 8.77 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/1.096, allocations: 63.84 kB / 1.398 GB, free: 8.707 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003661/1.1, allocations: 3.251 MB / 1.401 GB, free: 5.305 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006716/1.101, allocations: 75.91 kB / 1.401 GB, free: 5.23 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/1.101, allocations: 28 kB / 1.401 GB, free: 5.203 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.0001942/1.101, allocations: 212.3 kB / 1.402 GB, free: 4.988 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/1.101, allocations: 102.8 kB / 1.402 GB, free: 4.887 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/1.102, allocations: 0.7024 MB / 1.402 GB, free: 4.176 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/1.102, allocations: 4 kB / 1.402 GB, free: 4.172 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/1.102, allocations: 0 / 1.402 GB, free: 4.172 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/1.102, allocations: 3.984 kB / 1.402 GB, free: 4.168 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/1.105, allocations: 1.599 MB / 1.404 GB, free: 2.484 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/1.105, allocations: 0 / 1.404 GB, free: 2.484 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/1.105, allocations: 23.92 kB / 1.404 GB, free: 2.461 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004804/1.105, allocations: 255.7 kB / 1.404 GB, free: 2.211 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/1.105, allocations: 11.94 kB / 1.404 GB, free: 2.199 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009643/1.106, allocations: 1.026 MB / 1.405 GB, free: 1.148 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/1.106, allocations: 0 / 1.405 GB, free: 1.148 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/1.107, allocations: 0.8253 MB / 1.406 GB, free: 288 kB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003141/1.108, allocations: 223.8 kB / 1.406 GB, free: 44 kB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/1.108, allocations: 11.98 kB / 1.406 GB, free: 32 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004361/1.108, allocations: 19.98 kB / 1.406 GB, free: 12 kB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-05/1.109, allocations: 31.89 kB / 1.406 GB, free: 15.98 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/1.109, allocations: 12 kB / 1.406 GB, free: 15.97 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00103/1.11, allocations: 0.7916 MB / 1.407 GB, free: 15.17 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/1.11, allocations: 0 / 1.407 GB, free: 15.17 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001218/1.111, allocations: 439.4 kB / 1.408 GB, free: 14.74 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.0003793/1.111, allocations: 164 kB / 1.408 GB, free: 14.57 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002457/1.114, allocations: 1.22 MB / 1.409 GB, free: 13.32 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.114, allocations: 0 / 1.409 GB, free: 13.32 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006086/1.114, allocations: 281.4 kB / 1.409 GB, free: 13.05 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/1.116, allocations: 465.7 kB / 1.41 GB, free: 12.6 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002832/1.119, allocations: 1.77 MB / 1.411 GB, free: 10.78 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007478/1.12, allocations: 1.181 MB / 1.412 GB, free: 9.566 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007635/1.121, allocations: 323.8 kB / 1.413 GB, free: 9.246 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/1.121, allocations: 59.44 kB / 1.413 GB, free: 9.188 MB / 1.139 GB Notification: Performance of SimCode: time 4.91e-07/1.121, allocations: 0 / 1.413 GB, free: 9.188 MB / 1.139 GB Notification: Performance of Templates: time 0.03154/1.152, allocations: 19.41 MB / 1.432 GB, free: 5.957 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/jenkins/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