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.001526/0.001526, allocations: 109.1 kB / 15.99 MB, free: 6.355 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.001512/0.001512, allocations: 190.4 kB / 16.91 MB, free: 6.195 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.419/1.419, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.671/2.671, allocations: 469.8 MB / 0.7427 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 63.59 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3491, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.7254/1.075, allocations: 159.4 MB / 1.22 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005812/1.08, allocations: 3.59 MB / 1.223 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006191/1.081, allocations: 13.5 kB / 1.223 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007565/1.082, allocations: 141.2 kB / 1.223 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001706/1.084, allocations: 0.4933 MB / 1.224 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001441/1.085, allocations: 399.2 kB / 1.224 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003178/1.088, allocations: 2.595 MB / 1.227 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003204/1.091, allocations: 2.394 MB / 1.229 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002395/1.094, allocations: 1.078 MB / 1.23 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/1.095, allocations: 0.7585 MB / 1.231 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002484/1.096, allocations: 60 kB / 1.231 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/1.097, allocations: 0.7601 MB / 1.232 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004481/1.098, allocations: 314.9 kB / 1.232 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0008434/1.099, allocations: 0.5518 MB / 1.233 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/1.1, allocations: 1.056 MB / 1.234 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.1, allocations: 0 / 1.234 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.583e-06/1.1, allocations: 0 / 1.234 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.455e-05/1.1, allocations: 3.984 kB / 1.234 GB, free: 11.55 MB / 0.9512 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.002361/1.103, allocations: 1.459 MB / 1.235 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.103, allocations: 8.625 kB / 1.235 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000777/1.103, allocations: 190.5 kB / 1.235 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/1.105, allocations: 0.81 MB / 1.236 GB, free: 8.965 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.714e-05/1.105, allocations: 45 kB / 1.236 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.571e-05/1.105, allocations: 56 kB / 1.236 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/1.106, allocations: 0.82 MB / 1.237 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/1.106, allocations: 7.938 kB / 1.237 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.505e-05/1.106, allocations: 20 kB / 1.237 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/1.106, allocations: 16 kB / 1.237 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009641/1.107, allocations: 0.5578 MB / 1.238 GB, free: 7.363 MB / 0.9512 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.004277/1.112, allocations: 4.219 MB / 1.242 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007818/1.112, allocations: 440.2 kB / 1.242 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004981/1.113, allocations: 341.1 kB / 1.242 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003268/1.113, allocations: 190.2 kB / 1.243 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005703/1.114, allocations: 327.6 kB / 1.243 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002762/1.114, allocations: 39.67 kB / 1.243 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/1.114, allocations: 0 / 1.243 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.001452/1.116, allocations: 0.6964 MB / 1.244 GB, free: 0.8008 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/1.116, allocations: 89.09 kB / 1.244 GB, free: 0.6953 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/1.117, allocations: 1.155 MB / 1.245 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.405e-05/1.117, allocations: 33.7 kB / 1.245 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004553/1.118, allocations: 492.4 kB / 1.245 GB, free: 15 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/1.118, allocations: 106.5 kB / 1.245 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/1.118, allocations: 118 kB / 1.246 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.118, allocations: 329.9 kB / 1.246 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004236/1.118, allocations: 238.9 kB / 1.246 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006935/1.119, allocations: 0.5429 MB / 1.247 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/1.12, allocations: 0.672 MB / 1.247 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/1.12, allocations: 4 kB / 1.247 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001314/1.122, allocations: 0.7632 MB / 1.248 GB, free: 12 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.506e-05/1.122, allocations: 37.69 kB / 1.248 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/1.122, allocations: 8 kB / 1.248 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/1.122, allocations: 12.69 kB / 1.248 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005199/1.122, allocations: 116.1 kB / 1.248 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/1.122, allocations: 17 kB / 1.248 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007954/1.123, allocations: 83.8 kB / 1.248 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.592e-05/1.123, allocations: 24 kB / 1.248 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008007/1.124, allocations: 0.5203 MB / 1.249 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006257/1.125, allocations: 0.5049 MB / 1.249 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008394/1.125, allocations: 0.5957 MB / 1.25 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.665e-06/1.125, allocations: 4 kB / 1.25 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001171/1.127, allocations: 0.6944 MB / 1.251 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.948e-05/1.127, allocations: 37.83 kB / 1.251 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.127, allocations: 4 kB / 1.251 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/1.127, allocations: 8 kB / 1.251 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004329/1.127, allocations: 115.7 kB / 1.251 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/1.127, allocations: 11.94 kB / 1.251 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007793/1.128, allocations: 88.17 kB / 1.251 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/1.128, allocations: 20 kB / 1.251 GB, free: 8.871 MB / 0.9669 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.000222/1.128, allocations: 228 kB / 1.251 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/1.128, allocations: 106.7 kB / 1.251 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/1.129, allocations: 0.5407 MB / 1.252 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.129, allocations: 4 kB / 1.252 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.129, allocations: 0 / 1.252 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/1.129, allocations: 7.938 kB / 1.252 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/1.132, allocations: 1.495 MB / 1.253 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.132, allocations: 4.219 kB / 1.253 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003383/1.132, allocations: 75.88 kB / 1.253 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/1.132, allocations: 4 kB / 1.253 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/1.132, allocations: 8 kB / 1.253 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/1.132, allocations: 4 kB / 1.253 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.132, allocations: 4 kB / 1.253 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000949/1.133, allocations: 0.6624 MB / 1.254 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000332/1.133, allocations: 227.8 kB / 1.254 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/1.133, allocations: 11.94 kB / 1.254 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005772/1.134, allocations: 51.94 kB / 1.254 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.942e-05/1.134, allocations: 31.89 kB / 1.254 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/1.134, allocations: 16 kB / 1.254 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001045/1.135, allocations: 0.8199 MB / 1.255 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/1.135, allocations: 0 / 1.255 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001142/1.136, allocations: 427.3 kB / 1.255 GB, free: 4.012 MB / 0.9669 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.000486/1.137, allocations: 169.5 kB / 1.256 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001598/1.139, allocations: 0.9501 MB / 1.257 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.139, allocations: 0 / 1.257 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003843/1.139, allocations: 223.7 kB / 1.257 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/1.141, allocations: 0.5066 MB / 1.257 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/1.144, allocations: 2.108 MB / 1.259 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008122/1.145, allocations: 1.182 MB / 1.26 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/1.145, allocations: 83.42 kB / 1.261 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of SimCode: time 8.52e-07/1.145, allocations: 0 / 1.261 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of Templates: time 0.02831/1.173, allocations: 16.55 MB / 1.277 GB, free: 14.27 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/jenkins1/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