Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_11_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_11_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.001013/0.001013, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008309/0.008309, allocations: 172.7 kB / 16.27 MB, free: 6.66 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.657/1.657, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.028/3.028, allocations: 470.6 MB / 0.7441 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003671, allocations: 13.72 kB / 0.9123 GB, free: 34.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3431, allocations: 161.4 MB / 1.07 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1971/0.5403, allocations: 157.3 MB / 1.224 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005454/0.5458, allocations: 3.594 MB / 1.227 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004061/0.5462, allocations: 7.938 kB / 1.227 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005909/0.5468, allocations: 131.2 kB / 1.227 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001434/0.5483, allocations: 0.4981 MB / 1.228 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.5497, allocations: 397.5 kB / 1.228 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004492/0.5542, allocations: 3.508 MB / 1.231 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00324/0.5575, allocations: 2.226 MB / 1.234 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002306/0.5598, allocations: 0.9064 MB / 1.234 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.5608, allocations: 0.7077 MB / 1.235 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.694e-05/0.5609, allocations: 36 kB / 1.235 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001706/0.5627, allocations: 0.799 MB / 1.236 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003509/0.563, allocations: 278.9 kB / 1.236 GB, free: 392 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007565/0.5638, allocations: 0.5378 MB / 1.237 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001983/0.5658, allocations: 1.382 MB / 1.238 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.5658, allocations: 0 / 1.238 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.456e-06/0.5658, allocations: 0 / 1.238 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.903e-05/0.5658, allocations: 0 / 1.238 GB, free: 14.45 MB / 0.9981 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.002432/0.5683, allocations: 1.307 MB / 1.239 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.5683, allocations: 11.97 kB / 1.239 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007869/0.5691, allocations: 190.5 kB / 1.24 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.5704, allocations: 0.8023 MB / 1.24 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/0.5705, allocations: 41 kB / 1.24 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.5706, allocations: 64 kB / 1.24 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.572, allocations: 0.8278 MB / 1.241 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.5721, allocations: 4 kB / 1.241 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.063e-05/0.5721, allocations: 23.98 kB / 1.241 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.5722, allocations: 16 kB / 1.241 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.5732, allocations: 0.5734 MB / 1.242 GB, free: 10.4 MB / 0.9981 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.004936/0.5781, allocations: 4.247 MB / 1.246 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008774/0.579, allocations: 450.2 kB / 1.246 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006014/0.5797, allocations: 353.6 kB / 1.247 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003616/0.58, allocations: 198.2 kB / 1.247 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006228/0.5807, allocations: 323.1 kB / 1.247 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003669/0.581, allocations: 27.69 kB / 1.247 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 4.248e-06/0.581, allocations: 4 kB / 1.247 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.001614/0.5827, allocations: 0.7187 MB / 1.248 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.949e-05/0.5828, allocations: 85.11 kB / 1.248 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.5844, allocations: 1.159 MB / 1.249 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.947e-05/0.5845, allocations: 37.7 kB / 1.249 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005034/0.585, allocations: 484.5 kB / 1.25 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.5852, allocations: 118.3 kB / 1.25 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.759e-05/0.5853, allocations: 45.7 kB / 1.25 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.5854, allocations: 330 kB / 1.25 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004629/0.5859, allocations: 228.9 kB / 1.25 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007548/0.5867, allocations: 0.5499 MB / 1.251 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.563/1.15, allocations: 0.6764 MB / 1.252 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/1.15, allocations: 0.9062 kB / 1.252 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001779/1.152, allocations: 0.7875 MB / 1.252 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001687/1.152, allocations: 278.6 kB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/1.152, allocations: 6.094 kB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.02e-05/1.152, allocations: 11.09 kB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005673/1.152, allocations: 113.5 kB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-05/1.152, allocations: 19.98 kB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009581/1.153, allocations: 75.77 kB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-05/1.153, allocations: 28.78 kB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/1.153, allocations: 3.625 kB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001063/1.155, allocations: 0.5783 MB / 1.253 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/1.155, allocations: 7.938 kB / 1.254 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/1.155, allocations: 8.797 kB / 1.254 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004725/1.155, allocations: 112 kB / 1.254 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/1.155, allocations: 16.59 kB / 1.254 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009314/1.156, allocations: 79.05 kB / 1.254 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.764e-05/1.156, allocations: 22.94 kB / 1.254 GB, free: 184.8 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): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006982/1.157, allocations: 473.3 kB / 1.254 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/1.157, allocations: 105.1 kB / 1.254 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/1.158, allocations: 0.5586 MB / 1.255 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/1.158, allocations: 4.094 kB / 1.255 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/1.158, allocations: 1.25 kB / 1.255 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/1.158, allocations: 1.453 kB / 1.255 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/1.16, allocations: 1.502 MB / 1.256 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/1.16, allocations: 2.719 kB / 1.256 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/1.161, allocations: 74.81 kB / 1.256 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.369e-05/1.161, allocations: 7.047 kB / 1.256 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-05/1.161, allocations: 15.81 kB / 1.256 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.21e-05/1.161, allocations: 3.312 kB / 1.256 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/1.161, allocations: 7.062 kB / 1.256 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/1.162, allocations: 0.6626 MB / 1.257 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003402/1.162, allocations: 229.9 kB / 1.257 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/1.162, allocations: 20.48 kB / 1.257 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006202/1.163, allocations: 63.84 kB / 1.257 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.989e-05/1.163, allocations: 27.97 kB / 1.257 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/1.163, allocations: 15.64 kB / 1.257 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001006/1.164, allocations: 0.8209 MB / 1.258 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.164, allocations: 0 / 1.258 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001138/1.165, allocations: 421.5 kB / 1.259 GB, free: 183.6 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004429/1.166, allocations: 184.2 kB / 1.259 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001371/1.167, allocations: 0.9187 MB / 1.26 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.167, allocations: 6.484 kB / 1.26 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003654/1.168, allocations: 240.1 kB / 1.26 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003813/1.171, allocations: 0.6281 MB / 1.261 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003843/1.175, allocations: 2.077 MB / 1.263 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/1.176, allocations: 1.177 MB / 1.264 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001945/1.178, allocations: 413.9 kB / 1.264 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/1.179, allocations: 76.8 kB / 1.264 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.423e-06/1.179, allocations: 0 / 1.264 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.04272/1.221, allocations: 19.11 MB / 1.283 GB, free: 175.9 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches