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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0009714/0.0009716, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008081/0.008081, allocations: 171.7 kB / 16.27 MB, free: 6.648 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.519/1.519, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.604/2.604, allocations: 390.9 MB / 0.6663 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003364, allocations: 8 kB / 0.816 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6201/0.6205, allocations: 142.4 MB / 0.9551 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001722/0.6222, allocations: 1.45 MB / 0.9565 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005197/0.6275, allocations: 4.307 MB / 0.9607 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.6276, allocations: 1.375 kB / 0.9607 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.6288, allocations: 358.7 kB / 0.961 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.6289, allocations: 49.48 kB / 0.9611 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002061/0.631, allocations: 0.7726 MB / 0.9618 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.6313, allocations: 193.9 kB / 0.962 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.955e-05/0.6314, allocations: 16.39 kB / 0.962 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.306e-05/0.6314, allocations: 45.3 kB / 0.9621 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.6317, allocations: 180.3 kB / 0.9623 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.391e-05/0.6317, allocations: 14.06 kB / 0.9623 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/0.6338, allocations: 1.397 MB / 0.9636 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.634, allocations: 279.6 kB / 0.9639 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.6342, allocations: 330.6 kB / 0.9642 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002088/0.6363, allocations: 1.54 MB / 0.9657 GB, free: 88 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.6364, allocations: 0 / 0.9657 GB, free: 88 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6364, allocations: 0 / 0.9657 GB, free: 88 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.273e-05/0.6364, allocations: 1.031 kB / 0.9657 GB, free: 88 kB / 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.01171/0.6481, allocations: 1.21 MB / 0.9669 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.6482, allocations: 12.75 kB / 0.9669 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004416/0.6486, allocations: 95.34 kB / 0.967 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000589/0.6492, allocations: 406.4 kB / 0.9674 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.6492, allocations: 2.406 kB / 0.9674 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.129e-05/0.6493, allocations: 9.719 kB / 0.9674 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004915/0.6498, allocations: 386.2 kB / 0.9678 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.6498, allocations: 8.875 kB / 0.9678 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.6498, allocations: 4.984 kB / 0.9678 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.6499, allocations: 1.031 kB / 0.9678 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004797/0.6503, allocations: 434.4 kB / 0.9682 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008371/0.6512, allocations: 0.6615 MB / 0.9688 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000581/0.6518, allocations: 0.5662 MB / 0.9694 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003493/0.6521, allocations: 332.9 kB / 0.9697 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/0.6532, allocations: 1.049 MB / 0.9707 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004628/0.6537, allocations: 403.5 kB / 0.9711 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 2.224e-06/0.6537, allocations: 0 / 0.9711 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001488/0.6552, allocations: 1.302 MB / 0.9724 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.6553, allocations: 79.45 kB / 0.9725 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.6569, allocations: 1.285 MB / 0.9737 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/0.6569, allocations: 27.08 kB / 0.9738 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002817/0.6572, allocations: 288.5 kB / 0.974 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.6573, allocations: 23.92 kB / 0.9741 GB, free: 11 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/0.6575, allocations: 284.2 kB / 0.9743 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.6577, allocations: 321.9 kB / 0.9746 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/0.6589, allocations: 1.359 MB / 0.976 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.6603, allocations: 1.497 MB / 0.9774 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007331/0.6677, allocations: 3.538 MB / 0.9809 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.6677, allocations: 4 kB / 0.9809 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.0044/0.6721, allocations: 3.976 MB / 0.9848 GB, free: 272 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.6722, allocations: 4 kB / 0.9848 GB, free: 268 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.6722, allocations: 0 / 0.9848 GB, free: 268 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.6722, allocations: 4 kB / 0.9848 GB, free: 264 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.6723, allocations: 19.98 kB / 0.9848 GB, free: 244 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.6724, allocations: 0 / 0.9848 GB, free: 244 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006771/0.673, allocations: 236.3 kB / 0.985 GB, free: 4 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.09e-05/0.6731, allocations: 23.98 kB / 0.985 GB, free: 15.98 MB / 0.7481 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.0003438/0.6735, allocations: 253.5 kB / 0.9853 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.6735, allocations: 74.62 kB / 0.9854 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/0.6738, allocations: 79.72 kB / 0.9854 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.6738, allocations: 0 / 0.9854 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6739, allocations: 4.031 kB / 0.9854 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.6739, allocations: 4 kB / 0.9854 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005065/0.6744, allocations: 0.5061 MB / 0.9859 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.6744, allocations: 0 / 0.9859 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.429e-05/0.6745, allocations: 15.86 kB / 0.9859 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.6745, allocations: 4 kB / 0.9859 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.6745, allocations: 0 / 0.9859 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.6745, allocations: 3.938 kB / 0.986 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6745, allocations: 4 kB / 0.986 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000967/0.6755, allocations: 1.013 MB / 0.9869 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.6756, allocations: 167.6 kB / 0.9871 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.321e-05/0.6757, allocations: 0 / 0.9871 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.6759, allocations: 7.984 kB / 0.9871 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.6759, allocations: 11.98 kB / 0.9871 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.46e-05/0.676, allocations: 23.91 kB / 0.9871 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008448/0.6768, allocations: 0.714 MB / 0.9878 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6768, allocations: 0 / 0.9878 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001386/0.6782, allocations: 403.9 kB / 0.9882 GB, free: 12.6 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.00119/0.6794, allocations: 478.8 kB / 0.9887 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002353/0.6818, allocations: 2.494 MB / 0.9911 GB, free: 9.621 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6818, allocations: 0 / 0.9911 GB, free: 9.621 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003533/0.6821, allocations: 339.8 kB / 0.9914 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/0.6826, allocations: 62.42 kB / 0.9915 GB, free: 9.23 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.685, allocations: 2.071 MB / 0.9935 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005952/0.6856, allocations: 0.992 MB / 0.9945 GB, free: 6.105 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002265/0.6859, allocations: 41.42 kB / 0.9945 GB, free: 6.066 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.686, allocations: 27.41 kB / 0.9946 GB, free: 6.039 MB / 0.7481 GB Notification: Performance of SimCode: time 3.8e-07/0.686, allocations: 0 / 0.9946 GB, free: 6.039 MB / 0.7481 GB Notification: Performance of Templates: time 0.01777/0.7038, allocations: 9.767 MB / 1.004 GB, free: 12.32 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/jenkins/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) Reference file matches