Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.396/2.396, allocations: 387.4 MB / 394.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 180.8 kB / 487.4 MB, free: 5.039 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.685/1.685, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009676/0.0009678, allocations: 98.14 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.829e-05/2.849e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3431, allocations: 142.3 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.475/6.818, allocations: 1.871 GB / 3.077 GB, free: 363 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/6.819, allocations: 89.61 kB / 3.077 GB, free: 363 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.021/13.84, allocations: 1.986 GB / 5.063 GB, free: 200.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.392e-06/13.84, allocations: 8 kB / 5.063 GB, free: 200.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001818/13.84, allocations: 31.98 kB / 5.063 GB, free: 200.8 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.004408/13.84, allocations: 1.277 MB / 5.065 GB, free: 199.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/13.84, allocations: 12.03 kB / 5.065 GB, free: 199.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/13.85, allocations: 198.4 kB / 5.065 GB, free: 199.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003908/13.85, allocations: 1.456 MB / 5.066 GB, free: 197.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.399e-05/13.85, allocations: 20 kB / 5.066 GB, free: 197.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/13.85, allocations: 43.98 kB / 5.066 GB, free: 197.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001044/13.85, allocations: 0.6975 MB / 5.067 GB, free: 197 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/13.85, allocations: 0.8492 MB / 5.068 GB, free: 196.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/13.85, allocations: 0 / 5.068 GB, free: 196.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.25e-05/13.85, allocations: 4 kB / 5.068 GB, free: 196 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/13.85, allocations: 12 kB / 5.068 GB, free: 196 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.004113/13.86, allocations: 4.569 MB / 5.072 GB, free: 191.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/13.86, allocations: 4.028 MB / 5.076 GB, free: 186.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003654/13.86, allocations: 335.8 kB / 5.077 GB, free: 186 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002666/13.86, allocations: 194.2 kB / 5.077 GB, free: 185.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000368/13.86, allocations: 296.8 kB / 5.077 GB, free: 185.4 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004545/13.86, allocations: 11.84 kB / 5.077 GB, free: 185.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 2.555e-06/13.86, allocations: 3.938 kB / 5.077 GB, free: 185.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.001768/13.86, allocations: 0.8517 MB / 5.078 GB, free: 184.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/13.86, allocations: 81.11 kB / 5.078 GB, free: 184.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/13.86, allocations: 0.9028 MB / 5.079 GB, free: 183.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.861e-05/13.86, allocations: 29.7 kB / 5.079 GB, free: 183.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003284/13.86, allocations: 0.5238 MB / 5.079 GB, free: 183 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.842e-05/13.86, allocations: 126.1 kB / 5.08 GB, free: 182.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/13.86, allocations: 0 / 5.08 GB, free: 182.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.294e-05/13.86, allocations: 326 kB / 5.08 GB, free: 182.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/13.86, allocations: 208.9 kB / 5.08 GB, free: 182.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003776/13.86, allocations: 0.5355 MB / 5.081 GB, free: 181.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/13.86, allocations: 293.4 kB / 5.081 GB, free: 181.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/13.86, allocations: 0 / 5.081 GB, free: 181.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001517/13.87, allocations: 0.9806 MB / 5.082 GB, free: 180.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003655/13.87, allocations: 2.221 MB / 5.084 GB, free: 178 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/13.87, allocations: 15.98 kB / 5.084 GB, free: 177.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004601/13.87, allocations: 245.7 kB / 5.084 GB, free: 177.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/13.87, allocations: 79.88 kB / 5.084 GB, free: 177.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009177/13.87, allocations: 1.16 MB / 5.085 GB, free: 176.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/13.87, allocations: 91.8 kB / 5.086 GB, free: 176.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.92e-05/13.87, allocations: 39.92 kB / 5.086 GB, free: 176.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/13.87, allocations: 4 kB / 5.086 GB, free: 176.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009977/13.87, allocations: 0.6604 MB / 5.086 GB, free: 175.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/13.87, allocations: 15.98 kB / 5.086 GB, free: 175.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005562/13.87, allocations: 228.7 kB / 5.086 GB, free: 175.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/13.87, allocations: 75.81 kB / 5.086 GB, free: 175.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/13.87, allocations: 2.973 MB / 5.089 GB, free: 172.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/13.87, allocations: 91.94 kB / 5.089 GB, free: 172.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/13.87, allocations: 27.98 kB / 5.09 GB, free: 172.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0001599/13.87, allocations: 121.8 kB / 5.09 GB, free: 172 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/13.88, allocations: 106.8 kB / 5.09 GB, free: 171.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/13.88, allocations: 0.7341 MB / 5.09 GB, free: 171.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/13.88, allocations: 8.188 kB / 5.09 GB, free: 171.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/13.88, allocations: 0 / 5.09 GB, free: 171.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/13.88, allocations: 11.97 kB / 5.09 GB, free: 171.1 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.002394/13.88, allocations: 2.044 MB / 5.092 GB, free: 169 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/13.88, allocations: 0 / 5.092 GB, free: 169 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/13.88, allocations: 56.14 kB / 5.093 GB, free: 168.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002798/13.88, allocations: 160.7 kB / 5.093 GB, free: 168.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/13.88, allocations: 11.94 kB / 5.093 GB, free: 168.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005686/13.88, allocations: 0.8957 MB / 5.094 GB, free: 167.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/13.88, allocations: 0 / 5.094 GB, free: 167.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00091/13.88, allocations: 0.9251 MB / 5.094 GB, free: 166.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003844/13.88, allocations: 223.7 kB / 5.095 GB, free: 166.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/13.88, allocations: 8 kB / 5.095 GB, free: 166.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006696/13.88, allocations: 79.75 kB / 5.095 GB, free: 166.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.777e-05/13.88, allocations: 35.89 kB / 5.095 GB, free: 166.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/13.88, allocations: 8 kB / 5.095 GB, free: 166.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008041/13.88, allocations: 0.7025 MB / 5.095 GB, free: 165.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/13.88, allocations: 0 / 5.095 GB, free: 165.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001878/13.88, allocations: 0.5736 MB / 5.096 GB, free: 165.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001857/13.89, allocations: 1.289 MB / 5.097 GB, free: 163.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001629/13.89, allocations: 1.089 MB / 5.098 GB, free: 162.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/13.89, allocations: 4 kB / 5.098 GB, free: 162.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003186/13.89, allocations: 227.5 kB / 5.099 GB, free: 162.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00321/13.89, allocations: 0.5812 MB / 5.099 GB, free: 161.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/13.89, allocations: 1.424 MB / 5.101 GB, free: 160.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007568/13.9, allocations: 1.238 MB / 5.102 GB, free: 159.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002163/13.9, allocations: 0.726 MB / 5.102 GB, free: 158.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/13.9, allocations: 51.42 kB / 5.103 GB, free: 158.4 MB / 1.151 GB Notification: Performance of SimCode: time 9.01e-07/13.9, allocations: 0 / 5.103 GB, free: 158.4 MB / 1.151 GB Notification: Performance of Templates: time 0.03859/13.94, allocations: 25.96 MB / 5.128 GB, free: 132.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches