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.2/2.2, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.001393/0.001393, allocations: 188.2 kB / 487.4 MB, free: 5.035 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.579/1.579, allocations: 221.5 MB / 0.7824 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000873/0.000873, allocations: 96.72 kB / 0.9219 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.92e-05/1.913e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.2999, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.281/1.581, allocations: 412.4 MB / 1.609 GB, free: 10.4 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/1.581, allocations: 85.33 kB / 1.609 GB, free: 10.36 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 1.095/2.676, allocations: 170.3 MB / 1.775 GB, free: 380.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.582e-06/2.676, allocations: 1.25 kB / 1.775 GB, free: 380.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.407e-05/2.676, allocations: 12.42 kB / 1.775 GB, free: 380.5 MB / 1.151 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.001009/2.677, allocations: 0.6579 MB / 1.776 GB, free: 380.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/2.677, allocations: 12.78 kB / 1.776 GB, free: 380.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.938e-05/2.677, allocations: 48.47 kB / 1.776 GB, free: 380.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03324/2.711, allocations: 14.58 MB / 1.79 GB, free: 379.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/2.711, allocations: 7.562 kB / 1.79 GB, free: 379.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.147e-05/2.711, allocations: 13.06 kB / 1.79 GB, free: 379.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002954/2.711, allocations: 100.5 kB / 1.79 GB, free: 379.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/2.711, allocations: 129.9 kB / 1.79 GB, free: 379.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/2.711, allocations: 0 / 1.79 GB, free: 379.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/2.711, allocations: 1.5 kB / 1.79 GB, free: 379.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/2.711, allocations: 6.531 kB / 1.79 GB, free: 379.4 MB / 1.151 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.00137/2.713, allocations: 0.7937 MB / 1.791 GB, free: 378.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/2.713, allocations: 100.9 kB / 1.791 GB, free: 378.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.591e-05/2.713, allocations: 50.52 kB / 1.791 GB, free: 378.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/2.713, allocations: 334.9 kB / 1.792 GB, free: 378.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/2.713, allocations: 33.94 kB / 1.792 GB, free: 378.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=12): time 2.725e-06/2.713, allocations: 3 kB / 1.792 GB, free: 378.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=12): time 0.0004651/2.714, allocations: 138 kB / 1.792 GB, free: 378.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/2.714, allocations: 53 kB / 1.792 GB, free: 378.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/2.714, allocations: 252.3 kB / 1.792 GB, free: 378.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/2.714, allocations: 25.92 kB / 1.792 GB, free: 378.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/2.714, allocations: 191.6 kB / 1.792 GB, free: 378.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/2.714, allocations: 45.52 kB / 1.792 GB, free: 378.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-06/2.715, allocations: 1.406 kB / 1.792 GB, free: 378.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.533e-05/2.715, allocations: 341.7 kB / 1.793 GB, free: 377.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.979e-05/2.715, allocations: 27.7 kB / 1.793 GB, free: 377.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.599e-05/2.715, allocations: 85.92 kB / 1.793 GB, free: 377.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/2.715, allocations: 41.69 kB / 1.793 GB, free: 377.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/2.715, allocations: 1.344 kB / 1.793 GB, free: 377.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003061/2.715, allocations: 141.2 kB / 1.793 GB, free: 377.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.436e-05/2.715, allocations: 184.2 kB / 1.793 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/2.715, allocations: 0 / 1.793 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/2.715, allocations: 4.188 kB / 1.793 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/2.716, allocations: 35.88 kB / 1.793 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/2.716, allocations: 1.438 kB / 1.793 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/2.716, allocations: 20.48 kB / 1.793 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/2.716, allocations: 17.09 kB / 1.793 GB, free: 377.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/2.716, allocations: 4.562 kB / 1.793 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002152/2.716, allocations: 80.56 kB / 1.793 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-06/2.716, allocations: 0 / 1.793 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.105e-06/2.716, allocations: 1.094 kB / 1.793 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/2.716, allocations: 30.66 kB / 1.793 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.998e-05/2.716, allocations: 3.984 kB / 1.793 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/2.717, allocations: 28.34 kB / 1.793 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/2.717, allocations: 9.562 kB / 1.793 GB, free: 377.4 MB / 1.151 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 8.388e-05/2.717, allocations: 110.1 kB / 1.793 GB, free: 377.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.265e-05/2.717, allocations: 37.45 kB / 1.793 GB, free: 377.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004261/2.717, allocations: 177.8 kB / 1.794 GB, free: 377.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/2.717, allocations: 5.312 kB / 1.794 GB, free: 377.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/2.717, allocations: 0 / 1.794 GB, free: 377.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/2.717, allocations: 3.281 kB / 1.794 GB, free: 377.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007829/2.718, allocations: 0.5257 MB / 1.794 GB, free: 377 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/2.718, allocations: 4 kB / 1.794 GB, free: 377 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/2.718, allocations: 30.12 kB / 1.794 GB, free: 377 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/2.718, allocations: 1.875 kB / 1.794 GB, free: 377 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/2.718, allocations: 4.656 kB / 1.794 GB, free: 377 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/2.718, allocations: 4.688 kB / 1.794 GB, free: 377 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/2.718, allocations: 1.469 kB / 1.794 GB, free: 377 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/2.719, allocations: 312.3 kB / 1.794 GB, free: 376.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/2.719, allocations: 125 kB / 1.795 GB, free: 376.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/2.719, allocations: 1.438 kB / 1.795 GB, free: 376.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/2.719, allocations: 25.88 kB / 1.795 GB, free: 376.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/2.719, allocations: 18.19 kB / 1.795 GB, free: 376.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/2.719, allocations: 3.969 kB / 1.795 GB, free: 376.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002005/2.719, allocations: 200.7 kB / 1.795 GB, free: 376.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.31e-07/2.719, allocations: 0 / 1.795 GB, free: 376.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000808/2.72, allocations: 152 kB / 1.795 GB, free: 376.5 MB / 1.151 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.0008158/2.721, allocations: 290.8 kB / 1.795 GB, free: 376.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003752/2.721, allocations: 148.1 kB / 1.795 GB, free: 376.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/2.721, allocations: 0 / 1.795 GB, free: 376.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/2.721, allocations: 62.95 kB / 1.795 GB, free: 376.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008097/2.722, allocations: 123.6 kB / 1.796 GB, free: 376.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008119/2.723, allocations: 374.8 kB / 1.796 GB, free: 376.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/2.723, allocations: 0.8003 MB / 1.797 GB, free: 375.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0004156/2.724, allocations: 83.05 kB / 1.797 GB, free: 375.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.013e-05/2.724, allocations: 22 kB / 1.797 GB, free: 375.5 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/2.724, allocations: 1.375 kB / 1.797 GB, free: 375.5 MB / 1.151 GB Notification: Performance of Templates: time 0.01214/2.736, allocations: 5.978 MB / 1.803 GB, free: 375.4 MB / 1.151 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