Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.408/2.408, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.001152/0.001152, allocations: 176.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 221.3 MB / 0.7915 GB, free: 5.367 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.0009572/0.0009572, allocations: 95.89 kB / 0.9318 GB, free: 5.68 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.783e-05/3.785e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3203, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.224/6.545, allocations: 1.87 GB / 3.089 GB, free: 436.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004072/6.545, allocations: 90.33 kB / 3.089 GB, free: 436.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.189/10.73, allocations: 1.08 GB / 4.169 GB, free: 258.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.775e-06/10.73, allocations: 0 / 4.169 GB, free: 258.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002133/10.73, allocations: 35.98 kB / 4.169 GB, free: 258.5 MB / 1.167 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.004944/10.74, allocations: 1.269 MB / 4.17 GB, free: 257.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/10.74, allocations: 23.91 kB / 4.17 GB, free: 257.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/10.74, allocations: 202.3 kB / 4.17 GB, free: 256.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004342/10.75, allocations: 1.425 MB / 4.172 GB, free: 255.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.048e-05/10.75, allocations: 45.31 kB / 4.172 GB, free: 255.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002179/10.75, allocations: 68 kB / 4.172 GB, free: 255.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/10.75, allocations: 0.9215 MB / 4.173 GB, free: 254.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/10.75, allocations: 7.938 kB / 4.173 GB, free: 254.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.724e-05/10.75, allocations: 20 kB / 4.173 GB, free: 254.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/10.75, allocations: 16 kB / 4.173 GB, free: 254.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/10.75, allocations: 0.7103 MB / 4.173 GB, free: 253.6 MB / 1.167 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.005036/10.75, allocations: 4.727 MB / 4.178 GB, free: 248.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/10.76, allocations: 4.022 MB / 4.182 GB, free: 243.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003441/10.76, allocations: 329.5 kB / 4.182 GB, free: 243.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002903/10.76, allocations: 190.2 kB / 4.182 GB, free: 243.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003675/10.76, allocations: 310.3 kB / 4.183 GB, free: 242.8 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005762/10.76, allocations: 31.69 kB / 4.183 GB, free: 242.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 3.406e-06/10.76, allocations: 0 / 4.183 GB, free: 242.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.00155/10.76, allocations: 0.7467 MB / 4.183 GB, free: 242 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/10.76, allocations: 81.11 kB / 4.183 GB, free: 241.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/10.76, allocations: 1.035 MB / 4.184 GB, free: 240.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.92e-05/10.76, allocations: 33.7 kB / 4.184 GB, free: 240.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/10.76, allocations: 0.5166 MB / 4.185 GB, free: 240.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.862e-05/10.76, allocations: 130.2 kB / 4.185 GB, free: 240.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/10.76, allocations: 12 kB / 4.185 GB, free: 240.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.062e-05/10.76, allocations: 322 kB / 4.185 GB, free: 239.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/10.76, allocations: 193 kB / 4.186 GB, free: 239.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/10.76, allocations: 0.5249 MB / 4.186 GB, free: 239 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/10.76, allocations: 307 kB / 4.186 GB, free: 238.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/10.76, allocations: 0 / 4.186 GB, free: 238.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001239/10.76, allocations: 0.9392 MB / 4.187 GB, free: 237.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004961/10.76, allocations: 2.225 MB / 4.19 GB, free: 235.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/10.76, allocations: 4 kB / 4.19 GB, free: 235.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005272/10.76, allocations: 286.4 kB / 4.19 GB, free: 235.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/10.76, allocations: 99.8 kB / 4.19 GB, free: 235 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/10.77, allocations: 1.65 MB / 4.192 GB, free: 233.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/10.77, allocations: 107.8 kB / 4.192 GB, free: 233.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-05/10.77, allocations: 28.19 kB / 4.192 GB, free: 233.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/10.77, allocations: 4 kB / 4.192 GB, free: 233.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001086/10.77, allocations: 0.7563 MB / 4.192 GB, free: 232.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/10.77, allocations: 7.938 kB / 4.192 GB, free: 232.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004225/10.77, allocations: 217.8 kB / 4.193 GB, free: 232.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/10.77, allocations: 79.84 kB / 4.193 GB, free: 232.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002935/10.77, allocations: 2.889 MB / 4.195 GB, free: 229 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/10.77, allocations: 103.8 kB / 4.196 GB, free: 228.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/10.77, allocations: 24 kB / 4.196 GB, free: 228.9 MB / 1.167 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.000173/10.77, allocations: 144 kB / 4.196 GB, free: 228.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/10.77, allocations: 118.5 kB / 4.196 GB, free: 228.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/10.77, allocations: 0.7399 MB / 4.197 GB, free: 227.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/10.77, allocations: 7.984 kB / 4.197 GB, free: 227.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/10.77, allocations: 0 / 4.197 GB, free: 227.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/10.77, allocations: 0 / 4.197 GB, free: 227.9 MB / 1.167 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.002393/10.78, allocations: 2.132 MB / 4.199 GB, free: 225.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/10.78, allocations: 4 kB / 4.199 GB, free: 225.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/10.78, allocations: 55.89 kB / 4.199 GB, free: 225.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003596/10.78, allocations: 204.9 kB / 4.199 GB, free: 225.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/10.78, allocations: 19.98 kB / 4.199 GB, free: 225.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008199/10.78, allocations: 1.47 MB / 4.2 GB, free: 223.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/10.78, allocations: 0 / 4.2 GB, free: 223.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008645/10.78, allocations: 0.9249 MB / 4.201 GB, free: 222.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/10.78, allocations: 231.8 kB / 4.202 GB, free: 222.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/10.78, allocations: 15.97 kB / 4.202 GB, free: 222.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006647/10.78, allocations: 79.77 kB / 4.202 GB, free: 222.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.305e-05/10.78, allocations: 27.95 kB / 4.202 GB, free: 222.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/10.78, allocations: 19.98 kB / 4.202 GB, free: 222.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008604/10.78, allocations: 0.8143 MB / 4.202 GB, free: 221.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/10.78, allocations: 0 / 4.202 GB, free: 221.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001819/10.78, allocations: 0.5972 MB / 4.203 GB, free: 221 MB / 1.167 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.001523/10.78, allocations: 1.064 MB / 4.204 GB, free: 219.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002296/10.79, allocations: 1.252 MB / 4.205 GB, free: 218.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/10.79, allocations: 4 kB / 4.205 GB, free: 218.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005113/10.79, allocations: 288.2 kB / 4.206 GB, free: 218.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003189/10.79, allocations: 0.6535 MB / 4.206 GB, free: 217.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/10.79, allocations: 1.451 MB / 4.208 GB, free: 216.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005246/10.79, allocations: 1.246 MB / 4.209 GB, free: 214.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001907/10.8, allocations: 0.8006 MB / 4.21 GB, free: 214.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.153e-05/10.8, allocations: 47.44 kB / 4.21 GB, free: 214.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.192e-06/10.8, allocations: 0 / 4.21 GB, free: 214.1 MB / 1.167 GB Notification: Performance of Templates: time 0.05045/10.85, allocations: 38.12 MB / 4.247 GB, free: 176.1 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches