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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001459/0.001459, allocations: 110.7 kB / 16.37 MB, free: 6.438 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.001513/0.001513, allocations: 197.8 kB / 17.31 MB, free: 5.777 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.427/2.427, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001302, allocations: 64.03 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2986, allocations: 153 MB / 1.027 GB, free: 2.098 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.6994/0.998, allocations: 161.6 MB / 1.185 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005992/1.004, allocations: 3.616 MB / 1.188 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004573/1.005, allocations: 11.47 kB / 1.188 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005988/1.005, allocations: 159.4 kB / 1.188 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001511/1.007, allocations: 0.5317 MB / 1.189 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001292/1.008, allocations: 441.3 kB / 1.189 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002866/1.011, allocations: 2.538 MB / 1.192 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/1.012, allocations: 0.9411 MB / 1.193 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001811/1.014, allocations: 1.043 MB / 1.194 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/1.015, allocations: 0.6939 MB / 1.194 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/1.015, allocations: 54.53 kB / 1.194 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/1.017, allocations: 0.7417 MB / 1.195 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003058/1.017, allocations: 305.8 kB / 1.195 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006848/1.018, allocations: 0.5497 MB / 1.196 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001555/1.019, allocations: 1.402 MB / 1.197 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/1.019, allocations: 0 / 1.197 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.022e-06/1.019, allocations: 4 kB / 1.197 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.266e-05/1.019, allocations: 0 / 1.197 GB, free: 9.848 MB / 0.9044 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.002152/1.021, allocations: 1.446 MB / 1.199 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/1.021, allocations: 12.84 kB / 1.199 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000734/1.022, allocations: 190.7 kB / 1.199 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/1.024, allocations: 0.8503 MB / 1.2 GB, free: 8.016 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/1.024, allocations: 41.31 kB / 1.2 GB, free: 8 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.28e-05/1.024, allocations: 60.41 kB / 1.2 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/1.025, allocations: 0.7939 MB / 1.201 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/1.025, allocations: 6.672 kB / 1.201 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.906e-05/1.025, allocations: 20.81 kB / 1.201 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/1.025, allocations: 14.75 kB / 1.201 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008257/1.026, allocations: 0.5401 MB / 1.201 GB, free: 7.121 MB / 0.9044 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.003994/1.03, allocations: 4.589 MB / 1.206 GB, free: 2.816 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006313/1.03, allocations: 412.2 kB / 1.206 GB, free: 2.613 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003588/1.031, allocations: 246.4 kB / 1.206 GB, free: 2.492 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002931/1.031, allocations: 196.3 kB / 1.206 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004667/1.031, allocations: 294 kB / 1.207 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=31): time 1.733e-06/1.031, allocations: 3.938 kB / 1.207 GB, free: 2.094 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31): time 0.004772/1.036, allocations: 1.647 MB / 1.208 GB, free: 1.18 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/1.036, allocations: 85.52 kB / 1.208 GB, free: 1.082 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/1.038, allocations: 1.123 MB / 1.21 GB, free: 488 kB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/1.038, allocations: 37.05 kB / 1.21 GB, free: 452 kB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003525/1.038, allocations: 488.2 kB / 1.21 GB, free: 28 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/1.038, allocations: 115.8 kB / 1.21 GB, free: 15.93 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/1.038, allocations: 108.8 kB / 1.21 GB, free: 15.87 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001113/1.038, allocations: 325.6 kB / 1.211 GB, free: 15.55 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/1.039, allocations: 211.6 kB / 1.211 GB, free: 15.45 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005633/1.039, allocations: 0.518 MB / 1.211 GB, free: 14.95 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007918/1.04, allocations: 0.6274 MB / 1.212 GB, free: 14.48 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.04, allocations: 2.219 kB / 1.212 GB, free: 14.48 MB / 0.92 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002104/1.042, allocations: 1.043 MB / 1.213 GB, free: 13.91 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/1.042, allocations: 33.42 kB / 1.213 GB, free: 13.88 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/1.042, allocations: 4.844 kB / 1.213 GB, free: 13.88 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/1.044, allocations: 387.5 kB / 1.213 GB, free: 13.6 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/1.044, allocations: 59.84 kB / 1.213 GB, free: 13.54 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/1.045, allocations: 1.078 MB / 1.214 GB, free: 12.44 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006395/1.046, allocations: 75.48 kB / 1.214 GB, free: 12.37 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.864e-05/1.046, allocations: 20 kB / 1.214 GB, free: 12.35 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006817/1.047, allocations: 0.5103 MB / 1.215 GB, free: 11.84 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005309/1.047, allocations: 490 kB / 1.215 GB, free: 11.22 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006967/1.048, allocations: 0.5608 MB / 1.216 GB, free: 10.58 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.428e-06/1.048, allocations: 4 kB / 1.216 GB, free: 10.58 MB / 0.92 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001422/1.049, allocations: 0.8376 MB / 1.217 GB, free: 9.723 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/1.049, allocations: 37.69 kB / 1.217 GB, free: 9.68 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.049, allocations: 8 kB / 1.217 GB, free: 9.672 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005148/1.05, allocations: 209.3 kB / 1.217 GB, free: 9.465 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/1.05, allocations: 64.08 kB / 1.217 GB, free: 9.402 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003611/1.054, allocations: 3.256 MB / 1.22 GB, free: 5.996 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006698/1.054, allocations: 75.84 kB / 1.22 GB, free: 5.922 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/1.054, allocations: 23.98 kB / 1.22 GB, free: 5.898 MB / 0.92 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.0002042/1.055, allocations: 231.9 kB / 1.221 GB, free: 5.664 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/1.055, allocations: 98.78 kB / 1.221 GB, free: 5.566 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/1.056, allocations: 0.7025 MB / 1.221 GB, free: 4.848 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/1.056, allocations: 4 kB / 1.221 GB, free: 4.844 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/1.056, allocations: 4 kB / 1.221 GB, free: 4.84 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.056, allocations: 0 / 1.221 GB, free: 4.84 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/1.058, allocations: 1.604 MB / 1.223 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/1.058, allocations: 4.219 kB / 1.223 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/1.058, allocations: 27.92 kB / 1.223 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005162/1.059, allocations: 238.4 kB / 1.223 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/1.059, allocations: 8 kB / 1.223 GB, free: 2.883 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/1.06, allocations: 1.038 MB / 1.224 GB, free: 1.82 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.06, allocations: 0 / 1.224 GB, free: 1.82 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/1.061, allocations: 0.8293 MB / 1.225 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003915/1.062, allocations: 215.8 kB / 1.225 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/1.062, allocations: 8 kB / 1.225 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/1.062, allocations: 23.97 kB / 1.225 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.04e-05/1.062, allocations: 35.77 kB / 1.225 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/1.062, allocations: 16 kB / 1.225 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001098/1.063, allocations: 0.7916 MB / 1.226 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/1.063, allocations: 0 / 1.226 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001271/1.065, allocations: 431.5 kB / 1.227 GB, free: 15.41 MB / 0.9356 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.0004124/1.065, allocations: 184.7 kB / 1.227 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002539/1.068, allocations: 1.209 MB / 1.228 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/1.068, allocations: 0 / 1.228 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000619/1.068, allocations: 288.8 kB / 1.228 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/1.07, allocations: 449.5 kB / 1.229 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002855/1.073, allocations: 1.776 MB / 1.23 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000805/1.074, allocations: 1.184 MB / 1.231 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000815/1.075, allocations: 315.8 kB / 1.232 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/1.075, allocations: 59.44 kB / 1.232 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of SimCode: time 7.11e-07/1.075, allocations: 0 / 1.232 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of Templates: time 0.03167/1.107, allocations: 19.26 MB / 1.251 GB, free: 6.781 MB / 0.9512 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 -s cvode -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