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.0008003/0.0008003, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008642/0.0008643, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.793/2.793, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.000315, allocations: 11.34 kB / 0.9021 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2969, allocations: 159.6 MB / 1.058 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp): time 0.1633/0.4603, allocations: 146.7 MB / 1.201 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004477/0.4648, allocations: 3.387 MB / 1.205 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003363/0.4652, allocations: 7.938 kB / 1.205 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004904/0.4657, allocations: 107.2 kB / 1.205 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.4668, allocations: 390.1 kB / 1.205 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.468, allocations: 380.1 kB / 1.205 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003222/0.4712, allocations: 3.019 MB / 1.208 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002682/0.4739, allocations: 2.149 MB / 1.211 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001956/0.4759, allocations: 0.8676 MB / 1.211 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000911/0.4768, allocations: 0.704 MB / 1.212 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.189e-05/0.4769, allocations: 36 kB / 1.212 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.4781, allocations: 0.5535 MB / 1.213 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002798/0.4784, allocations: 286.9 kB / 1.213 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003096/0.4787, allocations: 229.1 kB / 1.213 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.4798, allocations: 1.037 MB / 1.214 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.4798, allocations: 4 kB / 1.214 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.547e-06/0.4798, allocations: 0 / 1.214 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.4799, allocations: 3.938 kB / 1.214 GB, free: 4.988 MB / 0.9669 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.002114/0.482, allocations: 1.331 MB / 1.215 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.482, allocations: 8.031 kB / 1.215 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008001/0.4828, allocations: 190.5 kB / 1.216 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.4842, allocations: 0.7886 MB / 1.216 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.41e-05/0.4842, allocations: 49 kB / 1.216 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.669e-05/0.4843, allocations: 60 kB / 1.217 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.4856, allocations: 0.8354 MB / 1.217 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.4856, allocations: 0 / 1.217 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.376e-05/0.4857, allocations: 27.94 kB / 1.217 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.4857, allocations: 12 kB / 1.217 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009445/0.4866, allocations: 0.5696 MB / 1.218 GB, free: 0.9258 MB / 0.9669 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.00375/0.4904, allocations: 4.258 MB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007377/0.4911, allocations: 451.1 kB / 1.223 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004956/0.4916, allocations: 353.3 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002861/0.4919, allocations: 186.2 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005375/0.4925, allocations: 331.1 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001966/0.4927, allocations: 27.69 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 2.595e-06/0.4927, allocations: 0 / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.0014/0.4941, allocations: 0.7203 MB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.4942, allocations: 85.05 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.4955, allocations: 1.155 MB / 1.225 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.84e-05/0.4956, allocations: 37.7 kB / 1.225 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003959/0.496, allocations: 492.5 kB / 1.226 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.174e-05/0.4961, allocations: 118.4 kB / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.4961, allocations: 8 kB / 1.226 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.4962, allocations: 326.1 kB / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003622/0.4966, allocations: 208.9 kB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00059/0.4972, allocations: 0.5226 MB / 1.227 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004787/0.4977, allocations: 310.4 kB / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.4977, allocations: 4 kB / 1.227 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001166/0.4989, allocations: 0.7282 MB / 1.228 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001953/0.4991, allocations: 275.1 kB / 1.228 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.4991, allocations: 12 kB / 1.228 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.4992, allocations: 8 kB / 1.228 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001983/0.5011, allocations: 391.4 kB / 1.229 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003134/0.5043, allocations: 6.095 MB / 1.235 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008516/0.5052, allocations: 84 kB / 1.235 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-05/0.5052, allocations: 31.97 kB / 1.235 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.5052, allocations: 6.031 kB / 1.235 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009676/0.5062, allocations: 0.5874 MB / 1.235 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5062, allocations: 7.938 kB / 1.235 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.5063, allocations: 8 kB / 1.235 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006186/0.5069, allocations: 163.7 kB / 1.235 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.5069, allocations: 8.25 kB / 1.235 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007282/0.5076, allocations: 87.84 kB / 1.235 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.5077, allocations: 20 kB / 1.236 GB, free: 14.04 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * 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 (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005356/0.5082, allocations: 472.6 kB / 1.236 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.5084, allocations: 106.7 kB / 1.236 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009864/0.5093, allocations: 0.5583 MB / 1.237 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/0.5094, allocations: 4 kB / 1.237 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5094, allocations: 0 / 1.237 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.5094, allocations: 0 / 1.237 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.5115, allocations: 1.507 MB / 1.238 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.5115, allocations: 8.219 kB / 1.238 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006862/0.5122, allocations: 155.7 kB / 1.238 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.5122, allocations: 7.938 kB / 1.238 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.5122, allocations: 12 kB / 1.238 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002688/0.5149, allocations: 6.024 MB / 1.244 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5149, allocations: 288 / 1.244 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00094/0.5159, allocations: 0.6781 MB / 1.245 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003554/0.5163, allocations: 235.7 kB / 1.245 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.5164, allocations: 11.94 kB / 1.245 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005991/0.517, allocations: 63.83 kB / 1.245 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.304e-05/0.5171, allocations: 39.91 kB / 1.245 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.5171, allocations: 8 kB / 1.245 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00103/0.5182, allocations: 0.812 MB / 1.246 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5182, allocations: 4 kB / 1.246 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001162/0.5193, allocations: 427.5 kB / 1.246 GB, free: 2.547 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 (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004008/0.5197, allocations: 181.1 kB / 1.247 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003183/0.5229, allocations: 1.191 MB / 1.248 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.523, allocations: 0 / 1.248 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008407/0.5238, allocations: 344.5 kB / 1.248 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00303/0.5268, allocations: 0.636 MB / 1.249 GB, free: 196 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5081/1.035, allocations: 2.097 MB / 1.251 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008442/1.036, allocations: 1.186 MB / 1.252 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001271/1.037, allocations: 400 kB / 1.252 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/1.037, allocations: 65 kB / 1.252 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.303e-06/1.037, allocations: 3.828 kB / 1.252 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.03803/1.075, allocations: 19.5 MB / 1.271 GB, free: 185.6 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/jenkins/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