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.424/1.424, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 187.1 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205.4 MB / 0.5775 GB, free: 20.5 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.000899/0.0008993, allocations: 80.61 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004461/0.0004459, allocations: 8.844 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2381, allocations: 106.3 MB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9281/1.166, allocations: 394.2 MB / 1.285 GB, free: 6.492 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/1.167, allocations: 93.77 kB / 1.285 GB, free: 6.441 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.858/2.025, allocations: 163.4 MB / 1.445 GB, free: 291.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.976e-06/2.025, allocations: 0 / 1.445 GB, free: 291.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.186e-05/2.025, allocations: 17 kB / 1.445 GB, free: 291.7 MB / 0.8855 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.001686/2.026, allocations: 0.7501 MB / 1.445 GB, free: 291.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/2.026, allocations: 14.33 kB / 1.445 GB, free: 291.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/2.027, allocations: 45 kB / 1.446 GB, free: 291.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02727/2.054, allocations: 13.44 MB / 1.459 GB, free: 290.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/2.054, allocations: 17.02 kB / 1.459 GB, free: 290.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.185e-05/2.054, allocations: 21.28 kB / 1.459 GB, free: 290.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000388/2.054, allocations: 178.5 kB / 1.459 GB, free: 290 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/2.054, allocations: 0 / 1.459 GB, free: 290 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/2.054, allocations: 4 kB / 1.459 GB, free: 290 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/2.055, allocations: 3.812 kB / 1.459 GB, free: 290 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003272/2.055, allocations: 145.3 kB / 1.459 GB, free: 289.9 MB / 0.8855 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.001276/2.056, allocations: 0.8331 MB / 1.46 GB, free: 289.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/2.056, allocations: 115.9 kB / 1.46 GB, free: 289.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002544/2.057, allocations: 337.4 kB / 1.46 GB, free: 288.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/2.057, allocations: 37.53 kB / 1.46 GB, free: 288.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 1.733e-06/2.057, allocations: 0 / 1.46 GB, free: 288.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12): time 0.0005685/2.057, allocations: 216 kB / 1.46 GB, free: 288.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/2.057, allocations: 54.94 kB / 1.461 GB, free: 288.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/2.058, allocations: 288.8 kB / 1.461 GB, free: 288.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/2.058, allocations: 29.11 kB / 1.461 GB, free: 288.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/2.058, allocations: 197.9 kB / 1.461 GB, free: 288.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/2.058, allocations: 38.33 kB / 1.461 GB, free: 288.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/2.058, allocations: 4 kB / 1.461 GB, free: 288.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.676e-05/2.058, allocations: 337.9 kB / 1.461 GB, free: 287.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/2.058, allocations: 52.45 kB / 1.461 GB, free: 287.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/2.058, allocations: 102.7 kB / 1.462 GB, free: 287.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/2.058, allocations: 54.94 kB / 1.462 GB, free: 287.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/2.058, allocations: 0 / 1.462 GB, free: 287.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003511/2.059, allocations: 181 kB / 1.462 GB, free: 287.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.183e-05/2.059, allocations: 187.4 kB / 1.462 GB, free: 287.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/2.059, allocations: 0 / 1.462 GB, free: 287.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/2.059, allocations: 6.969 kB / 1.462 GB, free: 287.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/2.059, allocations: 26.83 kB / 1.462 GB, free: 287.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/2.059, allocations: 0 / 1.462 GB, free: 287.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/2.059, allocations: 37.47 kB / 1.462 GB, free: 287.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/2.059, allocations: 11.48 kB / 1.462 GB, free: 287.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/2.059, allocations: 3.812 kB / 1.462 GB, free: 287.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002549/2.06, allocations: 118.5 kB / 1.462 GB, free: 287.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-06/2.06, allocations: 0 / 1.462 GB, free: 287.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.055e-06/2.06, allocations: 0 / 1.462 GB, free: 287.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/2.06, allocations: 30.42 kB / 1.462 GB, free: 287.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/2.06, allocations: 3.031 kB / 1.462 GB, free: 287.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/2.06, allocations: 33.84 kB / 1.462 GB, free: 287.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/2.06, allocations: 7.719 kB / 1.462 GB, free: 287.4 MB / 0.8855 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.0001751/2.06, allocations: 222.4 kB / 1.462 GB, free: 287.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.477e-05/2.06, allocations: 39 kB / 1.462 GB, free: 287.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004556/2.061, allocations: 228.8 kB / 1.463 GB, free: 287 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/2.061, allocations: 7.906 kB / 1.463 GB, free: 287 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/2.061, allocations: 3.75 kB / 1.463 GB, free: 287 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/2.061, allocations: 0 / 1.463 GB, free: 287 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008484/2.062, allocations: 0.6131 MB / 1.463 GB, free: 286.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/2.062, allocations: 0 / 1.463 GB, free: 286.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/2.062, allocations: 29.77 kB / 1.463 GB, free: 286.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/2.062, allocations: 0 / 1.463 GB, free: 286.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/2.062, allocations: 3.688 kB / 1.463 GB, free: 286.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/2.062, allocations: 0 / 1.463 GB, free: 286.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/2.062, allocations: 3.531 kB / 1.463 GB, free: 286.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004043/2.062, allocations: 354.6 kB / 1.464 GB, free: 286.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/2.062, allocations: 125.5 kB / 1.464 GB, free: 286.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/2.062, allocations: 7.781 kB / 1.464 GB, free: 286.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/2.063, allocations: 26.5 kB / 1.464 GB, free: 286.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/2.063, allocations: 14.88 kB / 1.464 GB, free: 286.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/2.063, allocations: 7.594 kB / 1.464 GB, free: 286.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002061/2.063, allocations: 230.6 kB / 1.464 GB, free: 285.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/2.063, allocations: 2.75 kB / 1.464 GB, free: 285.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006611/2.064, allocations: 166.6 kB / 1.464 GB, free: 285.9 MB / 0.8855 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.0006272/2.064, allocations: 276.4 kB / 1.464 GB, free: 285.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004526/2.065, allocations: 196.3 kB / 1.465 GB, free: 285.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/2.065, allocations: 3.906 kB / 1.465 GB, free: 285.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/2.065, allocations: 83.92 kB / 1.465 GB, free: 285.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006866/2.066, allocations: 138.8 kB / 1.465 GB, free: 285.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009155/2.066, allocations: 0.683 MB / 1.466 GB, free: 285.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/2.067, allocations: 0.7955 MB / 1.466 GB, free: 284.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002772/2.067, allocations: 74.44 kB / 1.466 GB, free: 284.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/2.067, allocations: 32.78 kB / 1.466 GB, free: 284.3 MB / 0.8855 GB Notification: Performance of SimCode: time 8.22e-07/2.067, allocations: 0 / 1.466 GB, free: 284.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.012/2.079, allocations: 6.284 MB / 1.473 GB, free: 281.3 MB / 0.8855 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