Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.346/1.346, allocations: 251.9 MB / 266.9 MB, free: 10.99 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.001095/0.001095, allocations: 179 kB / 326.5 MB, free: 2.215 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.516/1.516, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0009101/0.0009101, allocations: 87.92 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003359, allocations: 12.38 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1748, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1514/0.3262, allocations: 133.3 MB / 1.03 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.3266, allocations: 107.9 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004886/0.3315, allocations: 2.026 MB / 1.032 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3315, allocations: 0 / 1.032 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3315, allocations: 0 / 1.032 GB, free: 8.234 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002828/0.3318, allocations: 335.3 kB / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.3318, allocations: 8.031 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.43e-05/0.3319, allocations: 4 kB / 1.033 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.332, allocations: 179 kB / 1.033 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.332, allocations: 3.938 kB / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.332, allocations: 0 / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.821e-05/0.3321, allocations: 29.7 kB / 1.033 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-06/0.3321, allocations: 0 / 1.033 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.3321, allocations: 0 / 1.033 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-06/0.3321, allocations: 0 / 1.033 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.506e-05/0.3322, allocations: 0 / 1.033 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.3325, allocations: 473.3 kB / 1.033 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.971e-05/0.3326, allocations: 169.1 kB / 1.034 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.3327, allocations: 75.28 kB / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/0.3327, allocations: 109.8 kB / 1.034 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3327, allocations: 4 kB / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 6.828e-05/0.3328, allocations: 31.67 kB / 1.034 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.3329, allocations: 126.7 kB / 1.034 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.32e-05/0.333, allocations: 92.98 kB / 1.034 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.333, allocations: 29.64 kB / 1.034 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.333, allocations: 84.14 kB / 1.034 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.333, allocations: 0 / 1.034 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.333, allocations: 4 kB / 1.034 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3332, allocations: 322.7 kB / 1.034 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.955e-06/0.3332, allocations: 0 / 1.034 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.498e-06/0.3332, allocations: 0 / 1.034 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.819e-05/0.3332, allocations: 4 kB / 1.034 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3332, allocations: 0 / 1.034 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.714e-05/0.3333, allocations: 33.69 kB / 1.034 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3333, allocations: 4 kB / 1.034 GB, free: 5.926 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3334, allocations: 7.938 kB / 1.034 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.3334, allocations: 0 / 1.034 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.311e-05/0.3334, allocations: 4.094 kB / 1.034 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3334, allocations: 0 / 1.034 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.317e-05/0.3334, allocations: 0 / 1.034 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.3334, allocations: 0 / 1.034 GB, free: 5.914 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 9.961e-05/0.3335, allocations: 198.9 kB / 1.035 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.705e-05/0.3336, allocations: 104.9 kB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.913e-05/0.3337, allocations: 108.3 kB / 1.035 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-05/0.3337, allocations: 188.2 kB / 1.035 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.647e-05/0.3338, allocations: 180.3 kB / 1.035 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.879e-05/0.3339, allocations: 184.2 kB / 1.035 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.3341, allocations: 405.2 kB / 1.036 GB, free: 4.473 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.04e-05/0.3341, allocations: 105 kB / 1.036 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.269e-05/0.3342, allocations: 104.9 kB / 1.036 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.85e-05/0.3342, allocations: 184.3 kB / 1.036 GB, free: 4.066 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-05/0.3343, allocations: 180.2 kB / 1.036 GB, free: 3.883 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.014e-05/0.3344, allocations: 184.2 kB / 1.036 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.924e-05/0.3344, allocations: 180.2 kB / 1.037 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.3346, allocations: 311.7 kB / 1.037 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.054e-05/0.3346, allocations: 186 kB / 1.037 GB, free: 2.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.922e-05/0.3347, allocations: 180.3 kB / 1.037 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.886e-05/0.3348, allocations: 101.8 kB / 1.037 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.829e-05/0.3349, allocations: 180.2 kB / 1.038 GB, free: 2.504 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.863e-05/0.3349, allocations: 117 kB / 1.038 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.278e-05/0.335, allocations: 79.28 kB / 1.038 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.01e-07/0.335, allocations: 0 / 1.038 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002419/0.3352, allocations: 23.94 kB / 1.038 GB, free: 2.281 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003409/0.3356, allocations: 238.4 kB / 1.038 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 5.064e-05/0.3356, allocations: 15.94 kB / 1.038 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3356, allocations: 0 / 1.038 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.3356, allocations: 0 / 1.038 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.3359, allocations: 0.5223 MB / 1.039 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.3387, allocations: 1.06 MB / 1.04 GB, free: 424 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.339, allocations: 0.677 MB / 1.04 GB, free: 15.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.234e-05/0.339, allocations: 0 / 1.04 GB, free: 15.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.339, allocations: 15.44 kB / 1.04 GB, free: 15.7 MB / 0.698 GB Notification: Performance of SimCode: time 2.8e-07/0.3391, allocations: 3.938 kB / 1.04 GB, free: 15.69 MB / 0.698 GB Notification: Performance of Templates: time 0.002403/0.3415, allocations: 0.6353 MB / 1.041 GB, free: 15.1 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches