Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.571/2.571, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.001021/0.001021, allocations: 188.8 kB / 496.1 MB, free: 12.85 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.561/1.561, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.0009173/0.0009175, allocations: 99.25 kB / 0.9318 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.646e-05/3.65e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3353, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.466/6.801, allocations: 1.873 GB / 3.091 GB, free: 435.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/6.802, allocations: 89.03 kB / 3.092 GB, free: 435.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.628/14.43, allocations: 2.007 GB / 5.098 GB, free: 225.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.523e-06/14.43, allocations: 0 / 5.098 GB, free: 225.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.00021/14.43, allocations: 31.98 kB / 5.098 GB, free: 225.4 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.00471/14.43, allocations: 1.269 MB / 5.099 GB, free: 224.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/14.43, allocations: 12.03 kB / 5.099 GB, free: 224.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/14.44, allocations: 198.4 kB / 5.1 GB, free: 223.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004414/14.44, allocations: 1.46 MB / 5.101 GB, free: 222.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.525e-05/14.44, allocations: 53.31 kB / 5.101 GB, free: 222.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/14.44, allocations: 60 kB / 5.101 GB, free: 222.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/14.44, allocations: 0.9226 MB / 5.102 GB, free: 221.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/14.44, allocations: 7.938 kB / 5.102 GB, free: 221.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.627e-05/14.44, allocations: 24 kB / 5.102 GB, free: 221.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/14.44, allocations: 12 kB / 5.102 GB, free: 221.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009354/14.44, allocations: 0.7103 MB / 5.103 GB, free: 220.5 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.003975/14.45, allocations: 4.695 MB / 5.107 GB, free: 215.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/14.45, allocations: 3.968 MB / 5.111 GB, free: 210.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003381/14.45, allocations: 333.4 kB / 5.112 GB, free: 210.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002687/14.45, allocations: 196 kB / 5.112 GB, free: 210.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003691/14.45, allocations: 309.2 kB / 5.112 GB, free: 209.8 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005306/14.45, allocations: 31.69 kB / 5.112 GB, free: 209.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 2.244e-06/14.45, allocations: 0 / 5.112 GB, free: 209.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.001279/14.45, allocations: 0.7703 MB / 5.113 GB, free: 209 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/14.45, allocations: 81.11 kB / 5.113 GB, free: 208.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/14.45, allocations: 1.032 MB / 5.114 GB, free: 207.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/14.45, allocations: 41.69 kB / 5.114 GB, free: 207.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/14.45, allocations: 0.5205 MB / 5.114 GB, free: 207.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.619e-05/14.45, allocations: 122.2 kB / 5.115 GB, free: 207.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.182e-05/14.45, allocations: 16 kB / 5.115 GB, free: 207.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.947e-05/14.45, allocations: 330 kB / 5.115 GB, free: 206.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/14.45, allocations: 185 kB / 5.115 GB, free: 206.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/14.45, allocations: 0.5287 MB / 5.116 GB, free: 205.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000334/14.45, allocations: 311.1 kB / 5.116 GB, free: 205.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/14.45, allocations: 0 / 5.116 GB, free: 205.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001179/14.45, allocations: 0.9587 MB / 5.117 GB, free: 204.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004008/14.46, allocations: 2.218 MB / 5.119 GB, free: 202.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/14.46, allocations: 11.98 kB / 5.119 GB, free: 202.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005443/14.46, allocations: 280.3 kB / 5.119 GB, free: 202 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/14.46, allocations: 75.88 kB / 5.119 GB, free: 201.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008369/14.46, allocations: 1.034 MB / 5.12 GB, free: 200.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/14.46, allocations: 115.6 kB / 5.12 GB, free: 200.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/14.46, allocations: 31.98 kB / 5.12 GB, free: 200.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/14.46, allocations: 4 kB / 5.12 GB, free: 200.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001069/14.46, allocations: 0.7635 MB / 5.121 GB, free: 199.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/14.46, allocations: 4 kB / 5.121 GB, free: 199.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005225/14.46, allocations: 265.2 kB / 5.121 GB, free: 199.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/14.46, allocations: 67.89 kB / 5.122 GB, free: 199.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00299/14.46, allocations: 3.068 MB / 5.125 GB, free: 196.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/14.46, allocations: 111.7 kB / 5.125 GB, free: 196.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.374e-05/14.46, allocations: 28 kB / 5.125 GB, free: 196.3 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 (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.0001581/14.46, allocations: 137.3 kB / 5.125 GB, free: 196.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/14.46, allocations: 114.6 kB / 5.125 GB, free: 196 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/14.47, allocations: 0.7776 MB / 5.126 GB, free: 195.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/14.47, allocations: 4 kB / 5.126 GB, free: 195.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/14.47, allocations: 0 / 5.126 GB, free: 195.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/14.47, allocations: 0 / 5.126 GB, free: 195.2 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.002447/14.47, allocations: 2.152 MB / 5.128 GB, free: 192.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/14.47, allocations: 0 / 5.128 GB, free: 192.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/14.47, allocations: 52.16 kB / 5.128 GB, free: 192.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003983/14.47, allocations: 204.6 kB / 5.128 GB, free: 192.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/14.47, allocations: 16 kB / 5.128 GB, free: 192.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005462/14.47, allocations: 0.8762 MB / 5.129 GB, free: 191.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/14.47, allocations: 0 / 5.129 GB, free: 191.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009605/14.47, allocations: 0.9551 MB / 5.13 GB, free: 190.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003865/14.47, allocations: 231.7 kB / 5.13 GB, free: 190.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/14.47, allocations: 15.94 kB / 5.13 GB, free: 190.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006791/14.47, allocations: 87.69 kB / 5.13 GB, free: 190.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.283e-05/14.47, allocations: 31.91 kB / 5.13 GB, free: 190.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/14.47, allocations: 16 kB / 5.13 GB, free: 190.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000917/14.47, allocations: 0.8145 MB / 5.131 GB, free: 189.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/14.47, allocations: 0 / 5.131 GB, free: 189.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002025/14.47, allocations: 0.6089 MB / 5.132 GB, free: 188.9 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 (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.001608/14.48, allocations: 1.134 MB / 5.133 GB, free: 187.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001592/14.48, allocations: 1.134 MB / 5.134 GB, free: 186.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/14.48, allocations: 0 / 5.134 GB, free: 186.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003456/14.48, allocations: 243.4 kB / 5.134 GB, free: 186.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003126/14.48, allocations: 0.6437 MB / 5.135 GB, free: 185.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/14.48, allocations: 1.459 MB / 5.136 GB, free: 184.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/14.48, allocations: 1.238 MB / 5.137 GB, free: 182.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001796/14.49, allocations: 0.8045 MB / 5.138 GB, free: 182.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.823e-05/14.49, allocations: 47.44 kB / 5.138 GB, free: 182.1 MB / 1.167 GB Notification: Performance of SimCode: time 8.42e-07/14.49, allocations: 0 / 5.138 GB, free: 182.1 MB / 1.167 GB Notification: Performance of Templates: time 0.04891/14.53, allocations: 39.42 MB / 5.177 GB, free: 142.8 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches