Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow|res.m_flow_turbulent|resLarPip.m_flow_nominal|resLarPip.m_flow|resLarPip.m_flow_turbulent|res.v|resLarPip.v|res.dh|resLarPip.dh",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow|res.m_flow_turbulent|resLarPip.m_flow_nominal|resLarPip.m_flow|resLarPip.m_flow_turbulent|res.v|resLarPip.v|res.dh|resLarPip.dh",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.605/2.605, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001646/0.001646, allocations: 181.4 kB / 498.1 MB, free: 5.766 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.683/1.683, allocations: 223.2 MB / 0.7948 GB, free: 17.97 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.001143/0.001143, allocations: 96.28 kB / 0.9346 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.0004083, allocations: 16.38 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3362, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.159/1.495, allocations: 413.1 MB / 1.626 GB, free: 15.55 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/1.496, allocations: 87.27 kB / 1.626 GB, free: 15.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4011/1.897, allocations: 172.1 MB / 1.794 GB, free: 1.121 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.334e-06/1.897, allocations: 0 / 1.794 GB, free: 1.121 MB / 1.089 GB Notification: Performance of Transformations before backend: time 6.042e-05/1.897, allocations: 11.98 kB / 1.794 GB, free: 1.109 MB / 1.089 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001917/1.899, allocations: 0.7475 MB / 1.795 GB, free: 316 kB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/1.899, allocations: 8.031 kB / 1.795 GB, free: 308 kB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/1.899, allocations: 43.53 kB / 1.795 GB, free: 264 kB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03709/1.936, allocations: 14.74 MB / 1.81 GB, free: 1.328 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.148e-05/1.936, allocations: 16.33 kB / 1.81 GB, free: 1.312 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.894e-05/1.936, allocations: 16 kB / 1.81 GB, free: 1.297 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004815/1.937, allocations: 177.5 kB / 1.81 GB, free: 1.121 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/1.937, allocations: 0 / 1.81 GB, free: 1.121 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/1.937, allocations: 8 kB / 1.81 GB, free: 1.113 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/1.937, allocations: 4 kB / 1.81 GB, free: 1.109 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004083/1.937, allocations: 148.1 kB / 1.81 GB, free: 0.9648 MB / 1.104 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.001599/1.939, allocations: 0.8256 MB / 1.811 GB, free: 40 kB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003448/1.939, allocations: 110.7 kB / 1.811 GB, free: 15.92 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003668/1.94, allocations: 340.4 kB / 1.811 GB, free: 15.52 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/1.94, allocations: 42.5 kB / 1.811 GB, free: 15.46 MB / 1.12 GB Notification: Performance of pre-optimization done (n=12): time 2.515e-06/1.94, allocations: 0 / 1.811 GB, free: 15.46 MB / 1.12 GB Notification: Performance of matching and sorting (n=12): time 0.0006434/1.94, allocations: 225.2 kB / 1.812 GB, free: 15.24 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/1.94, allocations: 51.41 kB / 1.812 GB, free: 15.18 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003697/1.941, allocations: 288.9 kB / 1.812 GB, free: 14.89 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/1.941, allocations: 37.69 kB / 1.812 GB, free: 14.85 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/1.941, allocations: 188.3 kB / 1.812 GB, free: 14.66 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/1.941, allocations: 43.39 kB / 1.812 GB, free: 14.61 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-06/1.941, allocations: 0 / 1.812 GB, free: 14.61 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0001598/1.941, allocations: 338.8 kB / 1.812 GB, free: 14.27 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/1.941, allocations: 43.97 kB / 1.812 GB, free: 14.23 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/1.942, allocations: 106.8 kB / 1.813 GB, free: 14.1 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/1.942, allocations: 55.92 kB / 1.813 GB, free: 14.05 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/1.942, allocations: 3.984 kB / 1.813 GB, free: 14.04 MB / 1.12 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004084/1.942, allocations: 173.1 kB / 1.813 GB, free: 13.87 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/1.942, allocations: 197.9 kB / 1.813 GB, free: 13.66 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.942, allocations: 0 / 1.813 GB, free: 13.66 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/1.942, allocations: 0 / 1.813 GB, free: 13.66 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/1.943, allocations: 31.92 kB / 1.813 GB, free: 13.63 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/1.943, allocations: 0 / 1.813 GB, free: 13.63 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/1.943, allocations: 27.97 kB / 1.813 GB, free: 13.6 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/1.943, allocations: 12 kB / 1.813 GB, free: 13.59 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/1.943, allocations: 0.9375 kB / 1.813 GB, free: 13.59 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002881/1.943, allocations: 115.9 kB / 1.813 GB, free: 13.48 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/1.943, allocations: 3.984 kB / 1.813 GB, free: 13.47 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.959e-06/1.943, allocations: 0 / 1.813 GB, free: 13.47 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/1.943, allocations: 27.98 kB / 1.813 GB, free: 13.45 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/1.943, allocations: 7.953 kB / 1.813 GB, free: 13.44 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/1.944, allocations: 35.83 kB / 1.813 GB, free: 13.4 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/1.944, allocations: 7.984 kB / 1.813 GB, free: 13.39 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002296/1.944, allocations: 221 kB / 1.813 GB, free: 13.17 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.112e-05/1.944, allocations: 35.53 kB / 1.813 GB, free: 13.13 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005153/1.944, allocations: 225.3 kB / 1.814 GB, free: 12.91 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/1.944, allocations: 4.172 kB / 1.814 GB, free: 12.91 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/1.944, allocations: 3.953 kB / 1.814 GB, free: 12.9 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.944, allocations: 3.938 kB / 1.814 GB, free: 12.9 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/1.946, allocations: 0.6068 MB / 1.814 GB, free: 12.23 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/1.946, allocations: 4 kB / 1.814 GB, free: 12.22 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/1.946, allocations: 27.92 kB / 1.814 GB, free: 12.2 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-06/1.946, allocations: 7.953 kB / 1.814 GB, free: 12.19 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/1.946, allocations: 0 / 1.814 GB, free: 12.19 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/1.946, allocations: 4 kB / 1.814 GB, free: 12.18 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.946, allocations: 4.094 kB / 1.814 GB, free: 12.18 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004724/1.946, allocations: 365.2 kB / 1.815 GB, free: 11.78 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/1.946, allocations: 120.7 kB / 1.815 GB, free: 11.64 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/1.946, allocations: 4.094 kB / 1.815 GB, free: 11.64 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/1.947, allocations: 31.88 kB / 1.815 GB, free: 11.61 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/1.947, allocations: 15.91 kB / 1.815 GB, free: 11.59 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/1.947, allocations: 8 kB / 1.815 GB, free: 11.59 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.0002636/1.947, allocations: 239.1 kB / 1.815 GB, free: 11.36 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.1e-07/1.947, allocations: 0 / 1.815 GB, free: 11.36 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.000728/1.948, allocations: 159.8 kB / 1.815 GB, free: 11.2 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007851/1.949, allocations: 291.6 kB / 1.816 GB, free: 10.91 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0005481/1.949, allocations: 195.9 kB / 1.816 GB, free: 10.72 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.949, allocations: 192 / 1.816 GB, free: 10.72 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.0001805/1.949, allocations: 79.89 kB / 1.816 GB, free: 10.64 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007433/1.95, allocations: 150.5 kB / 1.816 GB, free: 10.5 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/1.951, allocations: 0.6716 MB / 1.817 GB, free: 9.793 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/1.952, allocations: 0.8038 MB / 1.817 GB, free: 8.965 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.00032/1.952, allocations: 71.34 kB / 1.817 GB, free: 8.891 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.659e-05/1.952, allocations: 27.44 kB / 1.817 GB, free: 8.863 MB / 1.12 GB Notification: Performance of SimCode: time 2.31e-07/1.952, allocations: 0 / 1.817 GB, free: 8.863 MB / 1.12 GB Notification: Performance of Templates: time 0.0141/1.966, allocations: 6.273 MB / 1.824 GB, free: 2.684 MB / 1.12 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.csv","../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches