Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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.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_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.504/2.504, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001527/0.001526, allocations: 182.1 kB / 0.4902 GB, free: 2.23 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.705/1.705, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.00109/0.00109, allocations: 102.2 kB / 0.9396 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004183/0.0004182, allocations: 6.938 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3623, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.2/1.562, allocations: 414 MB / 1.633 GB, free: 15.84 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/1.563, allocations: 86.89 kB / 1.634 GB, free: 15.79 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 0.4053/1.968, allocations: 172.1 MB / 1.802 GB, free: 4.012 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.234e-06/1.968, allocations: 4 kB / 1.802 GB, free: 4.008 MB / 1.104 GB Notification: Performance of Transformations before backend: time 5.979e-05/1.968, allocations: 11.98 kB / 1.802 GB, free: 3.996 MB / 1.104 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.001857/1.97, allocations: 0.7563 MB / 1.802 GB, free: 3.191 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/1.97, allocations: 8.031 kB / 1.802 GB, free: 3.184 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/1.97, allocations: 43.53 kB / 1.802 GB, free: 3.141 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03793/2.008, allocations: 14.72 MB / 1.817 GB, free: 4.23 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/2.008, allocations: 12.33 kB / 1.817 GB, free: 4.219 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.6e-05/2.008, allocations: 20 kB / 1.817 GB, free: 4.199 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/2.009, allocations: 176.2 kB / 1.817 GB, free: 4.023 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/2.009, allocations: 0 / 1.817 GB, free: 4.023 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/2.009, allocations: 7.938 kB / 1.817 GB, free: 4.016 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/2.009, allocations: 4 kB / 1.817 GB, free: 4.012 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003687/2.009, allocations: 144.1 kB / 1.817 GB, free: 3.871 MB / 1.12 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.001562/2.011, allocations: 0.8372 MB / 1.818 GB, free: 2.934 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/2.011, allocations: 110.7 kB / 1.818 GB, free: 2.816 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003489/2.012, allocations: 340.6 kB / 1.818 GB, free: 2.41 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/2.012, allocations: 42.45 kB / 1.818 GB, free: 2.359 MB / 1.12 GB Notification: Performance of pre-optimization done (n=12): time 2.345e-06/2.012, allocations: 0 / 1.818 GB, free: 2.359 MB / 1.12 GB Notification: Performance of matching and sorting (n=12): time 0.0006926/2.012, allocations: 225.1 kB / 1.819 GB, free: 2.133 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/2.012, allocations: 51.41 kB / 1.819 GB, free: 2.07 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000368/2.013, allocations: 288.9 kB / 1.819 GB, free: 1.781 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/2.013, allocations: 29.7 kB / 1.819 GB, free: 1.746 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/2.013, allocations: 192.3 kB / 1.819 GB, free: 1.555 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 5.393e-05/2.013, allocations: 39.39 kB / 1.819 GB, free: 1.516 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.597e-06/2.013, allocations: 4 kB / 1.819 GB, free: 1.512 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0001698/2.013, allocations: 342.8 kB / 1.82 GB, free: 1.168 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/2.013, allocations: 43.91 kB / 1.82 GB, free: 1.125 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/2.014, allocations: 110.8 kB / 1.82 GB, free: 0.9922 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/2.014, allocations: 51.97 kB / 1.82 GB, free: 0.9414 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/2.014, allocations: 0 / 1.82 GB, free: 0.9414 MB / 1.12 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004083/2.014, allocations: 169.2 kB / 1.82 GB, free: 0.7695 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.000118/2.014, allocations: 190.9 kB / 1.82 GB, free: 0.5703 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/2.014, allocations: 0 / 1.82 GB, free: 0.5703 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/2.014, allocations: 0 / 1.82 GB, free: 0.5703 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/2.015, allocations: 35.92 kB / 1.82 GB, free: 0.5352 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/2.015, allocations: 0 / 1.82 GB, free: 0.5352 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/2.015, allocations: 31.88 kB / 1.82 GB, free: 0.5039 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/2.015, allocations: 4.188 kB / 1.82 GB, free: 0.5 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/2.015, allocations: 4 kB / 1.82 GB, free: 0.4961 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002966/2.015, allocations: 119.8 kB / 1.82 GB, free: 388 kB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/2.015, allocations: 0 / 1.82 GB, free: 388 kB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.959e-06/2.015, allocations: 4 kB / 1.82 GB, free: 384 kB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/2.015, allocations: 27.98 kB / 1.82 GB, free: 356 kB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/2.015, allocations: 7.891 kB / 1.82 GB, free: 348 kB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/2.016, allocations: 31.83 kB / 1.82 GB, free: 316 kB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/2.016, allocations: 15.98 kB / 1.82 GB, free: 300 kB / 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.0002468/2.016, allocations: 221.1 kB / 1.821 GB, free: 68 kB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.267e-05/2.016, allocations: 31.62 kB / 1.821 GB, free: 36 kB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005453/2.017, allocations: 228.5 kB / 1.821 GB, free: 15.81 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/2.017, allocations: 7.984 kB / 1.821 GB, free: 15.8 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/2.017, allocations: 7.891 kB / 1.821 GB, free: 15.79 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/2.017, allocations: 0 / 1.821 GB, free: 15.79 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/2.018, allocations: 0.6029 MB / 1.821 GB, free: 15.12 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.371e-06/2.018, allocations: 0 / 1.821 GB, free: 15.12 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/2.018, allocations: 40.02 kB / 1.821 GB, free: 15.09 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/2.018, allocations: 3.953 kB / 1.821 GB, free: 15.08 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/2.018, allocations: 4 kB / 1.821 GB, free: 15.08 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/2.018, allocations: 0 / 1.821 GB, free: 15.08 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/2.018, allocations: 4 kB / 1.821 GB, free: 15.07 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005073/2.018, allocations: 358.7 kB / 1.822 GB, free: 14.68 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/2.019, allocations: 120.6 kB / 1.822 GB, free: 14.54 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/2.019, allocations: 8.094 kB / 1.822 GB, free: 14.54 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/2.019, allocations: 27.91 kB / 1.822 GB, free: 14.51 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/2.019, allocations: 12.08 kB / 1.822 GB, free: 14.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/2.019, allocations: 4 kB / 1.822 GB, free: 14.49 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.0002477/2.019, allocations: 235.1 kB / 1.822 GB, free: 14.27 MB / 1.135 GB Notification: Performance of sort global known variables: time 2.61e-07/2.019, allocations: 8 kB / 1.822 GB, free: 14.26 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0007502/2.02, allocations: 163.7 kB / 1.822 GB, free: 14.1 MB / 1.135 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.0007732/2.021, allocations: 291.2 kB / 1.823 GB, free: 13.81 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0005381/2.021, allocations: 195.8 kB / 1.823 GB, free: 13.62 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/2.021, allocations: 0 / 1.823 GB, free: 13.62 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/2.021, allocations: 75.89 kB / 1.823 GB, free: 13.55 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007712/2.022, allocations: 142.1 kB / 1.823 GB, free: 13.41 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/2.023, allocations: 0.6813 MB / 1.824 GB, free: 12.7 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005282/2.024, allocations: 0.7999 MB / 1.824 GB, free: 11.87 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.0003309/2.024, allocations: 71.39 kB / 1.825 GB, free: 11.79 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.821e-05/2.024, allocations: 39.38 kB / 1.825 GB, free: 11.75 MB / 1.135 GB Notification: Performance of SimCode: time 6.01e-07/2.024, allocations: 0 / 1.825 GB, free: 11.75 MB / 1.135 GB Notification: Performance of Templates: time 0.01479/2.039, allocations: 6.269 MB / 1.831 GB, free: 5.574 MB / 1.135 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.csv","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches