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.001756/0.001756, allocations: 103.8 kB / 16.41 MB, free: 6.5 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.001836/0.001836, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.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.26/2.26, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.89 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8644/0.8658, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1944/1.06, allocations: 161.6 MB / 1.246 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006078/1.066, allocations: 3.626 MB / 1.25 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008374/1.067, allocations: 15.88 kB / 1.25 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/1.068, allocations: 166.9 kB / 1.25 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00206/1.071, allocations: 0.5484 MB / 1.251 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001509/1.072, allocations: 445.2 kB / 1.251 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003069/1.075, allocations: 2.571 MB / 1.254 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003133/1.078, allocations: 2.419 MB / 1.256 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002122/1.08, allocations: 1.055 MB / 1.257 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/1.082, allocations: 0.7117 MB / 1.258 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000234/1.082, allocations: 60 kB / 1.258 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/1.084, allocations: 0.7484 MB / 1.259 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003618/1.084, allocations: 310.9 kB / 1.259 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007528/1.085, allocations: 0.5479 MB / 1.259 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001607/1.087, allocations: 1.427 MB / 1.261 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.087, allocations: 0 / 1.261 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.754e-06/1.087, allocations: 0 / 1.261 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.266e-05/1.087, allocations: 0 / 1.261 GB, free: 13.5 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.002039/1.089, allocations: 1.455 MB / 1.262 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/1.089, allocations: 12.02 kB / 1.262 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007136/1.089, allocations: 182.5 kB / 1.262 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/1.091, allocations: 0.8531 MB / 1.263 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/1.091, allocations: 45 kB / 1.263 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.292e-05/1.091, allocations: 64 kB / 1.263 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/1.092, allocations: 0.8161 MB / 1.264 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/1.092, allocations: 4 kB / 1.264 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.324e-05/1.092, allocations: 24 kB / 1.264 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/1.092, allocations: 12 kB / 1.264 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008864/1.093, allocations: 0.5656 MB / 1.265 GB, free: 9.277 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.003576/1.096, allocations: 4.211 MB / 1.269 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007032/1.097, allocations: 438.7 kB / 1.269 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004509/1.098, allocations: 349.1 kB / 1.27 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002882/1.098, allocations: 190.2 kB / 1.27 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005206/1.098, allocations: 323.1 kB / 1.27 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001883/1.099, allocations: 35.59 kB / 1.27 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 3.246e-06/1.099, allocations: 96 / 1.27 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.001311/1.1, allocations: 0.6936 MB / 1.271 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/1.1, allocations: 97.05 kB / 1.271 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/1.101, allocations: 1.155 MB / 1.272 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.639e-05/1.101, allocations: 37.7 kB / 1.272 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003551/1.102, allocations: 488.4 kB / 1.272 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.151e-05/1.102, allocations: 118.3 kB / 1.273 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/1.102, allocations: 110.2 kB / 1.273 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.102, allocations: 333.9 kB / 1.273 GB, free: 360 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003871/1.102, allocations: 234.9 kB / 1.273 GB, free: 124 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006157/1.103, allocations: 0.5439 MB / 1.274 GB, free: 15.44 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008731/1.104, allocations: 0.678 MB / 1.274 GB, free: 14.68 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/1.104, allocations: 4 kB / 1.274 GB, free: 14.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00117/1.105, allocations: 0.763 MB / 1.275 GB, free: 13.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/1.105, allocations: 33.7 kB / 1.275 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.105, allocations: 8 kB / 1.275 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/1.105, allocations: 12.09 kB / 1.275 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000499/1.106, allocations: 124.2 kB / 1.275 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/1.106, allocations: 11.94 kB / 1.275 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006822/1.106, allocations: 55.92 kB / 1.275 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-05/1.106, allocations: 27.94 kB / 1.275 GB, free: 13.63 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006539/1.107, allocations: 0.5204 MB / 1.276 GB, free: 13.11 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000543/1.108, allocations: 0.5069 MB / 1.276 GB, free: 12.46 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007357/1.108, allocations: 0.5958 MB / 1.277 GB, free: 11.79 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.058e-06/1.108, allocations: 4 kB / 1.277 GB, free: 11.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001002/1.109, allocations: 0.6889 MB / 1.278 GB, free: 11.08 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/1.109, allocations: 33.7 kB / 1.278 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/1.11, allocations: 4 kB / 1.278 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/1.11, allocations: 8 kB / 1.278 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004231/1.11, allocations: 116.4 kB / 1.278 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/1.11, allocations: 11.94 kB / 1.278 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006874/1.111, allocations: 68.25 kB / 1.278 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.811e-05/1.111, allocations: 24 kB / 1.278 GB, free: 10.82 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.0001739/1.111, allocations: 230.4 kB / 1.278 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/1.111, allocations: 110.7 kB / 1.278 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009254/1.112, allocations: 0.535 MB / 1.279 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/1.112, allocations: 4 kB / 1.279 GB, free: 9.93 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.112, allocations: 0 / 1.279 GB, free: 9.93 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-06/1.112, allocations: 0 / 1.279 GB, free: 9.93 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001936/1.114, allocations: 1.497 MB / 1.28 GB, free: 8.355 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/1.114, allocations: 3.938 kB / 1.28 GB, free: 8.352 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/1.114, allocations: 76.09 kB / 1.28 GB, free: 8.277 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/1.114, allocations: 4.188 kB / 1.28 GB, free: 8.273 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/1.114, allocations: 8 kB / 1.28 GB, free: 8.266 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/1.114, allocations: 0 / 1.28 GB, free: 8.266 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/1.114, allocations: 4 kB / 1.28 GB, free: 8.262 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008391/1.115, allocations: 0.6664 MB / 1.281 GB, free: 7.559 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002832/1.115, allocations: 223.8 kB / 1.281 GB, free: 7.32 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/1.116, allocations: 15.94 kB / 1.281 GB, free: 7.305 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005275/1.116, allocations: 43.94 kB / 1.281 GB, free: 7.262 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.167e-05/1.116, allocations: 27.97 kB / 1.281 GB, free: 7.234 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/1.116, allocations: 8 kB / 1.281 GB, free: 7.227 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009233/1.117, allocations: 0.8199 MB / 1.282 GB, free: 6.398 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.11e-07/1.117, allocations: 4 kB / 1.282 GB, free: 6.395 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001038/1.118, allocations: 427.5 kB / 1.283 GB, free: 5.977 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.0004407/1.119, allocations: 174.8 kB / 1.283 GB, free: 5.805 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001354/1.12, allocations: 0.909 MB / 1.284 GB, free: 4.871 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.12, allocations: 1.625 kB / 1.284 GB, free: 4.871 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003518/1.12, allocations: 223.2 kB / 1.284 GB, free: 4.656 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/1.122, allocations: 0.5012 MB / 1.284 GB, free: 4.16 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/1.125, allocations: 1.823 MB / 1.286 GB, free: 2.273 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006403/1.126, allocations: 1.182 MB / 1.287 GB, free: 1.062 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/1.126, allocations: 79.42 kB / 1.287 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/1.126, allocations: 0 / 1.287 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of Templates: time 0.02259/1.148, allocations: 16.65 MB / 1.304 GB, free: 468 kB / 1.029 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/jenkins1/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