Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001108/0.001108, allocations: 115.4 kB / 16.42 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.001035/0.001035, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.395/2.395, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 59.91 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6918/0.6932, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1643/0.8575, allocations: 161.6 MB / 1.325 GB, free: 1.59 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00495/0.8625, allocations: 3.62 MB / 1.329 GB, free: 13.96 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003836/0.8629, allocations: 11.94 kB / 1.329 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005826/0.8635, allocations: 170.9 kB / 1.329 GB, free: 13.78 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.865, allocations: 0.5445 MB / 1.329 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.8663, allocations: 445.7 kB / 1.33 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002679/0.869, allocations: 2.563 MB / 1.332 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002729/0.8718, allocations: 2.415 MB / 1.335 GB, free: 7.801 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001906/0.8737, allocations: 1.063 MB / 1.336 GB, free: 6.734 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.8749, allocations: 0.7 MB / 1.336 GB, free: 6.031 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002281/0.8751, allocations: 60 kB / 1.336 GB, free: 5.973 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.8768, allocations: 0.7484 MB / 1.337 GB, free: 5.223 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004155/0.8773, allocations: 314.9 kB / 1.337 GB, free: 4.914 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00082/0.8781, allocations: 0.5517 MB / 1.338 GB, free: 4.359 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001928/0.88, allocations: 1.419 MB / 1.339 GB, free: 2.938 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.88, allocations: 0 / 1.339 GB, free: 2.938 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.222e-06/0.88, allocations: 0 / 1.339 GB, free: 2.938 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.328e-05/0.8801, allocations: 4 kB / 1.339 GB, free: 2.934 MB / 1.061 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.002638/0.8827, allocations: 1.455 MB / 1.341 GB, free: 1.418 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.8828, allocations: 12.02 kB / 1.341 GB, free: 1.406 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008463/0.8836, allocations: 194.4 kB / 1.341 GB, free: 1.215 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.8852, allocations: 0.8453 MB / 1.342 GB, free: 320 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.8852, allocations: 41 kB / 1.342 GB, free: 280 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.812e-05/0.8853, allocations: 71.92 kB / 1.342 GB, free: 208 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.8866, allocations: 0.8226 MB / 1.343 GB, free: 15.31 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.8866, allocations: 4 kB / 1.343 GB, free: 15.3 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.451e-05/0.8867, allocations: 20 kB / 1.343 GB, free: 15.29 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.8867, allocations: 12 kB / 1.343 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009731/0.8877, allocations: 0.5695 MB / 1.343 GB, free: 14.7 MB / 1.076 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.00404/0.8917, allocations: 4.212 MB / 1.347 GB, free: 10.22 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007452/0.8925, allocations: 442.7 kB / 1.348 GB, free: 9.777 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004946/0.893, allocations: 348.6 kB / 1.348 GB, free: 9.434 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002948/0.8933, allocations: 194.2 kB / 1.348 GB, free: 9.207 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005254/0.8938, allocations: 320.2 kB / 1.349 GB, free: 8.875 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001924/0.894, allocations: 39.69 kB / 1.349 GB, free: 8.836 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 2.405e-06/0.894, allocations: 3.938 kB / 1.349 GB, free: 8.832 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.001435/0.8955, allocations: 0.6915 MB / 1.349 GB, free: 8.133 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.8955, allocations: 89.05 kB / 1.35 GB, free: 8.027 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.8969, allocations: 1.155 MB / 1.351 GB, free: 6.855 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/0.8969, allocations: 41.7 kB / 1.351 GB, free: 6.809 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003935/0.8973, allocations: 492.4 kB / 1.351 GB, free: 6.32 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.966e-05/0.8974, allocations: 114.4 kB / 1.351 GB, free: 6.207 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.8976, allocations: 110.2 kB / 1.351 GB, free: 6.094 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.8977, allocations: 333.9 kB / 1.352 GB, free: 5.762 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004085/0.8981, allocations: 230.9 kB / 1.352 GB, free: 5.535 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006663/0.8988, allocations: 0.5537 MB / 1.352 GB, free: 4.848 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000938/0.8998, allocations: 0.6667 MB / 1.353 GB, free: 4.102 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.8998, allocations: 4 kB / 1.353 GB, free: 4.098 MB / 1.076 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001246/0.901, allocations: 0.7671 MB / 1.354 GB, free: 3.316 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.482e-05/0.9011, allocations: 33.7 kB / 1.354 GB, free: 3.277 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.9011, allocations: 8 kB / 1.354 GB, free: 3.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.9011, allocations: 11.98 kB / 1.354 GB, free: 3.258 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005269/0.9017, allocations: 111.8 kB / 1.354 GB, free: 3.148 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.9017, allocations: 12.34 kB / 1.354 GB, free: 3.137 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007464/0.9024, allocations: 63.92 kB / 1.354 GB, free: 3.074 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-05/0.9025, allocations: 24 kB / 1.354 GB, free: 3.051 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006821/0.9032, allocations: 0.5203 MB / 1.355 GB, free: 2.527 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005838/0.9038, allocations: 0.5031 MB / 1.355 GB, free: 1.891 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008002/0.9046, allocations: 0.596 MB / 1.356 GB, free: 1.215 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.897e-06/0.9046, allocations: 4 kB / 1.356 GB, free: 1.211 MB / 1.076 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001096/0.9057, allocations: 0.697 MB / 1.356 GB, free: 0.5 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.9058, allocations: 40.05 kB / 1.356 GB, free: 468 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.9058, allocations: 4 kB / 1.356 GB, free: 464 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.9058, allocations: 8 kB / 1.356 GB, free: 456 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.9063, allocations: 111.8 kB / 1.357 GB, free: 344 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.952e-05/0.9063, allocations: 11.94 kB / 1.357 GB, free: 332 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007538/0.907, allocations: 68.53 kB / 1.357 GB, free: 264 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.9071, allocations: 27.98 kB / 1.357 GB, free: 236 kB / 1.076 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.0001672/0.9073, allocations: 220 kB / 1.357 GB, free: 8 kB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.9074, allocations: 107 kB / 1.357 GB, free: 15.9 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009714/0.9084, allocations: 0.535 MB / 1.357 GB, free: 15.36 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.9084, allocations: 3.938 kB / 1.357 GB, free: 15.36 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.9084, allocations: 0 / 1.357 GB, free: 15.36 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003843/0.9088, allocations: 219.8 kB / 1.358 GB, free: 15.12 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.9089, allocations: 15.94 kB / 1.358 GB, free: 15.11 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005531/0.9095, allocations: 39.94 kB / 1.358 GB, free: 15.07 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.263e-05/0.9096, allocations: 23.97 kB / 1.358 GB, free: 15.04 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001073/0.9107, allocations: 0.6091 MB / 1.358 GB, free: 14.43 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009/0.9116, allocations: 0.7688 MB / 1.359 GB, free: 13.64 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003319/0.9119, allocations: 208.3 kB / 1.359 GB, free: 13.44 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001031/0.913, allocations: 0.8159 MB / 1.36 GB, free: 12.61 MB / 1.092 GB Notification: Performance of Backend: time 6.81e-07/0.913, allocations: 0 / 1.36 GB, free: 12.61 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002165/0.9151, allocations: 0.9555 MB / 1.361 GB, free: 11.64 MB / 1.092 GB Notification: Performance of SimCode: time 0.004059/0.9192, allocations: 2.513 MB / 1.363 GB, free: 9.066 MB / 1.092 GB Notification: Performance of Templates: time 0.03266/0.9519, allocations: 20.74 MB / 1.384 GB, free: 4.543 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches