Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009176/0.0009176, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001352, allocations: 176.5 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.502/2.502, allocations: 390.9 MB / 0.667 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003331, allocations: 12.28 kB / 0.8167 GB, free: 13.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7695/0.7698, allocations: 142.4 MB / 0.9557 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002029/0.7719, allocations: 1.45 MB / 0.9572 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005294/0.7772, allocations: 4.314 MB / 0.9614 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.752e-05/0.7773, allocations: 1.438 kB / 0.9614 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.7784, allocations: 358.2 kB / 0.9617 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.7785, allocations: 49.61 kB / 0.9618 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.7806, allocations: 0.7771 MB / 0.9625 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.7809, allocations: 193.6 kB / 0.9627 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.09e-05/0.7809, allocations: 8.344 kB / 0.9627 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.344e-05/0.781, allocations: 49.45 kB / 0.9628 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.7812, allocations: 175.4 kB / 0.9629 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.369e-05/0.7813, allocations: 14.84 kB / 0.9629 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.7831, allocations: 1.396 MB / 0.9643 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.7834, allocations: 280.1 kB / 0.9646 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002491/0.7836, allocations: 328.9 kB / 0.9649 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.7848, allocations: 1.055 MB / 0.9659 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.7848, allocations: 1.219 kB / 0.9659 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7848, allocations: 0 / 0.9659 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.7848, allocations: 4 kB / 0.9659 GB, free: 0.5078 MB / 0.7169 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.0108/0.7956, allocations: 1.207 MB / 0.9671 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.7957, allocations: 8.5 kB / 0.9671 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003909/0.7961, allocations: 91.5 kB / 0.9672 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005726/0.7967, allocations: 410 kB / 0.9676 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.7967, allocations: 7.375 kB / 0.9676 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.7968, allocations: 4.375 kB / 0.9676 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005527/0.7973, allocations: 395.3 kB / 0.968 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.7974, allocations: 0 / 0.968 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.7974, allocations: 8.766 kB / 0.968 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.7974, allocations: 1.5 kB / 0.968 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005541/0.798, allocations: 434 kB / 0.9684 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007182/0.7987, allocations: 0.6551 MB / 0.969 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006304/0.7993, allocations: 0.5654 MB / 0.9696 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004458/0.7998, allocations: 340.9 kB / 0.9699 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/0.8009, allocations: 1.041 MB / 0.9709 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004846/0.8014, allocations: 419.4 kB / 0.9713 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.8014, allocations: 0 / 0.9713 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001652/0.8031, allocations: 1.291 MB / 0.9726 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/0.8032, allocations: 79.8 kB / 0.9727 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.8048, allocations: 1.281 MB / 0.9739 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.433e-05/0.8049, allocations: 34.98 kB / 0.974 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000245/0.8052, allocations: 284.5 kB / 0.9742 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/0.8052, allocations: 27.53 kB / 0.9742 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002879/0.8055, allocations: 284.3 kB / 0.9745 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.8057, allocations: 322.4 kB / 0.9748 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.807, allocations: 1.361 MB / 0.9762 GB, free: 9.934 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.8085, allocations: 1.496 MB / 0.9776 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007093/0.8156, allocations: 3.537 MB / 0.9811 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.8156, allocations: 4 kB / 0.9811 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004435/0.82, allocations: 3.973 MB / 0.985 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.8201, allocations: 4 kB / 0.985 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/0.8201, allocations: 8.031 kB / 0.985 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.8201, allocations: 0 / 0.985 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.8203, allocations: 19.92 kB / 0.985 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.8203, allocations: 0 / 0.985 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007705/0.8211, allocations: 232.3 kB / 0.9852 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.895e-05/0.8211, allocations: 27.92 kB / 0.9852 GB, free: 0.5 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (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 (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0003713/0.8215, allocations: 241.7 kB / 0.9855 GB, free: 260 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.8216, allocations: 78.62 kB / 0.9855 GB, free: 180 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.8219, allocations: 83.66 kB / 0.9856 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.8219, allocations: 4 kB / 0.9856 GB, free: 80 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.8219, allocations: 0 / 0.9856 GB, free: 80 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.8219, allocations: 0 / 0.9856 GB, free: 80 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005483/0.8225, allocations: 0.51 MB / 0.9861 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.8225, allocations: 8 kB / 0.9861 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.909e-05/0.8225, allocations: 15.95 kB / 0.9861 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.8226, allocations: 0 / 0.9861 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.8226, allocations: 4 kB / 0.9861 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.8226, allocations: 0 / 0.9861 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8226, allocations: 0 / 0.9861 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009548/0.8236, allocations: 1.006 MB / 0.9871 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.8237, allocations: 171.6 kB / 0.9873 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.41e-05/0.8238, allocations: 4 kB / 0.9873 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.8239, allocations: 7.984 kB / 0.9873 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.824, allocations: 4 kB / 0.9873 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/0.824, allocations: 11.97 kB / 0.9873 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008263/0.8248, allocations: 0.7218 MB / 0.988 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8248, allocations: 0 / 0.988 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001419/0.8263, allocations: 403.9 kB / 0.9884 GB, free: 13.13 MB / 0.7481 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.001211/0.8275, allocations: 490.7 kB / 0.9889 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002363/0.8299, allocations: 2.492 MB / 0.9913 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8299, allocations: 0 / 0.9913 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003443/0.8302, allocations: 343.7 kB / 0.9916 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.8307, allocations: 58.23 kB / 0.9917 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.8333, allocations: 2.12 MB / 0.9938 GB, free: 7.594 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005893/0.8339, allocations: 0.9803 MB / 0.9947 GB, free: 6.586 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.834, allocations: 31.41 kB / 0.9948 GB, free: 6.555 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.834, allocations: 0 / 0.9948 GB, free: 6.555 MB / 0.7481 GB Notification: Performance of Templates: time 0.01813/0.8521, allocations: 11.13 MB / 1.006 GB, free: 11.43 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,gFun_int Variables in the result:gFun_int,time