Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.321/2.321, allocations: 387.1 MB / 399.7 MB, free: 9.441 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.001138/0.001138, allocations: 176.9 kB / 492.3 MB, free: 0.5898 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.62/1.62, allocations: 221.3 MB / 0.7871 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001057, allocations: 90.16 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.78e-05/3.789e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3462, allocations: 142.3 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.347/6.693, allocations: 1.869 GB / 3.082 GB, free: 435.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003531/6.694, allocations: 91.59 kB / 3.082 GB, free: 435.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.898/10.59, allocations: 1.08 GB / 4.162 GB, free: 246 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.144e-06/10.59, allocations: 0 / 4.162 GB, free: 246 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001028/10.59, allocations: 31.98 kB / 4.162 GB, free: 246 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.00371/10.6, allocations: 1.28 MB / 4.163 GB, free: 244.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.632e-05/10.6, allocations: 8.031 kB / 4.163 GB, free: 244.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/10.6, allocations: 196 kB / 4.163 GB, free: 244.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0033/10.6, allocations: 1.433 MB / 4.164 GB, free: 243 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.652e-05/10.6, allocations: 52.17 kB / 4.164 GB, free: 242.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/10.6, allocations: 64 kB / 4.164 GB, free: 242.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/10.6, allocations: 0.9301 MB / 4.165 GB, free: 241.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/10.6, allocations: 3.938 kB / 4.165 GB, free: 241.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.304e-05/10.6, allocations: 24 kB / 4.165 GB, free: 241.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/10.6, allocations: 12 kB / 4.165 GB, free: 241.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008729/10.6, allocations: 0.7103 MB / 4.166 GB, free: 241.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 preOpt removeSimpleEquations (simulation): time 0.003779/10.61, allocations: 4.721 MB / 4.171 GB, free: 236 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/10.61, allocations: 4.012 MB / 4.175 GB, free: 231.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003343/10.61, allocations: 325.7 kB / 4.175 GB, free: 230.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000284/10.61, allocations: 202.2 kB / 4.175 GB, free: 230.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003604/10.61, allocations: 298.7 kB / 4.175 GB, free: 230.3 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004154/10.61, allocations: 31.69 kB / 4.175 GB, free: 230.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 1.843e-06/10.61, allocations: 0 / 4.175 GB, free: 230.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.001267/10.61, allocations: 0.735 MB / 4.176 GB, free: 229.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/10.61, allocations: 85.09 kB / 4.176 GB, free: 229.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/10.61, allocations: 1.039 MB / 4.177 GB, free: 228.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/10.61, allocations: 37.7 kB / 4.177 GB, free: 228.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000308/10.61, allocations: 0.5166 MB / 4.178 GB, free: 227.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.614e-05/10.61, allocations: 126.2 kB / 4.178 GB, free: 227.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/10.61, allocations: 8 kB / 4.178 GB, free: 227.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.157e-05/10.61, allocations: 330 kB / 4.178 GB, free: 227.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/10.61, allocations: 185 kB / 4.178 GB, free: 227.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/10.61, allocations: 0.5288 MB / 4.179 GB, free: 226.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/10.61, allocations: 311.3 kB / 4.179 GB, free: 226.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/10.61, allocations: 0 / 4.179 GB, free: 226.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001156/10.61, allocations: 0.9402 MB / 4.18 GB, free: 225.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004517/10.61, allocations: 2.219 MB / 4.182 GB, free: 222.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/10.61, allocations: 8 kB / 4.182 GB, free: 222.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005402/10.62, allocations: 283.2 kB / 4.183 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/10.62, allocations: 103.7 kB / 4.183 GB, free: 222.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/10.62, allocations: 1.658 MB / 4.184 GB, free: 220.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/10.62, allocations: 99.83 kB / 4.184 GB, free: 220.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.224e-05/10.62, allocations: 28 kB / 4.184 GB, free: 220.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/10.62, allocations: 7.953 kB / 4.184 GB, free: 220.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001085/10.62, allocations: 0.7513 MB / 4.185 GB, free: 219.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/10.62, allocations: 8 kB / 4.185 GB, free: 219.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004471/10.62, allocations: 217.3 kB / 4.185 GB, free: 219.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/10.62, allocations: 83.83 kB / 4.186 GB, free: 219.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002862/10.62, allocations: 2.9 MB / 4.188 GB, free: 216.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/10.62, allocations: 103.7 kB / 4.188 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.492e-05/10.62, allocations: 24 kB / 4.188 GB, free: 216.4 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 (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001701/10.62, allocations: 150.2 kB / 4.189 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/10.62, allocations: 106.7 kB / 4.189 GB, free: 216.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/10.63, allocations: 0.7502 MB / 4.189 GB, free: 215.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/10.63, allocations: 4 kB / 4.189 GB, free: 215.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/10.63, allocations: 4 kB / 4.189 GB, free: 215.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/10.63, allocations: 192 / 4.189 GB, free: 215.4 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.002298/10.63, allocations: 2.112 MB / 4.192 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/10.63, allocations: 7.938 kB / 4.192 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/10.63, allocations: 59.89 kB / 4.192 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003602/10.63, allocations: 198.6 kB / 4.192 GB, free: 212.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/10.63, allocations: 11.98 kB / 4.192 GB, free: 212.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007834/10.63, allocations: 1.471 MB / 4.193 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/10.63, allocations: 4 kB / 4.193 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008724/10.63, allocations: 0.9272 MB / 4.194 GB, free: 210.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00039/10.63, allocations: 239.6 kB / 4.194 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.885e-05/10.63, allocations: 11.98 kB / 4.194 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006561/10.63, allocations: 75.77 kB / 4.194 GB, free: 210 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-05/10.63, allocations: 31.95 kB / 4.194 GB, free: 210 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/10.63, allocations: 19.98 kB / 4.194 GB, free: 209.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000905/10.63, allocations: 0.8104 MB / 4.195 GB, free: 209.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/10.63, allocations: 3.938 kB / 4.195 GB, free: 209.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001779/10.63, allocations: 0.5972 MB / 4.196 GB, free: 208.5 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001441/10.64, allocations: 1.072 MB / 4.197 GB, free: 207.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002191/10.64, allocations: 1.247 MB / 4.198 GB, free: 206.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/10.64, allocations: 0 / 4.198 GB, free: 206.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005005/10.64, allocations: 288.2 kB / 4.198 GB, free: 205.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003066/10.64, allocations: 0.6453 MB / 4.199 GB, free: 205.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/10.64, allocations: 1.477 MB / 4.2 GB, free: 203.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005379/10.64, allocations: 1.239 MB / 4.202 GB, free: 202.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001897/10.65, allocations: 0.8084 MB / 4.202 GB, free: 201.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.757e-05/10.65, allocations: 51.44 kB / 4.203 GB, free: 201.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.012e-06/10.65, allocations: 0 / 4.203 GB, free: 201.6 MB / 1.151 GB Notification: Performance of Templates: time 0.05395/10.7, allocations: 38.11 MB / 4.24 GB, free: 163.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches