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.001214/0.001214, allocations: 109.1 kB / 16.27 MB, free: 6.414 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.001295/0.001295, allocations: 191.6 kB / 17.2 MB, free: 5.953 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.343/1.343, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.239/2.239, allocations: 390.3 MB / 0.6653 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 71.91 kB / 0.8132 GB, free: 32.99 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.281, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.701/0.982, allocations: 161.6 MB / 1.108 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005344/0.9874, allocations: 3.627 MB / 1.112 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000415/0.9878, allocations: 11.53 kB / 1.112 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006523/0.9885, allocations: 163.5 kB / 1.112 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.9901, allocations: 0.5217 MB / 1.112 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.9914, allocations: 440.5 kB / 1.113 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003106/0.9945, allocations: 2.56 MB / 1.115 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003137/0.9977, allocations: 2.42 MB / 1.118 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002479/1, allocations: 1.041 MB / 1.119 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/1.001, allocations: 0.7087 MB / 1.119 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001364/1.001, allocations: 58.75 kB / 1.119 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001859/1.003, allocations: 0.7416 MB / 1.12 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004294/1.004, allocations: 313 kB / 1.12 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000879/1.005, allocations: 0.5461 MB / 1.121 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002196/1.007, allocations: 1.403 MB / 1.122 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.007, allocations: 1.062 kB / 1.122 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/1.007, allocations: 0 / 1.122 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.524e-05/1.007, allocations: 4 kB / 1.122 GB, free: 4.531 MB / 0.8575 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.002666/1.009, allocations: 1.46 MB / 1.124 GB, free: 19.68 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/1.01, allocations: 9.156 kB / 1.124 GB, free: 19.68 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008493/1.01, allocations: 189 kB / 1.124 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/1.012, allocations: 0.8052 MB / 1.125 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.662e-05/1.012, allocations: 44.38 kB / 1.125 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/1.012, allocations: 58.66 kB / 1.125 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/1.013, allocations: 0.817 MB / 1.126 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/1.013, allocations: 4.969 kB / 1.126 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.946e-05/1.013, allocations: 26.78 kB / 1.126 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/1.013, allocations: 16.62 kB / 1.126 GB, free: 19.01 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009666/1.014, allocations: 0.5619 MB / 1.126 GB, free: 19 MB / 0.8731 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.003986/1.018, allocations: 4.225 MB / 1.13 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000739/1.019, allocations: 439.6 kB / 1.131 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004638/1.019, allocations: 338.1 kB / 1.131 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003185/1.02, allocations: 195.3 kB / 1.131 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005088/1.02, allocations: 325.2 kB / 1.132 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002668/1.021, allocations: 29.06 kB / 1.132 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/1.021, allocations: 0 / 1.132 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.001391/1.022, allocations: 0.7134 MB / 1.132 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/1.022, allocations: 83.45 kB / 1.132 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/1.023, allocations: 1.154 MB / 1.133 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.099e-05/1.023, allocations: 37.61 kB / 1.134 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003653/1.024, allocations: 484.5 kB / 1.134 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.705e-05/1.024, allocations: 122.9 kB / 1.134 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/1.024, allocations: 115.1 kB / 1.134 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001117/1.024, allocations: 328.6 kB / 1.135 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/1.025, allocations: 239.5 kB / 1.135 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005726/1.025, allocations: 0.5392 MB / 1.135 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008735/1.026, allocations: 0.6771 MB / 1.136 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/1.026, allocations: 6.219 kB / 1.136 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001197/1.027, allocations: 0.7656 MB / 1.137 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.007e-05/1.027, allocations: 33.11 kB / 1.137 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/1.027, allocations: 5.719 kB / 1.137 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/1.027, allocations: 8.469 kB / 1.137 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005278/1.028, allocations: 119.2 kB / 1.137 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/1.028, allocations: 10.62 kB / 1.137 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008514/1.029, allocations: 64.44 kB / 1.137 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/1.029, allocations: 23.59 kB / 1.137 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007109/1.03, allocations: 0.525 MB / 1.137 GB, free: 14 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004645/1.03, allocations: 0.4994 MB / 1.138 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000707/1.031, allocations: 0.5962 MB / 1.139 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.056e-06/1.031, allocations: 5.5 kB / 1.139 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001058/1.032, allocations: 0.6879 MB / 1.139 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/1.032, allocations: 36.78 kB / 1.139 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.032, allocations: 5.656 kB / 1.139 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/1.032, allocations: 8.562 kB / 1.139 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/1.032, allocations: 113.9 kB / 1.139 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/1.032, allocations: 10.19 kB / 1.139 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008096/1.033, allocations: 65.52 kB / 1.139 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.791e-05/1.033, allocations: 24.42 kB / 1.139 GB, free: 13.25 MB / 0.8731 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.0001859/1.033, allocations: 224.4 kB / 1.14 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/1.034, allocations: 104.5 kB / 1.14 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009503/1.035, allocations: 0.5436 MB / 1.14 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/1.035, allocations: 3.312 kB / 1.14 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.035, allocations: 1.344 kB / 1.14 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/1.035, allocations: 6.656 kB / 1.14 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/1.037, allocations: 1.493 MB / 1.142 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/1.037, allocations: 2.312 kB / 1.142 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/1.037, allocations: 65.64 kB / 1.142 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/1.037, allocations: 3.438 kB / 1.142 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/1.037, allocations: 10.81 kB / 1.142 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/1.037, allocations: 8.656 kB / 1.142 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/1.037, allocations: 2.75 kB / 1.142 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008568/1.038, allocations: 0.6596 MB / 1.142 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003224/1.038, allocations: 225.7 kB / 1.143 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/1.038, allocations: 13.56 kB / 1.143 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005722/1.039, allocations: 37.89 kB / 1.143 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.688e-05/1.039, allocations: 39.72 kB / 1.143 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/1.039, allocations: 11.48 kB / 1.143 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001107/1.04, allocations: 0.8199 MB / 1.144 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of sort global known variables: time 5.91e-07/1.04, allocations: 0 / 1.144 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001286/1.042, allocations: 428.4 kB / 1.144 GB, free: 11.93 MB / 0.8731 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.0004456/1.042, allocations: 173.1 kB / 1.144 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00159/1.044, allocations: 0.9585 MB / 1.145 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.044, allocations: 4.062 kB / 1.145 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003864/1.044, allocations: 222.8 kB / 1.145 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/1.046, allocations: 0.4969 MB / 1.146 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/1.049, allocations: 1.84 MB / 1.148 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007383/1.05, allocations: 1.185 MB / 1.149 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/1.05, allocations: 81.02 kB / 1.149 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of SimCode: time 6.21e-07/1.05, allocations: 0 / 1.149 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of Templates: time 0.0262/1.076, allocations: 16.53 MB / 1.165 GB, free: 4.484 MB / 0.8731 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