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.428/2.428, allocations: 390.5 MB / 398 MB, free: 10.95 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.001543/0.001543, allocations: 188.6 kB / 491.2 MB, free: 1.547 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.752/1.752, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.001043/0.001043, allocations: 95.89 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.243e-05/2.239e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3513, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.857/6.208, allocations: 1.869 GB / 3.082 GB, free: 358 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/6.209, allocations: 89.84 kB / 3.082 GB, free: 358 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.924/10.13, allocations: 1.069 GB / 4.15 GB, free: 216.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.883e-06/10.13, allocations: 0 / 4.15 GB, free: 216.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002477/10.13, allocations: 35.98 kB / 4.15 GB, free: 216.6 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.005473/10.14, allocations: 1.272 MB / 4.152 GB, free: 215.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/10.14, allocations: 12.03 kB / 4.152 GB, free: 215.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/10.14, allocations: 194.4 kB / 4.152 GB, free: 215 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004602/10.15, allocations: 1.429 MB / 4.153 GB, free: 213.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.17e-05/10.15, allocations: 27.88 kB / 4.153 GB, free: 213.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002376/10.15, allocations: 43.94 kB / 4.153 GB, free: 213.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001307/10.15, allocations: 0.7014 MB / 4.154 GB, free: 212.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/10.15, allocations: 0.8493 MB / 4.155 GB, free: 211.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/10.15, allocations: 3.938 kB / 4.155 GB, free: 211.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.249e-05/10.15, allocations: 4 kB / 4.155 GB, free: 211.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/10.15, allocations: 23.94 kB / 4.155 GB, free: 211.8 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.005462/10.15, allocations: 4.589 MB / 4.159 GB, free: 206.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/10.16, allocations: 4.083 MB / 4.163 GB, free: 202 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003821/10.16, allocations: 332.7 kB / 4.164 GB, free: 201.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003289/10.16, allocations: 202.2 kB / 4.164 GB, free: 201.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003796/10.16, allocations: 287 kB / 4.164 GB, free: 201.1 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006107/10.16, allocations: 19.75 kB / 4.164 GB, free: 201.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 3.446e-06/10.16, allocations: 0 / 4.164 GB, free: 201.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.002008/10.16, allocations: 0.8243 MB / 4.165 GB, free: 200.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/10.16, allocations: 81.11 kB / 4.165 GB, free: 200.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/10.16, allocations: 0.9063 MB / 4.166 GB, free: 199.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.425e-05/10.16, allocations: 29.7 kB / 4.166 GB, free: 199.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004191/10.16, allocations: 0.5238 MB / 4.166 GB, free: 198.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/10.16, allocations: 130.1 kB / 4.166 GB, free: 198.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/10.16, allocations: 0 / 4.166 GB, free: 198.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.487e-05/10.16, allocations: 322 kB / 4.167 GB, free: 198.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/10.16, allocations: 205 kB / 4.167 GB, free: 198.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000454/10.16, allocations: 0.5432 MB / 4.167 GB, free: 197.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/10.16, allocations: 286.1 kB / 4.168 GB, free: 197.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/10.16, allocations: 4 kB / 4.168 GB, free: 197.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001804/10.16, allocations: 0.9649 MB / 4.169 GB, free: 196.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005877/10.17, allocations: 2.212 MB / 4.171 GB, free: 193.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/10.17, allocations: 8 kB / 4.171 GB, free: 193.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004392/10.17, allocations: 255.7 kB / 4.171 GB, free: 193.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/10.17, allocations: 95.72 kB / 4.171 GB, free: 193.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/10.17, allocations: 1.755 MB / 4.173 GB, free: 191.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/10.17, allocations: 91.78 kB / 4.173 GB, free: 191.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.009e-05/10.17, allocations: 31.98 kB / 4.173 GB, free: 191.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/10.17, allocations: 4 kB / 4.173 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001019/10.17, allocations: 0.6604 MB / 4.174 GB, free: 190.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/10.17, allocations: 4 kB / 4.174 GB, free: 190.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000419/10.17, allocations: 198.9 kB / 4.174 GB, free: 190.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/10.17, allocations: 83.84 kB / 4.174 GB, free: 190.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002927/10.17, allocations: 2.8 MB / 4.177 GB, free: 187.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/10.17, allocations: 87.8 kB / 4.177 GB, free: 187.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.524e-05/10.17, allocations: 27.94 kB / 4.177 GB, free: 187.5 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.0002152/10.18, allocations: 125.1 kB / 4.177 GB, free: 187.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/10.18, allocations: 106.7 kB / 4.177 GB, free: 187.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/10.18, allocations: 0.7224 MB / 4.178 GB, free: 186.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/10.18, allocations: 4 kB / 4.178 GB, free: 186.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/10.18, allocations: 4 kB / 4.178 GB, free: 186.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/10.18, allocations: 3.984 kB / 4.178 GB, free: 186.5 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.002332/10.18, allocations: 2.009 MB / 4.18 GB, free: 184.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/10.18, allocations: 0 / 4.18 GB, free: 184.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/10.18, allocations: 59.95 kB / 4.18 GB, free: 184.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002556/10.18, allocations: 160.6 kB / 4.18 GB, free: 184.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/10.18, allocations: 11.98 kB / 4.18 GB, free: 184.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000836/10.18, allocations: 1.475 MB / 4.181 GB, free: 182.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/10.18, allocations: 4.031 kB / 4.181 GB, free: 182.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008588/10.18, allocations: 0.9049 MB / 4.182 GB, free: 181.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003638/10.18, allocations: 227.8 kB / 4.182 GB, free: 181.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/10.18, allocations: 7.953 kB / 4.182 GB, free: 181.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006683/10.18, allocations: 71.75 kB / 4.183 GB, free: 181.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.927e-05/10.18, allocations: 31.95 kB / 4.183 GB, free: 181.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/10.18, allocations: 16 kB / 4.183 GB, free: 181.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007891/10.18, allocations: 0.6984 MB / 4.183 GB, free: 180.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.31e-07/10.18, allocations: 0 / 4.183 GB, free: 180.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001897/10.19, allocations: 0.5656 MB / 4.184 GB, free: 179.9 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.001816/10.19, allocations: 1.206 MB / 4.185 GB, free: 178.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002445/10.19, allocations: 1.203 MB / 4.186 GB, free: 177.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/10.19, allocations: 4 kB / 4.186 GB, free: 177.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004875/10.19, allocations: 291.5 kB / 4.186 GB, free: 177.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003209/10.19, allocations: 0.5802 MB / 4.187 GB, free: 176.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/10.2, allocations: 1.428 MB / 4.188 GB, free: 175.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006116/10.2, allocations: 1.238 MB / 4.19 GB, free: 173.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001825/10.2, allocations: 0.7103 MB / 4.19 GB, free: 173.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.299e-05/10.2, allocations: 47.44 kB / 4.19 GB, free: 173.1 MB / 1.151 GB Notification: Performance of SimCode: time 2.094e-06/10.2, allocations: 0 / 4.19 GB, free: 173.1 MB / 1.151 GB Notification: Performance of Templates: time 0.04298/10.24, allocations: 25.2 MB / 4.215 GB, free: 148.1 MB / 1.151 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