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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008503/0.0008504, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.000869/0.0008691, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.797/2.797, allocations: 437.7 MB / 0.7117 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004667, allocations: 12 kB / 0.8722 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9163/0.9168, allocations: 153.8 MB / 1.022 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.2045/1.121, allocations: 146.8 MB / 1.166 GB, free: 13.01 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00532/1.127, allocations: 3.37 MB / 1.169 GB, free: 9.637 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003985/1.127, allocations: 7.938 kB / 1.169 GB, free: 9.629 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000602/1.128, allocations: 119.2 kB / 1.169 GB, free: 9.512 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001335/1.129, allocations: 390.1 kB / 1.169 GB, free: 9.129 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00128/1.13, allocations: 370.5 kB / 1.17 GB, free: 8.773 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003708/1.134, allocations: 3.015 MB / 1.173 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00316/1.137, allocations: 2.16 MB / 1.175 GB, free: 3.566 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002267/1.14, allocations: 0.8559 MB / 1.176 GB, free: 2.707 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/1.141, allocations: 0.7118 MB / 1.176 GB, free: 1.992 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001104/1.141, allocations: 36 kB / 1.176 GB, free: 1.957 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/1.142, allocations: 0.5574 MB / 1.177 GB, free: 1.398 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003321/1.143, allocations: 278.9 kB / 1.177 GB, free: 1.125 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004219/1.143, allocations: 229.1 kB / 1.178 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001479/1.145, allocations: 1.041 MB / 1.179 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/1.145, allocations: 4 kB / 1.179 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.963e-06/1.145, allocations: 0 / 1.179 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.535e-05/1.145, allocations: 4 kB / 1.179 GB, free: 15.84 MB / 0.9356 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.002228/1.147, allocations: 1.336 MB / 1.18 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/1.147, allocations: 15.97 kB / 1.18 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007575/1.148, allocations: 186.5 kB / 1.18 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/1.149, allocations: 0.808 MB / 1.181 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.194e-05/1.149, allocations: 41 kB / 1.181 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.728e-05/1.149, allocations: 60 kB / 1.181 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/1.151, allocations: 0.8238 MB / 1.182 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/1.151, allocations: 7.938 kB / 1.182 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.682e-05/1.151, allocations: 20 kB / 1.182 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/1.151, allocations: 16 kB / 1.182 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009749/1.152, allocations: 0.5735 MB / 1.182 GB, free: 11.77 MB / 0.9356 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.004566/1.156, allocations: 4.247 MB / 1.186 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007671/1.157, allocations: 450.2 kB / 1.187 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005273/1.158, allocations: 355.5 kB / 1.187 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003356/1.158, allocations: 198.1 kB / 1.187 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005681/1.159, allocations: 331.7 kB / 1.188 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002827/1.159, allocations: 31.69 kB / 1.188 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 2.034e-06/1.159, allocations: 4 kB / 1.188 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.001407/1.16, allocations: 0.7227 MB / 1.188 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/1.16, allocations: 85.05 kB / 1.189 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/1.162, allocations: 1.155 MB / 1.19 GB, free: 3.844 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/1.162, allocations: 37.7 kB / 1.19 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004853/1.162, allocations: 484.5 kB / 1.19 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/1.162, allocations: 106.4 kB / 1.19 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/1.162, allocations: 12 kB / 1.19 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.163, allocations: 326 kB / 1.191 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/1.163, allocations: 209 kB / 1.191 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006338/1.164, allocations: 0.5148 MB / 1.191 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004706/1.164, allocations: 322.9 kB / 1.192 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.164, allocations: 0 / 1.192 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001117/1.165, allocations: 0.7249 MB / 1.192 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002167/1.165, allocations: 287.2 kB / 1.193 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/1.165, allocations: 4 kB / 1.193 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/1.165, allocations: 8 kB / 1.193 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005128/1.166, allocations: 119.8 kB / 1.193 GB, free: 492 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/1.166, allocations: 8 kB / 1.193 GB, free: 484 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007579/1.167, allocations: 91.75 kB / 1.193 GB, free: 392 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.518e-05/1.167, allocations: 27.98 kB / 1.193 GB, free: 364 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.653e-06/1.167, allocations: 4 kB / 1.193 GB, free: 360 kB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009398/1.168, allocations: 0.5789 MB / 1.193 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/1.168, allocations: 4 kB / 1.193 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/1.168, allocations: 12 kB / 1.193 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004197/1.168, allocations: 120.4 kB / 1.194 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/1.168, allocations: 15.92 kB / 1.194 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006779/1.169, allocations: 91.75 kB / 1.194 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/1.169, allocations: 24 kB / 1.194 GB, free: 15.5 MB / 0.9512 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005539/1.17, allocations: 468.6 kB / 1.194 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/1.17, allocations: 102.8 kB / 1.194 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/1.171, allocations: 0.5466 MB / 1.195 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/1.171, allocations: 11.89 kB / 1.195 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.171, allocations: 0 / 1.195 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/1.171, allocations: 3.984 kB / 1.195 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/1.173, allocations: 1.499 MB / 1.196 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/1.173, allocations: 4 kB / 1.196 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/1.173, allocations: 79.78 kB / 1.196 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/1.173, allocations: 4 kB / 1.196 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/1.173, allocations: 8.219 kB / 1.196 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/1.173, allocations: 11.94 kB / 1.196 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.173, allocations: 384 / 1.196 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000896/1.174, allocations: 0.6664 MB / 1.197 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003202/1.175, allocations: 231.7 kB / 1.197 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/1.175, allocations: 11.98 kB / 1.197 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005925/1.175, allocations: 75.84 kB / 1.197 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.468e-05/1.175, allocations: 31.92 kB / 1.197 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/1.175, allocations: 11.98 kB / 1.197 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001012/1.176, allocations: 0.8159 MB / 1.198 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/1.176, allocations: 0 / 1.198 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001138/1.178, allocations: 423.4 kB / 1.199 GB, free: 10.37 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004596/1.178, allocations: 179.5 kB / 1.199 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001427/1.18, allocations: 0.895 MB / 1.2 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.18, allocations: 0 / 1.2 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004105/1.18, allocations: 242 kB / 1.2 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002844/1.183, allocations: 0.6384 MB / 1.2 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/1.186, allocations: 1.987 MB / 1.202 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007687/1.187, allocations: 1.182 MB / 1.204 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001202/1.188, allocations: 436 kB / 1.204 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/1.188, allocations: 79.42 kB / 1.204 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of SimCode: time 6.02e-07/1.188, allocations: 4 kB / 1.204 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of Templates: time 0.03554/1.223, allocations: 18.63 MB / 1.222 GB, free: 2.234 MB / 0.9669 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