Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009765/0.0009765, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000977/0.000977, allocations: 169.3 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9401/0.9401, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.076/2.076, allocations: 429.5 MB / 0.6732 GB, free: 4.062 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 0.8783 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.222e-05, allocations: 3.344 kB / 0.8783 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.005149/0.005171, allocations: 1.486 MB / 0.8797 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.01155/0.01672, allocations: 4.046 MB / 0.8837 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.791e-05/0.01678, allocations: 3.938 kB / 0.8837 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.01689, allocations: 15.92 kB / 0.8837 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.01714, allocations: 35.72 kB / 0.8837 GB, free: 0.6406 MB / 0.8386 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.006247/0.02338, allocations: 1.613 MB / 0.8853 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.02351, allocations: 99.67 kB / 0.8854 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.599e-05/0.02355, allocations: 0 / 0.8854 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.685e-05/0.02363, allocations: 63.86 kB / 0.8855 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.02384, allocations: 135.7 kB / 0.8856 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.02387, allocations: 16 kB / 0.8856 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00609/0.02996, allocations: 2.413 MB / 0.888 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003382/0.0303, allocations: 279.9 kB / 0.8882 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.03045, allocations: 148 kB / 0.8884 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002528/0.03298, allocations: 2.475 MB / 0.8908 GB, free: 9.395 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.03298, allocations: 0 / 0.8908 GB, free: 9.395 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.21e-07/0.03298, allocations: 0 / 0.8908 GB, free: 9.395 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.03299, allocations: 0 / 0.8908 GB, free: 9.395 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.004885/0.03788, allocations: 1.396 MB / 0.8921 GB, free: 7.957 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.03792, allocations: 12.03 kB / 0.8922 GB, free: 7.945 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002966/0.03822, allocations: 92.25 kB / 0.8922 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.03856, allocations: 305.2 kB / 0.8925 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.03857, allocations: 4.375 kB / 0.8925 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.03861, allocations: 8.375 kB / 0.8926 GB, free: 7.508 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/0.03897, allocations: 374.1 kB / 0.8929 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.03898, allocations: 192 / 0.8929 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.03899, allocations: 4.359 kB / 0.8929 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.039, allocations: 3.938 kB / 0.8929 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.0393, allocations: 391.7 kB / 0.8933 GB, free: 6.734 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005301/0.03983, allocations: 0.6352 MB / 0.8939 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004074/0.04023, allocations: 0.5175 MB / 0.8944 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002245/0.04046, allocations: 307.2 kB / 0.8947 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004343/0.04089, allocations: 143.7 kB / 0.8948 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004357/0.04133, allocations: 384.2 kB / 0.8952 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 9.41e-07/0.04133, allocations: 0 / 0.8952 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.001025/0.04235, allocations: 1.168 MB / 0.8964 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.04239, allocations: 89.03 kB / 0.8964 GB, free: 3.391 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009628/0.04336, allocations: 1.191 MB / 0.8976 GB, free: 2.184 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.04339, allocations: 25.7 kB / 0.8976 GB, free: 2.152 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.04358, allocations: 344.7 kB / 0.898 GB, free: 1.809 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.04362, allocations: 27.78 kB / 0.898 GB, free: 1.781 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003333/0.04395, allocations: 398.5 kB / 0.8984 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.04406, allocations: 496.6 kB / 0.8988 GB, free: 0.8945 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000561/0.04462, allocations: 0.678 MB / 0.8995 GB, free: 220 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000684/0.04531, allocations: 0.8438 MB / 0.9003 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002322/0.04763, allocations: 2.621 MB / 0.9029 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.04763, allocations: 0 / 0.9029 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003599/0.05123, allocations: 4.234 MB / 0.907 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.05125, allocations: 6.812 kB / 0.907 GB, free: 8.371 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.05126, allocations: 8.031 kB / 0.907 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.05128, allocations: 0 / 0.907 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.0514, allocations: 31.92 kB / 0.9071 GB, free: 8.332 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.05141, allocations: 0 / 0.9071 GB, free: 8.332 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.05173, allocations: 241.3 kB / 0.9073 GB, free: 8.094 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.347e-05/0.05177, allocations: 19.98 kB / 0.9073 GB, free: 8.074 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: 13 (cluSiz[1],labels[1],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001399/0.05191, allocations: 164.6 kB / 0.9075 GB, free: 7.902 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.05196, allocations: 75.33 kB / 0.9075 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007562/0.05272, allocations: 0.8502 MB / 0.9084 GB, free: 6.969 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.05272, allocations: 0 / 0.9084 GB, free: 6.969 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.05273, allocations: 7.938 kB / 0.9084 GB, free: 6.961 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.05273, allocations: 3.938 kB / 0.9084 GB, free: 6.957 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004151/0.05315, allocations: 0.4921 MB / 0.9089 GB, free: 6.434 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.05315, allocations: 3.984 kB / 0.9089 GB, free: 6.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.846e-05/0.0532, allocations: 8 kB / 0.9089 GB, free: 6.422 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.0532, allocations: 0 / 0.9089 GB, free: 6.422 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.05322, allocations: 3.984 kB / 0.9089 GB, free: 6.418 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.227e-06/0.05322, allocations: 4 kB / 0.9089 GB, free: 6.414 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.05322, allocations: 4.031 kB / 0.9089 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009171/0.05414, allocations: 0.9308 MB / 0.9098 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.426e-05/0.05421, allocations: 79.34 kB / 0.9099 GB, free: 5.375 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/0.05426, allocations: 0 / 0.9099 GB, free: 5.375 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.598e-05/0.05436, allocations: 7.984 kB / 0.9099 GB, free: 5.367 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.0544, allocations: 11.94 kB / 0.9099 GB, free: 5.355 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.05443, allocations: 11.97 kB / 0.9099 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005039/0.05493, allocations: 0.5557 MB / 0.9104 GB, free: 4.781 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.05493, allocations: 0 / 0.9104 GB, free: 4.781 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001457/0.05639, allocations: 0.5845 MB / 0.911 GB, free: 4.195 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001655/0.05804, allocations: 0.805 MB / 0.9118 GB, free: 3.406 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001251/0.0593, allocations: 1.418 MB / 0.9132 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.0593, allocations: 0 / 0.9132 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.05954, allocations: 311.4 kB / 0.9135 GB, free: 1.66 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.05983, allocations: 37.91 kB / 0.9135 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.06137, allocations: 1.584 MB / 0.9151 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.06151, allocations: 187.1 kB / 0.9152 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001006/0.06161, allocations: 36.39 kB / 0.9153 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.128e-05/0.0617, allocations: 24.48 kB / 0.9153 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of SimCode: time 6.81e-07/0.0617, allocations: 0 / 0.9153 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of Templates: time 0.01998/0.08168, allocations: 14.36 MB / 0.9293 GB, free: 1.484 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.92145698517561]