Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.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.ParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009046/0.0009043, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008903/0.0008904, allocations: 182.6 kB / 16.92 MB, free: 6.918 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.334/1.334, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.657/2.657, allocations: 462.6 MB / 0.7371 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003408, allocations: 9.562 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3219, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp): time 0.1642/0.4862, allocations: 157.3 MB / 1.213 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005167/0.4914, allocations: 3.583 MB / 1.216 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005077/0.492, allocations: 11.88 kB / 1.216 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000661/0.4926, allocations: 135.2 kB / 1.217 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.4942, allocations: 0.498 MB / 1.217 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.4955, allocations: 391.7 kB / 1.217 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00362/0.4992, allocations: 3.516 MB / 1.221 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002869/0.502, allocations: 2.23 MB / 1.223 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001945/0.504, allocations: 0.8985 MB / 1.224 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.5052, allocations: 0.7155 MB / 1.225 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001741/0.5054, allocations: 32 kB / 1.225 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.507, allocations: 0.7912 MB / 1.225 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004031/0.5074, allocations: 286.8 kB / 1.226 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009088/0.5083, allocations: 0.53 MB / 1.226 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.5096, allocations: 1.021 MB / 1.227 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5096, allocations: 0 / 1.227 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5096, allocations: 4 kB / 1.227 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.64e-05/0.5097, allocations: 0 / 1.227 GB, free: 8.402 MB / 0.9825 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.002426/0.5121, allocations: 1.291 MB / 1.228 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.5122, allocations: 15.97 kB / 1.228 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009052/0.5131, allocations: 190.4 kB / 1.229 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.5145, allocations: 0.7984 MB / 1.229 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.072e-05/0.5146, allocations: 49 kB / 1.23 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.5147, allocations: 60 kB / 1.23 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.516, allocations: 0.8277 MB / 1.23 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.5161, allocations: 7.938 kB / 1.23 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.826e-05/0.5161, allocations: 24 kB / 1.23 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.5161, allocations: 12 kB / 1.23 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.5172, allocations: 0.5734 MB / 1.231 GB, free: 4.359 MB / 0.9825 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.004365/0.5215, allocations: 4.251 MB / 1.235 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007758/0.5223, allocations: 454.2 kB / 1.236 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005185/0.5229, allocations: 347.5 kB / 1.236 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003015/0.5232, allocations: 198.1 kB / 1.236 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005684/0.5238, allocations: 327.1 kB / 1.236 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003543/0.5241, allocations: 31.69 kB / 1.236 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.795e-06/0.5241, allocations: 0 / 1.236 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.001535/0.5257, allocations: 0.724 MB / 1.237 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.5257, allocations: 81.11 kB / 1.237 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/0.5272, allocations: 1.155 MB / 1.238 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.18e-05/0.5273, allocations: 37.7 kB / 1.238 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004029/0.5277, allocations: 492.4 kB / 1.239 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.5278, allocations: 114.4 kB / 1.239 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.664e-05/0.5279, allocations: 49.69 kB / 1.239 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.528, allocations: 322 kB / 1.239 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003995/0.5284, allocations: 232.9 kB / 1.24 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006175/0.529, allocations: 0.546 MB / 1.24 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000956/0.53, allocations: 0.6903 MB / 1.241 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.53, allocations: 0 / 1.241 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001295/0.5313, allocations: 0.783 MB / 1.241 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001782/0.5315, allocations: 274.9 kB / 1.242 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.5315, allocations: 7.984 kB / 1.242 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.5316, allocations: 15.94 kB / 1.242 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002121/0.5337, allocations: 355.4 kB / 1.242 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003331/0.537, allocations: 6.098 MB / 1.248 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.5381, allocations: 80 kB / 1.248 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.962e-05/0.5382, allocations: 24 kB / 1.248 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.5382, allocations: 4 kB / 1.248 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001029/0.5392, allocations: 0.5799 MB / 1.249 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.5393, allocations: 15.92 kB / 1.249 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.5393, allocations: 8 kB / 1.249 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006075/0.5399, allocations: 147.8 kB / 1.249 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.5399, allocations: 15.92 kB / 1.249 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009249/0.5408, allocations: 83.83 kB / 1.249 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.567e-05/0.5409, allocations: 23.98 kB / 1.249 GB, free: 0.9258 MB / 0.9981 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 (55): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005739/0.5415, allocations: 478.6 kB / 1.249 GB, free: 460 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/0.5417, allocations: 106.8 kB / 1.25 GB, free: 352 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5597/1.101, allocations: 0.5332 MB / 1.25 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/1.101, allocations: 3.562 kB / 1.25 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/1.101, allocations: 3.812 kB / 1.25 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/1.102, allocations: 2.688 kB / 1.25 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002728/1.104, allocations: 1.509 MB / 1.252 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/1.104, allocations: 2.594 kB / 1.252 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007392/1.105, allocations: 161.8 kB / 1.252 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/1.105, allocations: 4.469 kB / 1.252 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/1.105, allocations: 15.7 kB / 1.252 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/1.107, allocations: 6.022 MB / 1.258 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.107, allocations: 5.75 kB / 1.258 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/1.108, allocations: 0.6712 MB / 1.258 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003902/1.108, allocations: 232.9 kB / 1.259 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/1.108, allocations: 7.906 kB / 1.259 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006288/1.109, allocations: 62.91 kB / 1.259 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.8e-05/1.109, allocations: 34.48 kB / 1.259 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/1.109, allocations: 15.34 kB / 1.259 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001042/1.11, allocations: 0.8175 MB / 1.259 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.11, allocations: 3.938 kB / 1.259 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001053/1.111, allocations: 423.6 kB / 1.26 GB, free: 185.2 MB / 0.9981 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 (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004256/1.112, allocations: 184.7 kB / 1.26 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002997/1.115, allocations: 1.197 MB / 1.261 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.115, allocations: 0 / 1.261 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007461/1.116, allocations: 330.4 kB / 1.262 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003523/1.119, allocations: 0.6295 MB / 1.262 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/1.122, allocations: 2.247 MB / 1.264 GB, free: 184 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000605/1.123, allocations: 1.186 MB / 1.265 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/1.123, allocations: 69.62 kB / 1.266 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of SimCode: time 8.01e-07/1.123, allocations: 4 kB / 1.266 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.06162/1.184, allocations: 65.59 MB / 1.33 GB, free: 137 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches