Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_11_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_11_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.001568/0.001568, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001607/0.001607, allocations: 196.1 kB / 16.91 MB, free: 6.195 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.4/1.4, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.674/2.674, allocations: 469.8 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 67.89 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3158, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.7149/1.031, allocations: 159.4 MB / 1.22 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005129/1.036, allocations: 3.593 MB / 1.223 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003919/1.036, allocations: 10.34 kB / 1.223 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006226/1.037, allocations: 136.3 kB / 1.223 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001411/1.038, allocations: 0.493 MB / 1.224 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001218/1.04, allocations: 398.3 kB / 1.224 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002816/1.043, allocations: 2.56 MB / 1.227 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/1.044, allocations: 0.9111 MB / 1.228 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001811/1.046, allocations: 1.066 MB / 1.229 GB, free: 480 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009122/1.046, allocations: 0.7485 MB / 1.229 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/1.047, allocations: 56 kB / 1.23 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/1.048, allocations: 0.7522 MB / 1.23 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003392/1.049, allocations: 310.9 kB / 1.231 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006791/1.049, allocations: 0.5518 MB / 1.231 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/1.05, allocations: 1.037 MB / 1.232 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/1.05, allocations: 0 / 1.232 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.402e-06/1.05, allocations: 0 / 1.232 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.198e-05/1.051, allocations: 0 / 1.232 GB, free: 13.21 MB / 0.9512 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.002389/1.053, allocations: 1.459 MB / 1.234 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/1.053, allocations: 8.031 kB / 1.234 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000743/1.054, allocations: 186.5 kB / 1.234 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/1.055, allocations: 0.8061 MB / 1.235 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.08e-05/1.055, allocations: 45.88 kB / 1.235 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.445e-05/1.055, allocations: 60 kB / 1.235 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/1.056, allocations: 0.7926 MB / 1.235 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/1.057, allocations: 3.938 kB / 1.235 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.029e-05/1.057, allocations: 27.98 kB / 1.235 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/1.057, allocations: 12 kB / 1.235 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009597/1.058, allocations: 0.5344 MB / 1.236 GB, free: 9.09 MB / 0.9512 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.004616/1.062, allocations: 4.58 MB / 1.24 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00076/1.063, allocations: 418.3 kB / 1.241 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000404/1.063, allocations: 248.7 kB / 1.241 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000324/1.064, allocations: 194.2 kB / 1.241 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005695/1.064, allocations: 307.3 kB / 1.242 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 2.505e-06/1.064, allocations: 0 / 1.242 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of matching and sorting (n=31): time 0.005237/1.07, allocations: 1.644 MB / 1.243 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/1.07, allocations: 81.11 kB / 1.243 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/1.071, allocations: 1.118 MB / 1.244 GB, free: 12 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.494e-05/1.071, allocations: 41.7 kB / 1.244 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004811/1.072, allocations: 484.2 kB / 1.245 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/1.072, allocations: 114.5 kB / 1.245 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/1.072, allocations: 110 kB / 1.245 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.072, allocations: 322 kB / 1.245 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/1.073, allocations: 210.4 kB / 1.246 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006988/1.073, allocations: 0.5253 MB / 1.246 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009521/1.074, allocations: 0.6316 MB / 1.247 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.074, allocations: 0 / 1.247 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002434/1.077, allocations: 1.048 MB / 1.248 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.921e-05/1.077, allocations: 40.03 kB / 1.248 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/1.077, allocations: 8.625 kB / 1.248 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/1.078, allocations: 391.6 kB / 1.248 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/1.079, allocations: 55.91 kB / 1.248 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/1.08, allocations: 1.083 MB / 1.249 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008866/1.081, allocations: 99.31 kB / 1.249 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-05/1.081, allocations: 27.98 kB / 1.249 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007841/1.082, allocations: 0.4929 MB / 1.25 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006627/1.082, allocations: 0.4901 MB / 1.25 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008228/1.083, allocations: 0.5489 MB / 1.251 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.17e-06/1.083, allocations: 4 kB / 1.251 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001677/1.085, allocations: 0.8316 MB / 1.252 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/1.085, allocations: 37.89 kB / 1.252 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.085, allocations: 8.062 kB / 1.252 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005566/1.086, allocations: 222.8 kB / 1.252 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/1.086, allocations: 59.84 kB / 1.252 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004112/1.09, allocations: 3.266 MB / 1.255 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008365/1.091, allocations: 88.02 kB / 1.255 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/1.091, allocations: 23.98 kB / 1.255 GB, free: 4.121 MB / 0.9669 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.0002457/1.091, allocations: 220.1 kB / 1.255 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/1.091, allocations: 98.78 kB / 1.256 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/1.093, allocations: 0.7024 MB / 1.256 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/1.093, allocations: 8 kB / 1.256 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/1.093, allocations: 0 / 1.256 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/1.093, allocations: 0 / 1.256 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002555/1.095, allocations: 1.605 MB / 1.258 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/1.095, allocations: 3.984 kB / 1.258 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/1.096, allocations: 23.92 kB / 1.258 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005402/1.096, allocations: 255.1 kB / 1.258 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/1.096, allocations: 11.94 kB / 1.258 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001164/1.097, allocations: 1.027 MB / 1.259 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.097, allocations: 0 / 1.259 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/1.099, allocations: 0.8409 MB / 1.26 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003716/1.099, allocations: 215.8 kB / 1.26 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/1.099, allocations: 12 kB / 1.26 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004755/1.1, allocations: 39.95 kB / 1.26 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.532e-05/1.1, allocations: 39.89 kB / 1.26 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/1.1, allocations: 8 kB / 1.26 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001087/1.101, allocations: 0.7955 MB / 1.261 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/1.101, allocations: 0 / 1.261 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001314/1.102, allocations: 439.4 kB / 1.261 GB, free: 13.61 MB / 0.9825 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.000474/1.103, allocations: 175.2 kB / 1.262 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002638/1.105, allocations: 1.22 MB / 1.263 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.105, allocations: 0 / 1.263 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006062/1.106, allocations: 283.2 kB / 1.263 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/1.108, allocations: 461.4 kB / 1.263 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003164/1.111, allocations: 2.128 MB / 1.266 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008823/1.112, allocations: 1.181 MB / 1.267 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/1.112, allocations: 67.42 kB / 1.267 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/1.112, allocations: 0 / 1.267 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of Templates: time 0.03063/1.143, allocations: 20.47 MB / 1.287 GB, free: 3.621 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches