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.008705/0.008705, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001575/0.001575, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.322/2.322, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 63 kB / 0.9508 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2771, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1614/0.4386, allocations: 161.6 MB / 1.246 GB, free: 15.28 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00495/0.4436, allocations: 3.633 MB / 1.249 GB, free: 11.63 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003108/0.444, allocations: 11.88 kB / 1.249 GB, free: 11.62 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005524/0.4445, allocations: 166.9 kB / 1.249 GB, free: 11.45 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.446, allocations: 0.5464 MB / 1.25 GB, free: 10.91 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.4473, allocations: 452.9 kB / 1.25 GB, free: 10.47 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002818/0.4501, allocations: 2.579 MB / 1.253 GB, free: 7.879 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002974/0.4531, allocations: 2.419 MB / 1.255 GB, free: 5.453 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002085/0.4552, allocations: 1.055 MB / 1.256 GB, free: 4.395 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.4562, allocations: 0.7195 MB / 1.257 GB, free: 3.672 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.4563, allocations: 56 kB / 1.257 GB, free: 3.617 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.4579, allocations: 0.7484 MB / 1.258 GB, free: 2.867 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003406/0.4582, allocations: 306.9 kB / 1.258 GB, free: 2.566 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007216/0.4589, allocations: 0.5479 MB / 1.259 GB, free: 2.016 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.4607, allocations: 1.428 MB / 1.26 GB, free: 0.582 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4607, allocations: 0 / 1.26 GB, free: 0.582 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4607, allocations: 4 kB / 1.26 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.813e-05/0.4608, allocations: 4 kB / 1.26 GB, free: 0.5742 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.568/1.029, allocations: 1.488 MB / 1.262 GB, free: 176.4 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/1.029, allocations: 9.562 kB / 1.262 GB, free: 176.4 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008702/1.03, allocations: 196.7 kB / 1.262 GB, free: 176.4 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/1.031, allocations: 0.8648 MB / 1.263 GB, free: 176 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.455e-05/1.032, allocations: 43.25 kB / 1.263 GB, free: 176 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/1.032, allocations: 59.06 kB / 1.263 GB, free: 176 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/1.033, allocations: 0.8164 MB / 1.263 GB, free: 175.8 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/1.033, allocations: 5.969 kB / 1.263 GB, free: 175.8 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.85e-05/1.033, allocations: 31.34 kB / 1.263 GB, free: 175.8 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/1.033, allocations: 13.94 kB / 1.263 GB, free: 175.8 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/1.035, allocations: 0.5613 MB / 1.264 GB, free: 175.8 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.004086/1.039, allocations: 4.206 MB / 1.268 GB, free: 172.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008987/1.04, allocations: 437.7 kB / 1.269 GB, free: 172.4 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006203/1.04, allocations: 346 kB / 1.269 GB, free: 172.2 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003038/1.041, allocations: 197 kB / 1.269 GB, free: 172 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005823/1.041, allocations: 319.3 kB / 1.269 GB, free: 171.9 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002755/1.042, allocations: 36.97 kB / 1.269 GB, free: 171.9 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 1.923e-06/1.042, allocations: 3.406 kB / 1.269 GB, free: 171.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.001573/1.043, allocations: 0.7022 MB / 1.27 GB, free: 171.6 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/1.043, allocations: 85.78 kB / 1.27 GB, free: 171.6 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/1.045, allocations: 1.153 MB / 1.271 GB, free: 171.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.379e-05/1.045, allocations: 38.92 kB / 1.271 GB, free: 171.1 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003715/1.045, allocations: 491.4 kB / 1.272 GB, free: 170.8 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.079e-05/1.045, allocations: 121 kB / 1.272 GB, free: 170.7 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/1.046, allocations: 117.8 kB / 1.272 GB, free: 170.6 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 5.977e-05/1.046, allocations: 326.4 kB / 1.272 GB, free: 170.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004639/1.046, allocations: 236.5 kB / 1.273 GB, free: 170.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006756/1.047, allocations: 0.5393 MB / 1.273 GB, free: 169.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009936/1.048, allocations: 0.6821 MB / 1.274 GB, free: 169.4 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/1.048, allocations: 1.688 kB / 1.274 GB, free: 169.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001598/1.049, allocations: 0.7668 MB / 1.275 GB, free: 169.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/1.05, allocations: 35.22 kB / 1.275 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/1.05, allocations: 5.812 kB / 1.275 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/1.05, allocations: 8.406 kB / 1.275 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006257/1.05, allocations: 121.6 kB / 1.275 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-05/1.05, allocations: 13.44 kB / 1.275 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008956/1.051, allocations: 56.94 kB / 1.275 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.65e-05/1.051, allocations: 25.11 kB / 1.275 GB, free: 169 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009347/1.052, allocations: 0.5227 MB / 1.275 GB, free: 168.8 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005812/1.053, allocations: 0.5062 MB / 1.276 GB, free: 168.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007895/1.054, allocations: 0.6187 MB / 1.276 GB, free: 168 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.757e-06/1.054, allocations: 1.156 kB / 1.276 GB, free: 168 MB / 1.014 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001176/1.055, allocations: 0.6921 MB / 1.277 GB, free: 167.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/1.055, allocations: 39.69 kB / 1.277 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/1.055, allocations: 5.531 kB / 1.277 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/1.055, allocations: 8.703 kB / 1.277 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004671/1.055, allocations: 113.9 kB / 1.277 GB, free: 167.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/1.055, allocations: 9.438 kB / 1.277 GB, free: 167.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000782/1.056, allocations: 68.14 kB / 1.277 GB, free: 167.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/1.056, allocations: 22.55 kB / 1.277 GB, free: 167.6 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.0001382/1.056, allocations: 222.7 kB / 1.278 GB, free: 167.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/1.056, allocations: 110.8 kB / 1.278 GB, free: 167.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009985/1.057, allocations: 0.5369 MB / 1.278 GB, free: 167.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/1.057, allocations: 5.25 kB / 1.278 GB, free: 167.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.056e-06/1.057, allocations: 7.125 kB / 1.278 GB, free: 167.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/1.057, allocations: 1.547 kB / 1.278 GB, free: 167.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002288/1.06, allocations: 1.497 MB / 1.28 GB, free: 166.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/1.06, allocations: 3.109 kB / 1.28 GB, free: 166.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/1.06, allocations: 71.09 kB / 1.28 GB, free: 166.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/1.06, allocations: 3.219 kB / 1.28 GB, free: 166.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/1.06, allocations: 14.14 kB / 1.28 GB, free: 166.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/1.06, allocations: 3.906 kB / 1.28 GB, free: 166.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.06, allocations: 6 kB / 1.28 GB, free: 166.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009457/1.061, allocations: 0.6611 MB / 1.28 GB, free: 166 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003463/1.062, allocations: 231.5 kB / 1.281 GB, free: 165.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/1.062, allocations: 13.8 kB / 1.281 GB, free: 165.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005971/1.062, allocations: 37.33 kB / 1.281 GB, free: 165.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.535e-05/1.062, allocations: 36.52 kB / 1.281 GB, free: 165.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/1.062, allocations: 13.75 kB / 1.281 GB, free: 165.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001016/1.063, allocations: 0.8195 MB / 1.282 GB, free: 165.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.063, allocations: 0 / 1.282 GB, free: 165.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001074/1.065, allocations: 424.9 kB / 1.282 GB, free: 165.5 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.0003677/1.065, allocations: 181.2 kB / 1.282 GB, free: 165.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001418/1.066, allocations: 0.8986 MB / 1.283 GB, free: 165 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/1.066, allocations: 1.25 kB / 1.283 GB, free: 165 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004311/1.067, allocations: 238.9 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.00211/1.069, allocations: 0.4923 MB / 1.284 GB, free: 164.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/1.071, allocations: 1.786 MB / 1.285 GB, free: 164 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006809/1.072, allocations: 1.182 MB / 1.287 GB, free: 163.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001068/1.073, allocations: 439 kB / 1.287 GB, free: 163.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/1.073, allocations: 78.31 kB / 1.287 GB, free: 163.1 MB / 1.014 GB Notification: Performance of SimCode: time 6.11e-07/1.073, allocations: 0 / 1.287 GB, free: 163.1 MB / 1.014 GB Notification: Performance of Templates: time 0.03155/1.105, 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