Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001354/0.001353, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001362/0.001363, allocations: 183 kB / 17.34 MB, free: 5.766 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.464/2.464, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 63.84 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7733/0.7748, allocations: 157.4 MB / 1.208 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.167/0.9419, allocations: 161.6 MB / 1.366 GB, free: 11.46 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.004862/0.9468, allocations: 3.61 MB / 1.37 GB, free: 7.84 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003853/0.9472, allocations: 15.94 kB / 1.37 GB, free: 7.824 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006064/0.9478, allocations: 166.9 kB / 1.37 GB, free: 7.66 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001337/0.9492, allocations: 0.5211 MB / 1.37 GB, free: 7.137 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.9504, allocations: 448.4 kB / 1.371 GB, free: 6.703 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002672/0.9531, allocations: 2.567 MB / 1.373 GB, free: 4.133 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002726/0.9558, allocations: 2.411 MB / 1.376 GB, free: 1.707 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002087/0.9579, allocations: 1.051 MB / 1.377 GB, free: 0.6523 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009561/0.9589, allocations: 0.7041 MB / 1.377 GB, free: 15.94 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.959, allocations: 64 kB / 1.378 GB, free: 15.88 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001427/0.9605, allocations: 0.7483 MB / 1.378 GB, free: 15.13 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003193/0.9608, allocations: 314.9 kB / 1.379 GB, free: 14.82 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006746/0.9615, allocations: 0.5479 MB / 1.379 GB, free: 14.27 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.9633, allocations: 1.419 MB / 1.38 GB, free: 12.85 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.9633, allocations: 3.984 kB / 1.38 GB, free: 12.85 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.983e-06/0.9633, allocations: 0 / 1.38 GB, free: 12.85 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.9633, allocations: 0 / 1.38 GB, free: 12.85 MB / 1.107 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.002371/0.9657, allocations: 1.454 MB / 1.382 GB, free: 11.33 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.9658, allocations: 8.031 kB / 1.382 GB, free: 11.32 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008315/0.9666, allocations: 198.4 kB / 1.382 GB, free: 11.13 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/0.9683, allocations: 0.8492 MB / 1.383 GB, free: 10.22 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.306e-05/0.9683, allocations: 41 kB / 1.383 GB, free: 10.18 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.463e-05/0.9684, allocations: 67.98 kB / 1.383 GB, free: 10.12 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.9696, allocations: 0.816 MB / 1.384 GB, free: 9.223 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.9696, allocations: 7.938 kB / 1.384 GB, free: 9.215 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-05/0.9697, allocations: 23.98 kB / 1.384 GB, free: 9.191 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.9697, allocations: 12 kB / 1.384 GB, free: 9.18 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009049/0.9706, allocations: 0.5695 MB / 1.384 GB, free: 8.609 MB / 1.107 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.00411/0.9747, allocations: 4.211 MB / 1.389 GB, free: 4.129 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007268/0.9755, allocations: 436.2 kB / 1.389 GB, free: 3.695 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004657/0.976, allocations: 344.6 kB / 1.389 GB, free: 3.355 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003048/0.9763, allocations: 202.2 kB / 1.389 GB, free: 3.121 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005346/0.9768, allocations: 319.1 kB / 1.39 GB, free: 2.789 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002595/0.9771, allocations: 35.59 kB / 1.39 GB, free: 2.754 MB / 1.107 GB Notification: Performance of pre-optimization done (n=33): time 2.324e-06/0.9771, allocations: 0 / 1.39 GB, free: 2.754 MB / 1.107 GB Notification: Performance of matching and sorting (n=33): time 0.001436/0.9785, allocations: 0.7016 MB / 1.391 GB, free: 2.047 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.9786, allocations: 85.11 kB / 1.391 GB, free: 1.945 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.98, allocations: 1.151 MB / 1.392 GB, free: 0.7773 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.215e-05/0.9801, allocations: 37.7 kB / 1.392 GB, free: 0.7344 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004104/0.9805, allocations: 492.4 kB / 1.392 GB, free: 256 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.797e-05/0.9806, allocations: 118.4 kB / 1.392 GB, free: 136 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.9808, allocations: 114.2 kB / 1.392 GB, free: 16 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.981, allocations: 330 kB / 1.393 GB, free: 15.68 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.9814, allocations: 234.9 kB / 1.393 GB, free: 15.45 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000642/0.982, allocations: 0.5382 MB / 1.394 GB, free: 14.78 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009327/0.983, allocations: 0.6698 MB / 1.394 GB, free: 14.03 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.983, allocations: 4 kB / 1.394 GB, free: 14.02 MB / 1.123 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001291/0.9843, allocations: 0.7675 MB / 1.395 GB, free: 13.24 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.9843, allocations: 39.61 kB / 1.395 GB, free: 13.2 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.9843, allocations: 8 kB / 1.395 GB, free: 13.19 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.9844, allocations: 11.94 kB / 1.395 GB, free: 13.18 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004899/0.9849, allocations: 111.8 kB / 1.395 GB, free: 13.07 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/0.9849, allocations: 15.92 kB / 1.395 GB, free: 13.05 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007147/0.9856, allocations: 59.94 kB / 1.395 GB, free: 13 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.328e-05/0.9857, allocations: 31.92 kB / 1.395 GB, free: 12.96 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000736/0.9864, allocations: 0.5125 MB / 1.396 GB, free: 12.45 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005557/0.987, allocations: 0.5069 MB / 1.396 GB, free: 11.81 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007998/0.9878, allocations: 0.5999 MB / 1.397 GB, free: 11.13 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.969e-06/0.9878, allocations: 4 kB / 1.397 GB, free: 11.12 MB / 1.123 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001095/0.9889, allocations: 0.6894 MB / 1.397 GB, free: 10.42 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.059e-05/0.989, allocations: 37.75 kB / 1.397 GB, free: 10.38 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.989, allocations: 12 kB / 1.397 GB, free: 10.37 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.989, allocations: 12.05 kB / 1.397 GB, free: 10.36 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/0.9894, allocations: 107.8 kB / 1.398 GB, free: 10.25 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.9894, allocations: 19.91 kB / 1.398 GB, free: 10.23 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007272/0.9902, allocations: 72.25 kB / 1.398 GB, free: 10.16 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.9902, allocations: 20 kB / 1.398 GB, free: 10.14 MB / 1.123 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.0002168/0.9904, allocations: 223.9 kB / 1.398 GB, free: 9.914 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.9906, allocations: 106.7 kB / 1.398 GB, free: 9.809 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009943/0.9916, allocations: 0.5388 MB / 1.399 GB, free: 9.262 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.9916, allocations: 4 kB / 1.399 GB, free: 9.258 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.9916, allocations: 4 kB / 1.399 GB, free: 9.254 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.9916, allocations: 7.922 kB / 1.399 GB, free: 9.246 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/0.9938, allocations: 1.489 MB / 1.4 GB, free: 7.684 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/0.9939, allocations: 7.938 kB / 1.4 GB, free: 7.676 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/0.9942, allocations: 63.89 kB / 1.4 GB, free: 7.613 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.9942, allocations: 4 kB / 1.4 GB, free: 7.609 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.9942, allocations: 11.98 kB / 1.4 GB, free: 7.598 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.9943, allocations: 4 kB / 1.4 GB, free: 7.594 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9943, allocations: 4.219 kB / 1.4 GB, free: 7.59 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009132/0.9952, allocations: 0.6594 MB / 1.401 GB, free: 6.895 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003593/0.9955, allocations: 219.8 kB / 1.401 GB, free: 6.66 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.9957, allocations: 19.98 kB / 1.401 GB, free: 6.641 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005047/0.9962, allocations: 31.95 kB / 1.401 GB, free: 6.609 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.703e-05/0.9963, allocations: 39.89 kB / 1.401 GB, free: 6.57 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.9963, allocations: 8 kB / 1.401 GB, free: 6.562 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001005/0.9973, allocations: 0.8199 MB / 1.402 GB, free: 5.734 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9973, allocations: 0 / 1.402 GB, free: 5.734 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001185/0.9985, allocations: 423.4 kB / 1.402 GB, free: 5.32 MB / 1.123 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.0004625/0.999, allocations: 179.5 kB / 1.402 GB, free: 5.141 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001484/1, allocations: 0.9034 MB / 1.403 GB, free: 4.215 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1, allocations: 0 / 1.403 GB, free: 4.215 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003627/1.001, allocations: 227 kB / 1.404 GB, free: 3.996 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/1.003, allocations: 0.4996 MB / 1.404 GB, free: 3.504 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/1.006, allocations: 1.804 MB / 1.406 GB, free: 1.637 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000699/1.006, allocations: 1.174 MB / 1.407 GB, free: 440 kB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/1.007, allocations: 83.42 kB / 1.407 GB, free: 356 kB / 1.123 GB Notification: Performance of SimCode: time 1.403e-06/1.007, allocations: 0 / 1.407 GB, free: 356 kB / 1.123 GB Notification: Performance of Templates: time 0.02505/1.032, allocations: 16.67 MB / 1.423 GB, free: 15.8 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches