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.004512/0.004512, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001063/0.001063, allocations: 198.4 kB / 16.67 MB, free: 5.934 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.455/2.455, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.84 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7771/0.7783, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1709/0.9493, allocations: 161.6 MB / 1.324 GB, free: 1.605 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004981/0.9543, allocations: 3.628 MB / 1.328 GB, free: 13.96 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003252/0.9547, allocations: 11.88 kB / 1.328 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000623/0.9554, allocations: 163 kB / 1.328 GB, free: 13.79 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00137/0.9567, allocations: 0.5578 MB / 1.329 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.9579, allocations: 432.5 kB / 1.329 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002588/0.9605, allocations: 2.575 MB / 1.332 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002749/0.9633, allocations: 2.416 MB / 1.334 GB, free: 7.805 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001654/0.965, allocations: 1.059 MB / 1.335 GB, free: 6.742 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008147/0.9658, allocations: 0.7117 MB / 1.336 GB, free: 6.027 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.9659, allocations: 56 kB / 1.336 GB, free: 5.973 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.9673, allocations: 0.7562 MB / 1.337 GB, free: 5.215 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003027/0.9676, allocations: 314.8 kB / 1.337 GB, free: 4.906 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000638/0.9683, allocations: 0.5441 MB / 1.337 GB, free: 4.359 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.97, allocations: 1.428 MB / 1.339 GB, free: 2.93 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.97, allocations: 0 / 1.339 GB, free: 2.93 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9701, allocations: 0 / 1.339 GB, free: 2.93 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.006e-05/0.9701, allocations: 7.938 kB / 1.339 GB, free: 2.922 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.002429/0.9725, allocations: 1.493 MB / 1.34 GB, free: 1.367 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.9726, allocations: 12.03 kB / 1.34 GB, free: 1.355 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007382/0.9733, allocations: 199.1 kB / 1.34 GB, free: 1.16 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.9748, allocations: 0.8657 MB / 1.341 GB, free: 244 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.453e-05/0.9748, allocations: 44.94 kB / 1.341 GB, free: 200 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.518e-05/0.9749, allocations: 56 kB / 1.341 GB, free: 144 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.9761, allocations: 0.82 MB / 1.342 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.9761, allocations: 3.938 kB / 1.342 GB, free: 15.24 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-05/0.9762, allocations: 24 kB / 1.342 GB, free: 15.22 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.9762, allocations: 12 kB / 1.342 GB, free: 15.21 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009161/0.9771, allocations: 0.5695 MB / 1.343 GB, free: 14.63 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.004035/0.9812, allocations: 4.208 MB / 1.347 GB, free: 10.16 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007253/0.9819, allocations: 445 kB / 1.347 GB, free: 9.715 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005133/0.9824, allocations: 344.5 kB / 1.348 GB, free: 9.375 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003263/0.9828, allocations: 198.2 kB / 1.348 GB, free: 9.145 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005337/0.9833, allocations: 328.2 kB / 1.348 GB, free: 8.805 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002028/0.9835, allocations: 39.91 kB / 1.348 GB, free: 8.766 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 1.873e-06/0.9835, allocations: 0 / 1.348 GB, free: 8.766 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.00137/0.9849, allocations: 0.7075 MB / 1.349 GB, free: 8.051 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.985, allocations: 81.22 kB / 1.349 GB, free: 7.953 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.9863, allocations: 1.163 MB / 1.35 GB, free: 6.773 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.9863, allocations: 33.7 kB / 1.35 GB, free: 6.734 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003998/0.9867, allocations: 485.2 kB / 1.351 GB, free: 6.254 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.115e-05/0.9868, allocations: 126.9 kB / 1.351 GB, free: 6.129 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.987, allocations: 118.2 kB / 1.351 GB, free: 6.008 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.9871, allocations: 325.9 kB / 1.351 GB, free: 5.684 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003984/0.9875, allocations: 234.9 kB / 1.351 GB, free: 5.453 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006344/0.9882, allocations: 0.5537 MB / 1.352 GB, free: 4.766 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009917/0.9892, allocations: 0.6707 MB / 1.353 GB, free: 4.016 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.9892, allocations: 0 / 1.353 GB, free: 4.016 MB / 1.076 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001272/0.9905, allocations: 0.7758 MB / 1.353 GB, free: 3.227 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/0.9905, allocations: 37.64 kB / 1.353 GB, free: 3.184 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.9905, allocations: 8.062 kB / 1.353 GB, free: 3.176 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.9905, allocations: 8 kB / 1.353 GB, free: 3.168 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005186/0.9911, allocations: 115.8 kB / 1.353 GB, free: 3.055 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/0.9911, allocations: 15.92 kB / 1.353 GB, free: 3.039 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007024/0.9918, allocations: 55.94 kB / 1.353 GB, free: 2.984 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.925e-05/0.9919, allocations: 31.92 kB / 1.354 GB, free: 2.953 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007047/0.9926, allocations: 0.5164 MB / 1.354 GB, free: 2.434 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006106/0.9932, allocations: 0.503 MB / 1.355 GB, free: 1.797 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007968/0.994, allocations: 0.5958 MB / 1.355 GB, free: 1.121 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.405e-06/0.994, allocations: 0 / 1.355 GB, free: 1.121 MB / 1.076 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001155/0.9952, allocations: 0.7011 MB / 1.356 GB, free: 416 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.9952, allocations: 38.3 kB / 1.356 GB, free: 372 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.9953, allocations: 8 kB / 1.356 GB, free: 364 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.9953, allocations: 12 kB / 1.356 GB, free: 352 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004506/0.9957, allocations: 103.9 kB / 1.356 GB, free: 248 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.9957, allocations: 15.92 kB / 1.356 GB, free: 232 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007551/0.9965, allocations: 68.25 kB / 1.356 GB, free: 164 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.103e-05/0.9966, allocations: 24 kB / 1.356 GB, free: 140 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.0002342/0.9968, allocations: 216.1 kB / 1.356 GB, free: 15.92 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.9969, allocations: 107.3 kB / 1.356 GB, free: 15.81 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009828/0.9979, allocations: 0.5349 MB / 1.357 GB, free: 15.27 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.9979, allocations: 8.125 kB / 1.357 GB, free: 15.27 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.998, allocations: 7.938 kB / 1.357 GB, free: 15.26 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.998, allocations: 11.97 kB / 1.357 GB, free: 15.25 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/1, allocations: 1.493 MB / 1.358 GB, free: 13.68 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1, allocations: 3.938 kB / 1.358 GB, free: 13.67 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003415/1.001, allocations: 71.88 kB / 1.358 GB, free: 13.6 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-06/1.001, allocations: 4 kB / 1.358 GB, free: 13.6 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/1.001, allocations: 8 kB / 1.358 GB, free: 13.59 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/1.001, allocations: 7.984 kB / 1.358 GB, free: 13.58 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.001, allocations: 4 kB / 1.358 GB, free: 13.58 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009212/1.002, allocations: 0.66 MB / 1.359 GB, free: 12.88 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004124/1.002, allocations: 236.3 kB / 1.359 GB, free: 12.63 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/1.002, allocations: 8 kB / 1.359 GB, free: 12.62 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005417/1.003, allocations: 39.94 kB / 1.359 GB, free: 12.59 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-05/1.003, allocations: 31.91 kB / 1.359 GB, free: 12.55 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/1.003, allocations: 19.98 kB / 1.359 GB, free: 12.54 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009837/1.004, allocations: 0.8199 MB / 1.36 GB, free: 11.71 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.004, allocations: 0 / 1.36 GB, free: 11.71 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001093/1.005, allocations: 419.6 kB / 1.361 GB, free: 11.3 MB / 1.092 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.00043/1.005, allocations: 187.5 kB / 1.361 GB, free: 11.11 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00146/1.007, allocations: 0.8994 MB / 1.362 GB, free: 10.19 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.007, allocations: 4.188 kB / 1.362 GB, free: 10.18 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003976/1.007, allocations: 234.5 kB / 1.362 GB, free: 9.957 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/1.009, allocations: 0.4977 MB / 1.362 GB, free: 9.461 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/1.012, allocations: 1.777 MB / 1.364 GB, free: 7.625 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006982/1.013, allocations: 1.178 MB / 1.365 GB, free: 6.418 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001009/1.014, allocations: 439.9 kB / 1.366 GB, free: 5.984 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/1.014, allocations: 79.42 kB / 1.366 GB, free: 5.906 MB / 1.092 GB Notification: Performance of SimCode: time 3.066e-06/1.014, allocations: 0 / 1.366 GB, free: 5.906 MB / 1.092 GB Notification: Performance of Templates: time 0.02999/1.044, allocations: 18.79 MB / 1.384 GB, free: 3.344 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/jenkins/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