Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.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.FixedResistances.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.448/2.448, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001718/0.001718, allocations: 189.1 kB / 498.1 MB, free: 5.719 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.543/1.543, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.0009841/0.0009841, allocations: 96.33 kB / 0.9346 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004083/0.0004085, allocations: 8.781 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3499, allocations: 142.4 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.459/4.809, allocations: 1.868 GB / 3.091 GB, free: 147.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/4.809, allocations: 84.52 kB / 3.091 GB, free: 147.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.451/8.26, allocations: 0.9668 GB / 4.058 GB, free: 80.09 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.844e-06/8.26, allocations: 0 / 4.058 GB, free: 80.09 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001508/8.261, allocations: 35.92 kB / 4.058 GB, free: 80.05 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.003664/8.264, allocations: 1.374 MB / 4.059 GB, free: 78.63 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.406e-05/8.264, allocations: 12.03 kB / 4.059 GB, free: 78.62 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/8.265, allocations: 182.5 kB / 4.059 GB, free: 78.44 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002715/8.268, allocations: 1.08 MB / 4.06 GB, free: 77.32 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.243e-05/8.268, allocations: 45 kB / 4.06 GB, free: 77.27 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/8.268, allocations: 60 kB / 4.06 GB, free: 77.21 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/8.269, allocations: 0.6435 MB / 4.061 GB, free: 76.55 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/8.269, allocations: 0 / 4.061 GB, free: 76.55 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.706e-05/8.269, allocations: 23.94 kB / 4.061 GB, free: 76.53 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/8.269, allocations: 12 kB / 4.061 GB, free: 76.52 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007032/8.27, allocations: 0.4957 MB / 4.062 GB, free: 76.03 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003137/8.273, allocations: 3.245 MB / 4.065 GB, free: 72.41 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004608/8.274, allocations: 387.8 kB / 4.065 GB, free: 72.02 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002523/8.274, allocations: 194.4 kB / 4.065 GB, free: 71.79 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/8.274, allocations: 34.8 kB / 4.065 GB, free: 71.75 MB / 1.167 GB Notification: Performance of pre-optimization done (n=28): time 1.503e-06/8.274, allocations: 0 / 4.065 GB, free: 71.75 MB / 1.167 GB Notification: Performance of matching and sorting (n=28): time 0.002731/8.277, allocations: 1.183 MB / 4.066 GB, free: 70.54 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/8.277, allocations: 59.36 kB / 4.067 GB, free: 70.47 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009106/8.278, allocations: 0.9465 MB / 4.067 GB, free: 69.51 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/8.278, allocations: 33.7 kB / 4.067 GB, free: 69.47 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/8.278, allocations: 449.1 kB / 4.068 GB, free: 69.02 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.41e-05/8.278, allocations: 94.59 kB / 4.068 GB, free: 68.93 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.358e-05/8.278, allocations: 11.94 kB / 4.068 GB, free: 68.92 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.165e-05/8.278, allocations: 318 kB / 4.068 GB, free: 68.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/8.278, allocations: 131.9 kB / 4.068 GB, free: 68.47 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/8.279, allocations: 336.1 kB / 4.069 GB, free: 68.07 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/8.279, allocations: 179.9 kB / 4.069 GB, free: 67.89 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/8.279, allocations: 7.938 kB / 4.069 GB, free: 67.89 MB / 1.167 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009113/8.28, allocations: 0.6714 MB / 4.07 GB, free: 67.21 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.555e-05/8.28, allocations: 365.9 kB / 4.07 GB, free: 66.82 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/8.28, allocations: 0 / 4.07 GB, free: 66.82 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005109/8.281, allocations: 228.5 kB / 4.07 GB, free: 66.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/8.281, allocations: 20 kB / 4.07 GB, free: 66.58 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007254/8.281, allocations: 0.9984 MB / 4.071 GB, free: 65.55 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000706/8.282, allocations: 91.61 kB / 4.071 GB, free: 65.46 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.715e-05/8.282, allocations: 15.95 kB / 4.071 GB, free: 65.45 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/8.282, allocations: 4 kB / 4.071 GB, free: 65.45 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009339/8.283, allocations: 0.4976 MB / 4.072 GB, free: 64.95 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/8.283, allocations: 0 / 4.072 GB, free: 64.95 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004987/8.284, allocations: 213.7 kB / 4.072 GB, free: 64.73 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/8.284, allocations: 23.98 kB / 4.072 GB, free: 64.71 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003055/8.287, allocations: 3.115 MB / 4.075 GB, free: 61.45 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007069/8.288, allocations: 79.72 kB / 4.075 GB, free: 61.37 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/8.288, allocations: 19.98 kB / 4.075 GB, free: 61.35 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005322/8.288, allocations: 448.8 kB / 4.076 GB, free: 60.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/8.288, allocations: 94.78 kB / 4.076 GB, free: 60.81 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/8.289, allocations: 0.7178 MB / 4.076 GB, free: 60.08 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/8.289, allocations: 4 kB / 4.076 GB, free: 60.07 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/8.289, allocations: 3.953 kB / 4.076 GB, free: 60.07 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/8.289, allocations: 4 kB / 4.076 GB, free: 60.07 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002034/8.291, allocations: 1.51 MB / 4.078 GB, free: 58.48 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/8.291, allocations: 0 / 4.078 GB, free: 58.48 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/8.291, allocations: 23.98 kB / 4.078 GB, free: 58.45 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003868/8.292, allocations: 213.4 kB / 4.078 GB, free: 58.24 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/8.292, allocations: 8 kB / 4.078 GB, free: 58.23 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006542/8.293, allocations: 0.988 MB / 4.079 GB, free: 57.22 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/8.293, allocations: 8.031 kB / 4.079 GB, free: 57.21 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009882/8.294, allocations: 0.8943 MB / 4.08 GB, free: 56.24 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004334/8.294, allocations: 219.9 kB / 4.08 GB, free: 56 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-05/8.294, allocations: 8 kB / 4.08 GB, free: 56 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004869/8.295, allocations: 63.78 kB / 4.08 GB, free: 55.93 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/8.295, allocations: 27.92 kB / 4.08 GB, free: 55.91 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/8.295, allocations: 8 kB / 4.08 GB, free: 55.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008745/8.296, allocations: 0.763 MB / 4.081 GB, free: 55.12 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/8.296, allocations: 0 / 4.081 GB, free: 55.12 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001647/8.297, allocations: 483.5 kB / 4.081 GB, free: 54.65 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001529/8.299, allocations: 0.8968 MB / 4.082 GB, free: 53.77 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001427/8.3, allocations: 0.7391 MB / 4.083 GB, free: 53.02 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/8.3, allocations: 0 / 4.083 GB, free: 53.02 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000386/8.301, allocations: 216.6 kB / 4.083 GB, free: 52.81 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/8.303, allocations: 485.5 kB / 4.084 GB, free: 52.33 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/8.305, allocations: 1.912 MB / 4.086 GB, free: 50.36 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005528/8.306, allocations: 1.196 MB / 4.087 GB, free: 49.13 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0006792/8.306, allocations: 207.3 kB / 4.087 GB, free: 48.92 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/8.306, allocations: 59.44 kB / 4.087 GB, free: 48.86 MB / 1.167 GB Notification: Performance of SimCode: time 8.52e-07/8.306, allocations: 0 / 4.087 GB, free: 48.86 MB / 1.167 GB Notification: Performance of Templates: time 0.03671/8.343, allocations: 29.17 MB / 4.115 GB, free: 19.88 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches