Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.428/1.428, allocations: 249.3 MB / 261.8 MB, free: 5.992 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.001141/0.001141, allocations: 180.8 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.552/1.552, allocations: 205.2 MB / 0.572 GB, free: 10.73 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.0009465/0.0009464, allocations: 86.48 kB / 0.6764 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.708e-05/3.709e-05, allocations: 4 kB / 0.7879 GB, free: 97.14 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2569, allocations: 106.3 MB / 0.8918 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.637/1.894, allocations: 394.1 MB / 1.277 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004189/1.895, allocations: 83.16 kB / 1.277 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3298/2.224, allocations: 162.9 MB / 1.436 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.913e-06/2.224, allocations: 0 / 1.436 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001431/2.225, allocations: 15.98 kB / 1.436 GB, free: 163.1 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001803/2.226, allocations: 0.6577 MB / 1.436 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.784e-05/2.227, allocations: 12.03 kB / 1.437 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002599/2.227, allocations: 43.44 kB / 1.437 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02671/2.254, allocations: 13.36 MB / 1.45 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/2.254, allocations: 16.28 kB / 1.45 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.16e-05/2.254, allocations: 27.94 kB / 1.45 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/2.254, allocations: 152.9 kB / 1.45 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/2.254, allocations: 0 / 1.45 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/2.254, allocations: 4 kB / 1.45 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/2.254, allocations: 4 kB / 1.45 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/2.254, allocations: 108.2 kB / 1.45 GB, free: 148.5 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.001183/2.255, allocations: 0.8257 MB / 1.451 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/2.256, allocations: 106.6 kB / 1.451 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.744e-05/2.256, allocations: 52.84 kB / 1.451 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002563/2.256, allocations: 340.4 kB / 1.451 GB, free: 147 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/2.256, allocations: 30.56 kB / 1.451 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 2.825e-06/2.256, allocations: 3.984 kB / 1.451 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.0003057/2.256, allocations: 141.4 kB / 1.451 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/2.256, allocations: 55.41 kB / 1.451 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/2.257, allocations: 290.9 kB / 1.452 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/2.257, allocations: 25.7 kB / 1.452 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/2.257, allocations: 192.3 kB / 1.452 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/2.257, allocations: 47.28 kB / 1.452 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-06/2.257, allocations: 4 kB / 1.452 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.385e-05/2.257, allocations: 346.8 kB / 1.452 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.544e-05/2.257, allocations: 24 kB / 1.452 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.156e-05/2.257, allocations: 90.84 kB / 1.452 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.217e-05/2.257, allocations: 35.92 kB / 1.452 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/2.257, allocations: 0 / 1.452 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002024/2.257, allocations: 137.2 kB / 1.453 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.464e-05/2.257, allocations: 186.2 kB / 1.453 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/2.257, allocations: 0 / 1.453 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/2.257, allocations: 11.89 kB / 1.453 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/2.258, allocations: 23.98 kB / 1.453 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.577e-06/2.258, allocations: 4 kB / 1.453 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/2.258, allocations: 31.88 kB / 1.453 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/2.258, allocations: 8 kB / 1.453 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/2.258, allocations: 4 kB / 1.453 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001312/2.258, allocations: 79.84 kB / 1.453 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-06/2.258, allocations: 0 / 1.453 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.659e-06/2.258, allocations: 3.984 kB / 1.453 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/2.258, allocations: 31.98 kB / 1.453 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/2.258, allocations: 0 / 1.453 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/2.258, allocations: 31.86 kB / 1.453 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/2.258, allocations: 7.984 kB / 1.453 GB, free: 145.1 MB / 0.8698 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 () * 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 7.062e-05/2.259, allocations: 116.9 kB / 1.453 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.409e-05/2.259, allocations: 35.53 kB / 1.453 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/2.259, allocations: 192.7 kB / 1.453 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/2.259, allocations: 4 kB / 1.453 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/2.259, allocations: 0 / 1.453 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/2.259, allocations: 3.984 kB / 1.453 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000598/2.26, allocations: 0.5749 MB / 1.454 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/2.26, allocations: 0 / 1.454 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/2.26, allocations: 31.97 kB / 1.454 GB, free: 144 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/2.26, allocations: 96 / 1.454 GB, free: 144 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/2.26, allocations: 11.94 kB / 1.454 GB, free: 144 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/2.26, allocations: 0 / 1.454 GB, free: 144 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/2.26, allocations: 0 / 1.454 GB, free: 144 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/2.26, allocations: 327.5 kB / 1.454 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/2.26, allocations: 124.6 kB / 1.454 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/2.26, allocations: 4.094 kB / 1.454 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/2.26, allocations: 27.97 kB / 1.454 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/2.26, allocations: 15.97 kB / 1.454 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/2.26, allocations: 8 kB / 1.454 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00022/2.261, allocations: 229.2 kB / 1.455 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/2.261, allocations: 0 / 1.455 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005933/2.261, allocations: 167.7 kB / 1.455 GB, free: 143.1 MB / 0.8698 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 () * 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.0006181/2.262, allocations: 286.3 kB / 1.455 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002806/2.262, allocations: 154 kB / 1.455 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/2.262, allocations: 0 / 1.455 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.156e-05/2.262, allocations: 55.92 kB / 1.455 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006835/2.263, allocations: 143.9 kB / 1.455 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006454/2.264, allocations: 383 kB / 1.456 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/2.264, allocations: 0.8 MB / 1.457 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003604/2.264, allocations: 99.61 kB / 1.457 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/2.264, allocations: 27.42 kB / 1.457 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of SimCode: time 6.51e-07/2.264, allocations: 0 / 1.457 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.01275/2.277, allocations: 7.335 MB / 1.464 GB, free: 133.8 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches