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.001356/0.001356, allocations: 100.1 kB / 15.88 MB, free: 12 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.001431/0.001431, allocations: 196 kB / 16.79 MB, free: 6.809 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.352/1.352, allocations: 222.9 MB / 240.5 MB, free: 4.59 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.369/2.369, allocations: 390.2 MB / 0.6649 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 71.88 kB / 0.8126 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6867/0.6881, allocations: 140.3 MB / 0.9496 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002766/0.6909, allocations: 1.8 MB / 0.9514 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005381/0.6963, allocations: 4.394 MB / 0.9557 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.6965, allocations: 1.031 kB / 0.9557 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.6978, allocations: 354.8 kB / 0.956 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.6979, allocations: 61.41 kB / 0.9561 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002215/0.7002, allocations: 0.7617 MB / 0.9568 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.7004, allocations: 190.7 kB / 0.957 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.745e-05/0.7005, allocations: 12.7 kB / 0.957 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.637e-05/0.7005, allocations: 61.38 kB / 0.9571 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.7008, allocations: 175.5 kB / 0.9572 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.88e-05/0.7008, allocations: 18.53 kB / 0.9572 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.7028, allocations: 1.393 MB / 0.9586 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.7031, allocations: 275.1 kB / 0.9589 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002576/0.7034, allocations: 306.9 kB / 0.9592 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.7047, allocations: 1.053 MB / 0.9602 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.7047, allocations: 0 / 0.9602 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7048, allocations: 4.844 kB / 0.9602 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.176e-06/0.7048, allocations: 0 / 0.9602 GB, free: 1.695 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.007786/0.7126, allocations: 1.275 MB / 0.9614 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.7126, allocations: 8.844 kB / 0.9614 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003991/0.713, allocations: 95.06 kB / 0.9615 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.7135, allocations: 401.4 kB / 0.9619 GB, free: 280 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.7135, allocations: 8.156 kB / 0.9619 GB, free: 276 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.7136, allocations: 4.625 kB / 0.9619 GB, free: 276 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/0.714, allocations: 394.4 kB / 0.9623 GB, free: 148 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.714, allocations: 1.312 kB / 0.9623 GB, free: 148 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.714, allocations: 4 kB / 0.9623 GB, free: 144 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.7141, allocations: 1.344 kB / 0.9623 GB, free: 144 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004786/0.7145, allocations: 430.3 kB / 0.9627 GB, free: 76 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008007/0.7153, allocations: 0.6619 MB / 0.9634 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006546/0.716, allocations: 0.566 MB / 0.9639 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003651/0.7164, allocations: 333.2 kB / 0.9642 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/0.7175, allocations: 1.035 MB / 0.9653 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004505/0.718, allocations: 419.8 kB / 0.9657 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.718, allocations: 0 / 0.9657 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001548/0.7195, allocations: 1.298 MB / 0.9669 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.7196, allocations: 81.02 kB / 0.967 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.7211, allocations: 1.28 MB / 0.9682 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.048e-05/0.7212, allocations: 31.95 kB / 0.9683 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.7214, allocations: 285.6 kB / 0.9685 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.7214, allocations: 18.59 kB / 0.9686 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000339/0.7218, allocations: 351.8 kB / 0.9689 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.7219, allocations: 318.4 kB / 0.9692 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.7231, allocations: 1.362 MB / 0.9705 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.7245, allocations: 1.494 MB / 0.972 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006814/0.7313, allocations: 3.545 MB / 0.9755 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.7313, allocations: 0 / 0.9755 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00391/0.7353, allocations: 3.976 MB / 0.9793 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.7353, allocations: 4 kB / 0.9793 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.7353, allocations: 0 / 0.9793 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.7354, allocations: 4 kB / 0.9793 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.7355, allocations: 19.92 kB / 0.9794 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.7355, allocations: 0 / 0.9794 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000675/0.7362, allocations: 232.3 kB / 0.9796 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/0.7363, allocations: 23.98 kB / 0.9796 GB, free: 2.781 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.0003426/0.7366, allocations: 245.7 kB / 0.9798 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.039e-05/0.7367, allocations: 78.61 kB / 0.9799 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002996/0.737, allocations: 83.61 kB / 0.98 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.737, allocations: 3.984 kB / 0.98 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.737, allocations: 0 / 0.98 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.737, allocations: 4 kB / 0.98 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004726/0.7375, allocations: 0.51 MB / 0.9805 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7375, allocations: 0 / 0.9805 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.379e-05/0.7376, allocations: 7.938 kB / 0.9805 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.7376, allocations: 4 kB / 0.9805 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.7376, allocations: 7.984 kB / 0.9805 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.7376, allocations: 4 kB / 0.9805 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7376, allocations: 0 / 0.9805 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008614/0.7385, allocations: 1.009 MB / 0.9815 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.7386, allocations: 167.7 kB / 0.9817 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.833e-05/0.7387, allocations: 4 kB / 0.9817 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.7389, allocations: 4 kB / 0.9817 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.7389, allocations: 7.984 kB / 0.9817 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/0.739, allocations: 11.98 kB / 0.9817 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007507/0.7397, allocations: 0.7257 MB / 0.9824 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7397, allocations: 0 / 0.9824 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001321/0.741, allocations: 395.9 kB / 0.9828 GB, free: 15.41 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.001307/0.7424, allocations: 482.8 kB / 0.9832 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002211/0.7446, allocations: 2.499 MB / 0.9857 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7446, allocations: 0 / 0.9857 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003072/0.7449, allocations: 340.1 kB / 0.986 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004863/0.7454, allocations: 57.77 kB / 0.9861 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.7478, allocations: 2.103 MB / 0.9881 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/0.7483, allocations: 0.9881 MB / 0.9891 GB, free: 8.883 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.7484, allocations: 23.42 kB / 0.9891 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of SimCode: time 9.32e-07/0.7484, allocations: 4 kB / 0.9891 GB, free: 8.855 MB / 0.7481 GB Notification: Performance of Templates: time 0.01809/0.7665, allocations: 11.18 MB / 1 GB, free: 13.68 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