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.006089/0.006089, allocations: 103.1 kB / 15.73 MB, free: 6.059 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.00141/0.00141, allocations: 186.2 kB / 16.67 MB, free: 5.977 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.188/2.188, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 60.14 kB / 0.9509 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.776/0.7773, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002746/0.7801, allocations: 1.736 MB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005597/0.7857, allocations: 4.218 MB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.7858, allocations: 5.469 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.7871, allocations: 366.4 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.7873, allocations: 56.41 kB / 1.094 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003093/0.7904, allocations: 0.9844 MB / 1.095 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003129/0.7907, allocations: 149.9 kB / 1.095 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.316e-05/0.7908, allocations: 13.31 kB / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.051e-05/0.7909, allocations: 60.42 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002873/0.7911, allocations: 159.5 kB / 1.096 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.239e-05/0.7912, allocations: 19.09 kB / 1.096 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002527/0.7937, allocations: 1.382 MB / 1.097 GB, free: 296 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003362/0.7941, allocations: 279.9 kB / 1.097 GB, free: 216 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.7944, allocations: 304.5 kB / 1.097 GB, free: 16 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004226/0.7986, allocations: 1.543 MB / 1.099 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.7986, allocations: 1.312 kB / 1.099 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7987, allocations: 0 / 1.099 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.7987, allocations: 0 / 1.099 GB, free: 15.52 MB / 0.8731 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.009101/0.8078, allocations: 1.281 MB / 1.1 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.8078, allocations: 9.719 kB / 1.1 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004129/0.8083, allocations: 92.53 kB / 1.1 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000613/0.8089, allocations: 410.7 kB / 1.101 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.8089, allocations: 2.844 kB / 1.101 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.809, allocations: 14.3 kB / 1.101 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005557/0.8095, allocations: 392.5 kB / 1.101 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.8095, allocations: 0 / 1.101 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.8096, allocations: 1.719 kB / 1.101 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.8096, allocations: 1.094 kB / 1.101 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005608/0.8101, allocations: 437.1 kB / 1.102 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007698/0.8109, allocations: 0.6633 MB / 1.102 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005587/0.8115, allocations: 0.5581 MB / 1.103 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003386/0.8118, allocations: 338.1 kB / 1.103 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/0.8129, allocations: 1.03 MB / 1.104 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004336/0.8133, allocations: 408.4 kB / 1.104 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.8133, allocations: 0 / 1.104 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.001607/0.8149, allocations: 1.297 MB / 1.106 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.815, allocations: 84.81 kB / 1.106 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001847/0.8169, allocations: 1.279 MB / 1.107 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.094e-05/0.8169, allocations: 27.98 kB / 1.107 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.8172, allocations: 285.5 kB / 1.107 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.8172, allocations: 21.12 kB / 1.107 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004253/0.8177, allocations: 359.5 kB / 1.108 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.8178, allocations: 322.7 kB / 1.108 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.8192, allocations: 1.361 MB / 1.109 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.8207, allocations: 1.493 MB / 1.111 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007672/0.8284, allocations: 3.54 MB / 1.114 GB, free: 8.246 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.8285, allocations: 0 / 1.114 GB, free: 8.246 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004759/0.8332, allocations: 3.972 MB / 1.118 GB, free: 6.285 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.8333, allocations: 4.531 kB / 1.118 GB, free: 6.285 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.8333, allocations: 2.891 kB / 1.118 GB, free: 6.285 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.8333, allocations: 1.219 kB / 1.118 GB, free: 6.285 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.8335, allocations: 19.31 kB / 1.118 GB, free: 6.281 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.8335, allocations: 1.375 kB / 1.118 GB, free: 6.281 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008463/0.8343, allocations: 238.8 kB / 1.118 GB, free: 6.086 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.507e-05/0.8344, allocations: 23.7 kB / 1.118 GB, free: 6.086 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.0005128/0.8349, allocations: 242.2 kB / 1.119 GB, free: 5.965 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.191e-05/0.835, allocations: 79.78 kB / 1.119 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/0.8353, allocations: 81.5 kB / 1.119 GB, free: 5.836 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.8354, allocations: 5 kB / 1.119 GB, free: 5.832 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.8354, allocations: 5.125 kB / 1.119 GB, free: 5.828 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.8354, allocations: 0.7969 kB / 1.119 GB, free: 5.828 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006769/0.8361, allocations: 0.5126 MB / 1.119 GB, free: 5.547 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.8361, allocations: 0 / 1.119 GB, free: 5.547 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.608e-05/0.8362, allocations: 11.89 kB / 1.119 GB, free: 5.543 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.8362, allocations: 1.469 kB / 1.119 GB, free: 5.543 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.8362, allocations: 3.125 kB / 1.119 GB, free: 5.543 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.8362, allocations: 5 kB / 1.119 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.8362, allocations: 0.9062 kB / 1.119 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.8372, allocations: 1.005 MB / 1.12 GB, free: 5.387 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.8374, allocations: 160.6 kB / 1.12 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.815e-05/0.8375, allocations: 3.047 kB / 1.12 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.8376, allocations: 12.5 kB / 1.12 GB, free: 5.227 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.8377, allocations: 13.78 kB / 1.12 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.8377, allocations: 12.05 kB / 1.12 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009394/0.8387, allocations: 0.7192 MB / 1.121 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8387, allocations: 1.438 kB / 1.121 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001875/0.8405, allocations: 402.5 kB / 1.122 GB, free: 4.91 MB / 0.8731 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.001304/0.8419, allocations: 479.9 kB / 1.122 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002436/0.8443, allocations: 2.495 MB / 1.124 GB, free: 3.73 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/0.8443, allocations: 5.438 kB / 1.124 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003629/0.8447, allocations: 337.1 kB / 1.125 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.8452, allocations: 64.36 kB / 1.125 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.8475, allocations: 1.866 MB / 1.127 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005949/0.8481, allocations: 0.9865 MB / 1.128 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001596/0.8483, allocations: 40.48 kB / 1.128 GB, free: 2.352 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.8484, allocations: 31.02 kB / 1.128 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/0.8484, allocations: 0 / 1.128 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of Templates: time 0.02028/0.8687, allocations: 10.28 MB / 1.138 GB, free: 1.152 MB / 0.8731 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