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.007274/0.007274, allocations: 104.2 kB / 15.73 MB, free: 6.039 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.00165/0.00165, allocations: 194.9 kB / 16.67 MB, free: 5.973 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.424/2.424, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 72.03 kB / 0.9509 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2711, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003002/0.2741, allocations: 1.742 MB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005784/0.28, allocations: 4.222 MB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.2801, allocations: 7.938 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.2814, allocations: 364 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.2815, allocations: 63.64 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002568/0.2841, allocations: 0.9803 MB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002828/0.2844, allocations: 155.3 kB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.535e-05/0.2845, allocations: 17.53 kB / 1.095 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.312e-05/0.2846, allocations: 55.7 kB / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.2848, allocations: 155.5 kB / 1.096 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.5e-05/0.2849, allocations: 16 kB / 1.096 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002088/0.287, allocations: 1.385 MB / 1.097 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.2872, allocations: 275.8 kB / 1.097 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002873/0.2875, allocations: 302.2 kB / 1.097 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.2895, allocations: 1.554 MB / 1.099 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2895, allocations: 0 / 1.099 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2896, allocations: 0 / 1.099 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.176e-06/0.2896, allocations: 0 / 1.099 GB, free: 6.16 MB / 0.8575 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.0101/0.2997, allocations: 1.277 MB / 1.1 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.2997, allocations: 12.02 kB / 1.1 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003887/0.3001, allocations: 95.59 kB / 1.1 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005347/0.3007, allocations: 410 kB / 1.101 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.3007, allocations: 4.375 kB / 1.101 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.271e-05/0.3007, allocations: 4.375 kB / 1.101 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000407/0.3012, allocations: 387.5 kB / 1.101 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3012, allocations: 0 / 1.101 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.3012, allocations: 15.92 kB / 1.101 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3012, allocations: 4 kB / 1.101 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004154/0.3016, allocations: 427.8 kB / 1.102 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000577/0.3022, allocations: 0.6535 MB / 1.102 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005028/0.3027, allocations: 0.5711 MB / 1.103 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/0.303, allocations: 337.7 kB / 1.103 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/0.3041, allocations: 1.025 MB / 1.104 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003805/0.3045, allocations: 412.8 kB / 1.104 GB, free: 148 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.3045, allocations: 0 / 1.104 GB, free: 148 kB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.001308/0.3058, allocations: 1.289 MB / 1.106 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.3058, allocations: 93.14 kB / 1.106 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.307, allocations: 1.281 MB / 1.107 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.3071, allocations: 37.64 kB / 1.107 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.3073, allocations: 281.4 kB / 1.107 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.3074, allocations: 23.73 kB / 1.107 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003069/0.3077, allocations: 347.5 kB / 1.108 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3078, allocations: 326 kB / 1.108 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.309, allocations: 1.357 MB / 1.109 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.3103, allocations: 1.493 MB / 1.111 GB, free: 9.566 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006957/0.3173, allocations: 3.538 MB / 1.114 GB, free: 5.938 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.3173, allocations: 0 / 1.114 GB, free: 5.938 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004085/0.3214, allocations: 3.973 MB / 1.118 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.3214, allocations: 8 kB / 1.118 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.3215, allocations: 0 / 1.118 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3215, allocations: 0 / 1.118 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.3216, allocations: 19.94 kB / 1.118 GB, free: 1.902 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.3216, allocations: 7.984 kB / 1.118 GB, free: 1.895 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004902/0.3221, allocations: 224.3 kB / 1.118 GB, free: 1.672 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/0.3222, allocations: 23.98 kB / 1.118 GB, free: 1.648 MB / 0.8731 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.0003012/0.3225, allocations: 249.7 kB / 1.119 GB, free: 1.395 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-05/0.3226, allocations: 74.62 kB / 1.119 GB, free: 1.32 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002859/0.3229, allocations: 83.66 kB / 1.119 GB, free: 1.227 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3229, allocations: 4 kB / 1.119 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3229, allocations: 0 / 1.119 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3229, allocations: 0 / 1.119 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004496/0.3233, allocations: 0.5139 MB / 1.119 GB, free: 0.6641 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.3234, allocations: 4 kB / 1.119 GB, free: 0.6602 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.561e-05/0.3234, allocations: 11.92 kB / 1.119 GB, free: 0.6484 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3234, allocations: 3.984 kB / 1.119 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.3235, allocations: 4 kB / 1.119 GB, free: 0.6406 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3235, allocations: 3.938 kB / 1.119 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3235, allocations: 0 / 1.119 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.3245, allocations: 1.017 MB / 1.12 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.3247, allocations: 167.7 kB / 1.12 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.71e-05/0.3247, allocations: 3.984 kB / 1.12 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.3249, allocations: 4 kB / 1.12 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.325, allocations: 7.984 kB / 1.12 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.453e-05/0.325, allocations: 7.984 kB / 1.121 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007968/0.3258, allocations: 0.7218 MB / 1.121 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3258, allocations: 0 / 1.121 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001081/0.3269, allocations: 399.9 kB / 1.122 GB, free: 14.27 MB / 0.8887 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.001174/0.3281, allocations: 487 kB / 1.122 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002238/0.3303, allocations: 2.504 MB / 1.125 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3304, allocations: 0 / 1.125 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.3307, allocations: 339.8 kB / 1.125 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.3311, allocations: 61.94 kB / 1.125 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.3334, allocations: 1.853 MB / 1.127 GB, free: 9 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/0.3339, allocations: 0.9839 MB / 1.128 GB, free: 7.992 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001338/0.334, allocations: 37.44 kB / 1.128 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.659e-05/0.3341, allocations: 27.41 kB / 1.128 GB, free: 7.93 MB / 0.8887 GB Notification: Performance of SimCode: time 2.41e-07/0.3341, allocations: 0 / 1.128 GB, free: 7.93 MB / 0.8887 GB Notification: Performance of Templates: time 0.01702/0.3512, allocations: 10.18 MB / 1.138 GB, free: 13.8 MB / 0.9044 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