Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008876/0.008877, allocations: 103.5 kB / 15.74 MB, free: 6.488 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.001619/0.00162, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.388/2.388, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 67.11 kB / 0.9509 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3022, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1866/0.4889, allocations: 161.6 MB / 1.246 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006648/0.4956, allocations: 3.626 MB / 1.249 GB, free: 11.63 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006453/0.4963, allocations: 15.88 kB / 1.249 GB, free: 11.62 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000876/0.4973, allocations: 158.9 kB / 1.249 GB, free: 11.46 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.4992, allocations: 0.525 MB / 1.25 GB, free: 10.93 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.5007, allocations: 452 kB / 1.25 GB, free: 10.5 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003328/0.5041, allocations: 2.571 MB / 1.253 GB, free: 7.918 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003519/0.5076, allocations: 2.415 MB / 1.255 GB, free: 5.5 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001984/0.5096, allocations: 1.035 MB / 1.256 GB, free: 4.461 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.5107, allocations: 0.7156 MB / 1.257 GB, free: 3.742 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.5109, allocations: 60 kB / 1.257 GB, free: 3.684 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.5126, allocations: 0.7484 MB / 1.258 GB, free: 2.934 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003517/0.5129, allocations: 314.9 kB / 1.258 GB, free: 2.625 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008456/0.5138, allocations: 0.5401 MB / 1.259 GB, free: 2.082 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002156/0.5159, allocations: 1.425 MB / 1.26 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.516, allocations: 0 / 1.26 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.734e-06/0.516, allocations: 0 / 1.26 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.187e-05/0.516, allocations: 0 / 1.26 GB, free: 0.6523 MB / 1.014 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.5897/1.106, allocations: 1.453 MB / 1.261 GB, free: 176.4 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/1.106, allocations: 10.03 kB / 1.261 GB, free: 176.4 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009132/1.107, allocations: 184.1 kB / 1.262 GB, free: 176.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/1.108, allocations: 0.858 MB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.563e-05/1.108, allocations: 43.58 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/1.109, allocations: 59 kB / 1.263 GB, free: 175.9 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/1.11, allocations: 0.8204 MB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/1.11, allocations: 5.625 kB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.534e-05/1.11, allocations: 26.16 kB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.21e-05/1.11, allocations: 14.25 kB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/1.111, allocations: 0.5636 MB / 1.264 GB, free: 175.7 MB / 1.014 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.004314/1.116, allocations: 4.203 MB / 1.268 GB, free: 172.4 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008678/1.117, allocations: 439.8 kB / 1.268 GB, free: 172.3 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006001/1.117, allocations: 340.3 kB / 1.269 GB, free: 172.1 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002872/1.118, allocations: 196 kB / 1.269 GB, free: 171.9 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006176/1.118, allocations: 321.1 kB / 1.269 GB, free: 171.8 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000327/1.119, allocations: 30.16 kB / 1.269 GB, free: 171.8 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.134e-06/1.119, allocations: 0 / 1.269 GB, free: 171.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.001771/1.12, allocations: 0.7018 MB / 1.27 GB, free: 171.6 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/1.12, allocations: 91.95 kB / 1.27 GB, free: 171.4 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/1.122, allocations: 1.153 MB / 1.271 GB, free: 171.1 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/1.122, allocations: 38.81 kB / 1.271 GB, free: 171 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004062/1.123, allocations: 485.5 kB / 1.272 GB, free: 170.6 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/1.123, allocations: 114.4 kB / 1.272 GB, free: 170.6 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/1.123, allocations: 117.6 kB / 1.272 GB, free: 170.5 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.802e-05/1.123, allocations: 326.1 kB / 1.272 GB, free: 170.2 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004982/1.124, allocations: 235.1 kB / 1.272 GB, free: 170.1 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007096/1.124, allocations: 0.5376 MB / 1.273 GB, free: 169.7 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/1.126, allocations: 0.6788 MB / 1.274 GB, free: 169.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/1.126, allocations: 2.109 kB / 1.274 GB, free: 169.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001818/1.127, allocations: 0.7652 MB / 1.274 GB, free: 169 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.243e-05/1.127, allocations: 39.58 kB / 1.274 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/1.127, allocations: 5.594 kB / 1.274 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.639e-05/1.127, allocations: 7.875 kB / 1.274 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/1.128, allocations: 121.9 kB / 1.275 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.445e-05/1.128, allocations: 17.41 kB / 1.275 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009811/1.129, allocations: 60.53 kB / 1.275 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.57e-05/1.129, allocations: 26.08 kB / 1.275 GB, free: 168.9 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009757/1.13, allocations: 0.5198 MB / 1.275 GB, free: 168.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006132/1.131, allocations: 0.5036 MB / 1.276 GB, free: 168.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008572/1.132, allocations: 0.6036 MB / 1.276 GB, free: 167.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.887e-06/1.132, allocations: 1.125 kB / 1.276 GB, free: 167.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001181/1.133, allocations: 0.6919 MB / 1.277 GB, free: 167.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/1.133, allocations: 43.11 kB / 1.277 GB, free: 167.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/1.133, allocations: 9.312 kB / 1.277 GB, free: 167.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/1.133, allocations: 7.75 kB / 1.277 GB, free: 167.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004712/1.133, allocations: 106.5 kB / 1.277 GB, free: 167.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/1.133, allocations: 13.22 kB / 1.277 GB, free: 167.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008942/1.134, allocations: 75.62 kB / 1.277 GB, free: 167.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.694e-05/1.134, allocations: 24.89 kB / 1.277 GB, free: 167.5 MB / 1.014 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.0002064/1.135, allocations: 219.4 kB / 1.277 GB, free: 167.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/1.135, allocations: 100.7 kB / 1.277 GB, free: 167.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/1.136, allocations: 0.5406 MB / 1.278 GB, free: 167.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/1.136, allocations: 6.828 kB / 1.278 GB, free: 167.1 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.136, allocations: 7.938 kB / 1.278 GB, free: 167.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/1.136, allocations: 3.469 kB / 1.278 GB, free: 167.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/1.139, allocations: 1.491 MB / 1.279 GB, free: 166.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/1.139, allocations: 2.344 kB / 1.28 GB, free: 166.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003767/1.139, allocations: 67.33 kB / 1.28 GB, free: 166.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/1.139, allocations: 3.5 kB / 1.28 GB, free: 166.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/1.139, allocations: 10.23 kB / 1.28 GB, free: 166.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/1.139, allocations: 3.797 kB / 1.28 GB, free: 166.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/1.139, allocations: 6.438 kB / 1.28 GB, free: 166.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009893/1.14, allocations: 0.6604 MB / 1.28 GB, free: 165.9 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003759/1.14, allocations: 224.2 kB / 1.28 GB, free: 165.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/1.141, allocations: 8.875 kB / 1.28 GB, free: 165.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005912/1.141, allocations: 36.8 kB / 1.28 GB, free: 165.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/1.141, allocations: 39.66 kB / 1.281 GB, free: 165.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/1.141, allocations: 13.27 kB / 1.281 GB, free: 165.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001149/1.143, allocations: 0.8186 MB / 1.281 GB, free: 165.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.51e-07/1.143, allocations: 1.438 kB / 1.281 GB, free: 165.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001342/1.144, allocations: 424.2 kB / 1.282 GB, free: 165.4 MB / 1.014 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.000487/1.144, allocations: 180.9 kB / 1.282 GB, free: 165.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00173/1.146, allocations: 0.9061 MB / 1.283 GB, free: 164.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.146, allocations: 1.062 kB / 1.283 GB, free: 164.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004534/1.147, allocations: 229.8 kB / 1.283 GB, free: 164.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/1.149, allocations: 0.4908 MB / 1.284 GB, free: 164.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/1.151, allocations: 1.765 MB / 1.285 GB, free: 163.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006521/1.152, allocations: 1.183 MB / 1.286 GB, free: 163.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00109/1.153, allocations: 437.2 kB / 1.287 GB, free: 163.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/1.153, allocations: 78.52 kB / 1.287 GB, free: 163.1 MB / 1.014 GB Notification: Performance of SimCode: time 5.62e-07/1.153, allocations: 1.375 kB / 1.287 GB, free: 163.1 MB / 1.014 GB Notification: Performance of Templates: time 0.03376/1.187, allocations: 18.79 MB / 1.305 GB, free: 155.8 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches