Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007896/0.0007896, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.0008469/0.0008469, allocations: 168.7 kB / 15.95 MB, free: 204 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.38/1.38, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.721/2.721, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005847/0.000585, allocations: 11.66 kB / 0.9021 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3142, allocations: 159.6 MB / 1.058 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1502/0.4644, allocations: 146.8 MB / 1.201 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004199/0.4687, allocations: 3.371 MB / 1.205 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002435/0.4689, allocations: 7.938 kB / 1.205 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004445/0.4694, allocations: 115.2 kB / 1.205 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.4704, allocations: 386.1 kB / 1.205 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.4714, allocations: 384.8 kB / 1.205 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002898/0.4743, allocations: 3.009 MB / 1.208 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002521/0.4769, allocations: 2.156 MB / 1.211 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001436/0.4783, allocations: 0.8675 MB / 1.211 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008031/0.4791, allocations: 0.7079 MB / 1.212 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.226e-05/0.4792, allocations: 36 kB / 1.212 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.4803, allocations: 0.5496 MB / 1.213 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002779/0.4806, allocations: 278.9 kB / 1.213 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.4808, allocations: 229.1 kB / 1.213 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.4819, allocations: 1.052 MB / 1.214 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4819, allocations: 0 / 1.214 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4819, allocations: 0 / 1.214 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.4819, allocations: 0 / 1.214 GB, free: 5.016 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.001944/0.4839, allocations: 1.334 MB / 1.215 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.4839, allocations: 12.03 kB / 1.215 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007234/0.4846, allocations: 182.5 kB / 1.216 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.4859, allocations: 0.8003 MB / 1.216 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.075e-05/0.486, allocations: 41 kB / 1.216 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.509e-05/0.4861, allocations: 64 kB / 1.217 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.4873, allocations: 0.8276 MB / 1.217 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.4873, allocations: 4 kB / 1.217 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.499e-05/0.4874, allocations: 20 kB / 1.217 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.4874, allocations: 19.94 kB / 1.217 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009501/0.4883, allocations: 0.5696 MB / 1.218 GB, free: 0.9492 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.003742/0.4921, allocations: 4.251 MB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007242/0.4928, allocations: 455.6 kB / 1.223 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00048/0.4933, allocations: 353.3 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002778/0.4936, allocations: 198.2 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005372/0.4941, allocations: 327 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001918/0.4944, allocations: 31.69 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 2.034e-06/0.4944, allocations: 0 / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.001349/0.4957, allocations: 0.7203 MB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.4958, allocations: 85.11 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.4971, allocations: 1.159 MB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/0.4971, allocations: 37.7 kB / 1.225 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/0.4975, allocations: 480.5 kB / 1.226 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.202e-05/0.4976, allocations: 114.4 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.4976, allocations: 12 kB / 1.226 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.4978, allocations: 326 kB / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.4981, allocations: 212.9 kB / 1.226 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005838/0.4987, allocations: 0.5148 MB / 1.227 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004699/0.4992, allocations: 314.4 kB / 1.227 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.4992, allocations: 0 / 1.227 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00115/0.5004, allocations: 0.7321 MB / 1.228 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001939/0.5006, allocations: 279.1 kB / 1.228 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.5006, allocations: 8 kB / 1.228 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.5006, allocations: 8 kB / 1.228 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/0.5011, allocations: 119.8 kB / 1.228 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.5012, allocations: 11.94 kB / 1.228 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00073/0.5019, allocations: 87.81 kB / 1.228 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.528e-05/0.502, allocations: 27.98 kB / 1.228 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.343e-06/0.502, allocations: 9.719 kB / 1.228 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009183/0.5029, allocations: 0.5753 MB / 1.229 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.5029, allocations: 8 kB / 1.229 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.503, allocations: 11.95 kB / 1.229 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004308/0.5034, allocations: 116.4 kB / 1.229 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.5034, allocations: 11.98 kB / 1.229 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006775/0.5041, allocations: 91.75 kB / 1.229 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.5041, allocations: 23.94 kB / 1.229 GB, free: 4.688 MB / 0.9825 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): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004791/0.5046, allocations: 472.6 kB / 1.23 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.5047, allocations: 102.7 kB / 1.23 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009696/0.5057, allocations: 0.5544 MB / 1.23 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.5057, allocations: 4 kB / 1.23 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5058, allocations: 0 / 1.23 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.5058, allocations: 3.984 kB / 1.23 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/0.5079, allocations: 1.517 MB / 1.232 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.5079, allocations: 0 / 1.232 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.5082, allocations: 71.88 kB / 1.232 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.5082, allocations: 4 kB / 1.232 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.5083, allocations: 8 kB / 1.232 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.5083, allocations: 4 kB / 1.232 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5083, allocations: 192 / 1.232 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008666/0.5092, allocations: 0.6788 MB / 1.233 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/0.5095, allocations: 231.7 kB / 1.233 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.5096, allocations: 11.98 kB / 1.233 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005993/0.5102, allocations: 67.83 kB / 1.233 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.337e-05/0.5103, allocations: 35.86 kB / 1.233 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.5103, allocations: 19.98 kB / 1.233 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009901/0.5113, allocations: 0.812 MB / 1.234 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5113, allocations: 0 / 1.234 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001106/0.5125, allocations: 427.5 kB / 1.234 GB, free: 15.53 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): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004052/0.5129, allocations: 173.5 kB / 1.234 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001383/0.5143, allocations: 0.8906 MB / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.5143, allocations: 0 / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003941/0.5147, allocations: 233.5 kB / 1.235 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002779/0.5175, allocations: 0.6465 MB / 1.236 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/0.5201, allocations: 1.992 MB / 1.238 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006664/0.5208, allocations: 1.186 MB / 1.239 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001158/0.522, allocations: 432 kB / 1.24 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.5222, allocations: 79.42 kB / 1.24 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.5222, allocations: 0 / 1.24 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of Templates: time 0.5403/1.062, allocations: 18.62 MB / 1.258 GB, free: 185.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches