Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.527/1.527, allocations: 249.3 MB / 261.8 MB, free: 5.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001457/0.001456, allocations: 184.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.1 MB / 0.572 GB, free: 10.72 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001264/0.001264, allocations: 82.55 kB / 0.6764 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.715e-05/3.717e-05, allocations: 4 kB / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.234, allocations: 106.3 MB / 0.8918 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.541/6.775, allocations: 2.184 GB / 3.076 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/6.775, allocations: 92.19 kB / 3.076 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.743/10.52, allocations: 1.043 GB / 4.119 GB, free: 93.58 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.694e-06/10.52, allocations: 0 / 4.119 GB, free: 93.58 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000106/10.52, allocations: 27.98 kB / 4.119 GB, free: 93.55 MB / 0.8698 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.003825/10.52, allocations: 1.268 MB / 4.121 GB, free: 92.23 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/10.52, allocations: 12.03 kB / 4.121 GB, free: 92.21 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/10.52, allocations: 206.3 kB / 4.121 GB, free: 92.01 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00337/10.53, allocations: 1.441 MB / 4.122 GB, free: 90.52 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.441e-05/10.53, allocations: 53.31 kB / 4.122 GB, free: 90.46 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/10.53, allocations: 64 kB / 4.122 GB, free: 90.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/10.53, allocations: 0.9215 MB / 4.123 GB, free: 89.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/10.53, allocations: 7.938 kB / 4.123 GB, free: 89.39 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.298e-05/10.53, allocations: 24 kB / 4.123 GB, free: 89.37 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/10.53, allocations: 16 kB / 4.123 GB, free: 89.36 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008647/10.53, allocations: 0.7064 MB / 4.124 GB, free: 88.64 MB / 0.8698 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.003817/10.53, allocations: 4.698 MB / 4.129 GB, free: 83.62 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/10.53, allocations: 3.971 MB / 4.132 GB, free: 78.82 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003351/10.53, allocations: 327.6 kB / 4.133 GB, free: 78.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002711/10.53, allocations: 198.2 kB / 4.133 GB, free: 78.27 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003843/10.54, allocations: 301.5 kB / 4.133 GB, free: 77.95 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004808/10.54, allocations: 31.69 kB / 4.133 GB, free: 77.92 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 2.945e-06/10.54, allocations: 0 / 4.133 GB, free: 77.92 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.001324/10.54, allocations: 0.7665 MB / 4.134 GB, free: 77.14 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/10.54, allocations: 85.11 kB / 4.134 GB, free: 77.04 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/10.54, allocations: 1.036 MB / 4.135 GB, free: 75.99 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.276e-05/10.54, allocations: 33.7 kB / 4.135 GB, free: 75.95 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/10.54, allocations: 0.5166 MB / 4.136 GB, free: 75.43 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.239e-05/10.54, allocations: 126.2 kB / 4.136 GB, free: 75.31 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/10.54, allocations: 12 kB / 4.136 GB, free: 75.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.005e-05/10.54, allocations: 330 kB / 4.136 GB, free: 74.97 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/10.54, allocations: 193 kB / 4.136 GB, free: 74.78 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004183/10.54, allocations: 0.521 MB / 4.137 GB, free: 74.11 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/10.54, allocations: 311.7 kB / 4.137 GB, free: 73.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/10.54, allocations: 4 kB / 4.137 GB, free: 73.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001212/10.54, allocations: 0.9817 MB / 4.138 GB, free: 72.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004411/10.54, allocations: 2.214 MB / 4.14 GB, free: 70.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/10.54, allocations: 8 kB / 4.14 GB, free: 70.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006064/10.54, allocations: 329.9 kB / 4.141 GB, free: 70.09 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/10.54, allocations: 75.89 kB / 4.141 GB, free: 70.01 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/10.54, allocations: 1.115 MB / 4.142 GB, free: 68.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/10.54, allocations: 99.73 kB / 4.142 GB, free: 68.77 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-05/10.55, allocations: 28 kB / 4.142 GB, free: 68.74 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/10.55, allocations: 5.25 kB / 4.142 GB, free: 68.74 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001157/10.55, allocations: 0.7863 MB / 4.143 GB, free: 67.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/10.55, allocations: 4.109 kB / 4.143 GB, free: 67.94 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004807/10.55, allocations: 261.2 kB / 4.143 GB, free: 67.68 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/10.55, allocations: 71.83 kB / 4.143 GB, free: 67.61 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003319/10.55, allocations: 3.095 MB / 4.146 GB, free: 64.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/10.55, allocations: 107.7 kB / 4.146 GB, free: 64.28 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.844e-05/10.55, allocations: 24 kB / 4.146 GB, free: 64.25 MB / 0.8698 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002319/10.55, allocations: 137.1 kB / 4.146 GB, free: 64.11 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/10.55, allocations: 114.6 kB / 4.146 GB, free: 64 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/10.55, allocations: 0.7812 MB / 4.147 GB, free: 63.21 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/10.55, allocations: 4 kB / 4.147 GB, free: 63.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/10.55, allocations: 4 kB / 4.147 GB, free: 63.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/10.55, allocations: 0 / 4.147 GB, free: 63.2 MB / 0.8698 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.002538/10.56, allocations: 2.16 MB / 4.149 GB, free: 60.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/10.56, allocations: 4 kB / 4.149 GB, free: 60.89 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/10.56, allocations: 47.89 kB / 4.149 GB, free: 60.85 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004336/10.56, allocations: 242.1 kB / 4.149 GB, free: 60.61 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/10.56, allocations: 12 kB / 4.149 GB, free: 60.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007448/10.56, allocations: 0.9237 MB / 4.15 GB, free: 59.65 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/10.56, allocations: 7.938 kB / 4.15 GB, free: 59.64 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/10.56, allocations: 0.9622 MB / 4.151 GB, free: 58.59 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004522/10.56, allocations: 243.7 kB / 4.152 GB, free: 58.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/10.56, allocations: 12 kB / 4.152 GB, free: 58.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006865/10.56, allocations: 79.75 kB / 4.152 GB, free: 58.25 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/10.56, allocations: 35.91 kB / 4.152 GB, free: 58.21 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/10.56, allocations: 19.94 kB / 4.152 GB, free: 58.19 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009096/10.56, allocations: 0.8106 MB / 4.152 GB, free: 57.37 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/10.56, allocations: 4 kB / 4.152 GB, free: 57.37 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001958/10.56, allocations: 0.6089 MB / 4.153 GB, free: 56.76 MB / 0.8698 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 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001558/10.56, allocations: 1.119 MB / 4.154 GB, free: 55.61 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00232/10.57, allocations: 1.271 MB / 4.155 GB, free: 54.31 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/10.57, allocations: 0 / 4.155 GB, free: 54.31 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005151/10.57, allocations: 308.4 kB / 4.156 GB, free: 54.01 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003267/10.57, allocations: 0.6521 MB / 4.156 GB, free: 53.36 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/10.57, allocations: 1.45 MB / 4.158 GB, free: 51.85 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005512/10.57, allocations: 1.242 MB / 4.159 GB, free: 50.58 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001936/10.58, allocations: 0.8006 MB / 4.16 GB, free: 49.78 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.635e-05/10.58, allocations: 47.44 kB / 4.16 GB, free: 49.73 MB / 0.8698 GB Notification: Performance of SimCode: time 2.004e-06/10.58, allocations: 0 / 4.16 GB, free: 49.73 MB / 0.8698 GB Notification: Performance of Templates: time 0.05168/10.63, allocations: 39.04 MB / 4.198 GB, free: 10.77 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches