Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.178/2.178, allocations: 387.4 MB / 394.9 MB, free: 13.32 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.001039/0.001039, allocations: 184.8 kB / 487.4 MB, free: 5.039 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.429/1.429, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 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.0009392/0.0009391, allocations: 107.8 kB / 0.9219 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.967e-05/1.978e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.253, allocations: 142.4 MB / 1.206 GB, free: 43.92 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9196/1.173, allocations: 150.2 MB / 1.353 GB, free: 18.47 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/1.173, allocations: 105.3 kB / 1.353 GB, free: 18.47 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005383/1.178, allocations: 2.039 MB / 1.355 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.413e-06/1.178, allocations: 0 / 1.355 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.141e-06/1.178, allocations: 0 / 1.355 GB, free: 34.1 MB / 0.8386 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.0002147/1.179, allocations: 325.7 kB / 1.355 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/1.179, allocations: 7.781 kB / 1.355 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/1.179, allocations: 1.75 kB / 1.355 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.873e-05/1.179, allocations: 172.8 kB / 1.355 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/1.179, allocations: 0.8438 kB / 1.355 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/1.179, allocations: 0 / 1.355 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.157e-05/1.179, allocations: 7.812 kB / 1.355 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.052e-05/1.179, allocations: 27.16 kB / 1.355 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/1.179, allocations: 0 / 1.355 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/1.179, allocations: 0 / 1.355 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/1.179, allocations: 3.984 kB / 1.355 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/1.179, allocations: 449 kB / 1.356 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.3e-05/1.179, allocations: 169.4 kB / 1.356 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.938e-05/1.179, allocations: 84.08 kB / 1.356 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/1.179, allocations: 79.22 kB / 1.356 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/1.18, allocations: 114.5 kB / 1.356 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/1.18, allocations: 0 / 1.356 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.971e-05/1.18, allocations: 26.27 kB / 1.356 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.829e-05/1.18, allocations: 52.61 kB / 1.356 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.465e-05/1.18, allocations: 94.66 kB / 1.356 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.989e-06/1.18, allocations: 25.7 kB / 1.356 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/1.18, allocations: 88.62 kB / 1.356 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/1.18, allocations: 0 / 1.356 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/1.18, allocations: 0 / 1.356 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.18, allocations: 322.9 kB / 1.357 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.955e-06/1.18, allocations: 0.7969 kB / 1.357 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.018e-06/1.18, allocations: 0 / 1.357 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.621e-05/1.18, allocations: 4.578 kB / 1.357 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.18, allocations: 0 / 1.357 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001131/1.18, allocations: 46.39 kB / 1.357 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/1.18, allocations: 7.719 kB / 1.357 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/1.18, allocations: 0.6562 kB / 1.357 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/1.18, allocations: 96 / 1.357 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.36e-05/1.18, allocations: 4 kB / 1.357 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/1.18, allocations: 0.7031 kB / 1.357 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.291e-05/1.18, allocations: 0 / 1.357 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/1.18, allocations: 0 / 1.357 GB, free: 31.91 MB / 0.8386 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 () * 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.268e-05/1.18, allocations: 186.1 kB / 1.357 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/1.18, allocations: 101.8 kB / 1.357 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.46e-05/1.18, allocations: 113.8 kB / 1.357 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.379e-05/1.181, allocations: 188.1 kB / 1.357 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.135e-05/1.181, allocations: 176.9 kB / 1.358 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.567e-05/1.181, allocations: 181.6 kB / 1.358 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/1.181, allocations: 379.8 kB / 1.358 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.029e-05/1.181, allocations: 105.6 kB / 1.358 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-05/1.181, allocations: 113.7 kB / 1.358 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-05/1.181, allocations: 180.1 kB / 1.358 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.907e-05/1.181, allocations: 180.9 kB / 1.359 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.669e-05/1.181, allocations: 181 kB / 1.359 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.742e-05/1.181, allocations: 177.1 kB / 1.359 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/1.181, allocations: 309 kB / 1.359 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/1.181, allocations: 184 kB / 1.359 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.467e-05/1.181, allocations: 180.8 kB / 1.36 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.824e-05/1.182, allocations: 106.5 kB / 1.36 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-05/1.182, allocations: 176.9 kB / 1.36 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/1.182, allocations: 113.1 kB / 1.36 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.187e-05/1.182, allocations: 79.91 kB / 1.36 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.62e-07/1.182, allocations: 0 / 1.36 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002612/1.182, allocations: 28.64 kB / 1.36 GB, free: 28.41 MB / 0.8386 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 () * 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.0003923/1.182, allocations: 247 kB / 1.36 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.612e-05/1.182, allocations: 7.891 kB / 1.36 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.182, allocations: 0 / 1.36 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/1.182, allocations: 0 / 1.36 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/1.183, allocations: 0.5241 MB / 1.361 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/1.186, allocations: 1.03 MB / 1.362 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/1.186, allocations: 0.6761 MB / 1.362 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.465e-05/1.186, allocations: 4 kB / 1.362 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.887e-05/1.186, allocations: 11.28 kB / 1.363 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.186, allocations: 0 / 1.363 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of Templates: time 0.002417/1.188, allocations: 0.6433 MB / 1.363 GB, free: 26.76 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches