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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.169/1.169, allocations: 249.4 MB / 256.7 MB, free: 7.062 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.0009369/0.0009369, allocations: 180.6 kB / 316 MB, free: 3.531 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.082/1.082, allocations: 205.2 MB / 0.5667 GB, free: 15.62 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.0008519/0.000852, allocations: 78.59 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.302e-06/6.322e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1543, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8746/1.029, allocations: 394.5 MB / 1.27 GB, free: 325.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001825/1.029, allocations: 84 kB / 1.27 GB, free: 325.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2692/1.298, allocations: 162.3 MB / 1.428 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.723e-05/1.298, allocations: 15.98 kB / 1.428 GB, free: 189.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.0007573/1.299, allocations: 0.6615 MB / 1.429 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/1.299, allocations: 8.031 kB / 1.429 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.522e-05/1.299, allocations: 47.42 kB / 1.429 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02592/1.325, allocations: 13.39 MB / 1.442 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/1.325, allocations: 7.984 kB / 1.442 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/1.325, allocations: 12 kB / 1.442 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001938/1.326, allocations: 100.5 kB / 1.442 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/1.326, allocations: 127.9 kB / 1.442 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.326, allocations: 0 / 1.442 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/1.326, allocations: 3.938 kB / 1.442 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/1.326, allocations: 4 kB / 1.442 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008391/1.327, allocations: 0.8124 MB / 1.443 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/1.327, allocations: 94.66 kB / 1.443 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.017e-05/1.327, allocations: 52.86 kB / 1.443 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002222/1.327, allocations: 344.5 kB / 1.444 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/1.327, allocations: 42.44 kB / 1.444 GB, free: 173 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/1.327, allocations: 0 / 1.444 GB, free: 173 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.000321/1.328, allocations: 133.3 kB / 1.444 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/1.328, allocations: 55.39 kB / 1.444 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/1.328, allocations: 250.1 kB / 1.444 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/1.328, allocations: 25.7 kB / 1.444 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/1.328, allocations: 152.3 kB / 1.444 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/1.328, allocations: 43.3 kB / 1.444 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/1.328, allocations: 0 / 1.444 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.155e-05/1.328, allocations: 338.8 kB / 1.445 GB, free: 172 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.01e-05/1.328, allocations: 24 kB / 1.445 GB, free: 172 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.343e-05/1.328, allocations: 82.84 kB / 1.445 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/1.328, allocations: 47.91 kB / 1.445 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.328, allocations: 0 / 1.445 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002175/1.328, allocations: 141.2 kB / 1.445 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/1.328, allocations: 184.4 kB / 1.445 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/1.328, allocations: 4 kB / 1.445 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/1.328, allocations: 8.188 kB / 1.445 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/1.329, allocations: 27.97 kB / 1.445 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/1.329, allocations: 11.88 kB / 1.445 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/1.329, allocations: 27.98 kB / 1.445 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/1.329, allocations: 7.984 kB / 1.445 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.509e-06/1.329, allocations: 4 kB / 1.445 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001705/1.329, allocations: 79.8 kB / 1.445 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-06/1.329, allocations: 0 / 1.445 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-06/1.329, allocations: 0 / 1.445 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/1.329, allocations: 31.98 kB / 1.445 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-06/1.329, allocations: 0 / 1.445 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/1.329, allocations: 27.91 kB / 1.445 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/1.329, allocations: 8 kB / 1.445 GB, free: 171.2 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 5.084e-05/1.329, allocations: 116.8 kB / 1.445 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.324e-05/1.329, allocations: 31.62 kB / 1.445 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000337/1.33, allocations: 189.6 kB / 1.446 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/1.33, allocations: 4 kB / 1.446 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/1.33, allocations: 0 / 1.446 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/1.33, allocations: 3.984 kB / 1.446 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005209/1.33, allocations: 0.5247 MB / 1.446 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/1.33, allocations: 4 kB / 1.446 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/1.33, allocations: 35.91 kB / 1.446 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/1.33, allocations: 7.906 kB / 1.446 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/1.33, allocations: 0 / 1.446 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/1.33, allocations: 4 kB / 1.446 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.33, allocations: 4.094 kB / 1.446 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002494/1.331, allocations: 315.1 kB / 1.447 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.475e-05/1.331, allocations: 128.6 kB / 1.447 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/1.331, allocations: 0 / 1.447 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/1.331, allocations: 19.92 kB / 1.447 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/1.331, allocations: 15.98 kB / 1.447 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/1.331, allocations: 11.98 kB / 1.447 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001134/1.331, allocations: 196.6 kB / 1.447 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004962/1.332, allocations: 155.7 kB / 1.447 GB, free: 169.4 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.0004446/1.332, allocations: 292 kB / 1.447 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002128/1.332, allocations: 150 kB / 1.447 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/1.332, allocations: 0 / 1.447 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.374e-05/1.333, allocations: 55.92 kB / 1.448 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005646/1.333, allocations: 127.2 kB / 1.448 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005473/1.334, allocations: 382.9 kB / 1.448 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/1.334, allocations: 0.8304 MB / 1.449 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of SimCode: time 2.51e-07/1.334, allocations: 4 kB / 1.449 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.009414/1.343, allocations: 6.233 MB / 1.455 GB, free: 161.4 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