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.00196/0.00196, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.002205/0.002205, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.405/1.405, allocations: 222.9 MB / 240.6 MB, free: 4.539 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.396/2.396, allocations: 390.2 MB / 0.665 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 71.89 kB / 0.8127 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7007/0.7022, allocations: 140.3 MB / 0.9498 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00304/0.7053, allocations: 1.796 MB / 0.9516 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005146/0.7105, allocations: 4.205 MB / 0.9557 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.7107, allocations: 1.094 kB / 0.9557 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.712, allocations: 357.6 kB / 0.956 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.7122, allocations: 52.44 kB / 0.9561 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002732/0.7149, allocations: 0.885 MB / 0.9569 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.7152, allocations: 144.2 kB / 0.9571 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.787e-05/0.7153, allocations: 13.38 kB / 0.9571 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.285e-05/0.7154, allocations: 54.03 kB / 0.9571 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.7156, allocations: 171.1 kB / 0.9573 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.733e-05/0.7157, allocations: 15 kB / 0.9573 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.7177, allocations: 1.417 MB / 0.9587 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002135/0.7179, allocations: 279.5 kB / 0.959 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.7182, allocations: 298.7 kB / 0.9592 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.7199, allocations: 1.062 MB / 0.9603 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.7199, allocations: 5.188 kB / 0.9603 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7199, allocations: 0 / 0.9603 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.995e-05/0.72, allocations: 0 / 0.9603 GB, free: 1.777 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.009398/0.7294, allocations: 1.27 MB / 0.9615 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.7294, allocations: 9.781 kB / 0.9615 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004113/0.7299, allocations: 95.58 kB / 0.9616 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004442/0.7303, allocations: 402.4 kB / 0.962 GB, free: 368 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.7303, allocations: 10 kB / 0.962 GB, free: 360 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.165e-05/0.7304, allocations: 8.875 kB / 0.962 GB, free: 356 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004216/0.7308, allocations: 394.9 kB / 0.9624 GB, free: 228 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.7308, allocations: 1.125 kB / 0.9624 GB, free: 228 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.7309, allocations: 0 / 0.9624 GB, free: 228 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.7309, allocations: 1.094 kB / 0.9624 GB, free: 228 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004754/0.7314, allocations: 443 kB / 0.9628 GB, free: 148 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008088/0.7322, allocations: 0.6543 MB / 0.9635 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006087/0.7328, allocations: 0.5617 MB / 0.964 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000389/0.7332, allocations: 344.9 kB / 0.9643 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/0.7344, allocations: 1.032 MB / 0.9654 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004265/0.7348, allocations: 410.9 kB / 0.9657 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.803e-06/0.7348, allocations: 0 / 0.9657 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001462/0.7363, allocations: 1.294 MB / 0.967 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.7364, allocations: 80.05 kB / 0.9671 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.738, allocations: 1.281 MB / 0.9683 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.613e-05/0.7381, allocations: 32.02 kB / 0.9684 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/0.7384, allocations: 284.3 kB / 0.9686 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.971e-05/0.7385, allocations: 31.47 kB / 0.9687 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004039/0.7389, allocations: 344.4 kB / 0.969 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.739, allocations: 320.7 kB / 0.9693 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/0.7404, allocations: 1.36 MB / 0.9706 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001488/0.7419, allocations: 1.494 MB / 0.9721 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007307/0.7492, allocations: 3.545 MB / 0.9755 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.7492, allocations: 0 / 0.9755 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004646/0.7539, allocations: 3.969 MB / 0.9794 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/0.754, allocations: 8 kB / 0.9794 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.754, allocations: 4.109 kB / 0.9794 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.754, allocations: 0 / 0.9794 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.7542, allocations: 23.92 kB / 0.9795 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.7542, allocations: 7.984 kB / 0.9795 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006835/0.7549, allocations: 228.3 kB / 0.9797 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.754e-05/0.7549, allocations: 27.92 kB / 0.9797 GB, free: 2.828 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.0003757/0.7553, allocations: 245.6 kB / 0.9799 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.694e-05/0.7554, allocations: 74.62 kB / 0.98 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003361/0.7558, allocations: 87.66 kB / 0.9801 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.7558, allocations: 4 kB / 0.9801 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.7558, allocations: 0 / 0.9801 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.7558, allocations: 0 / 0.9801 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005913/0.7564, allocations: 0.5139 MB / 0.9806 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.7564, allocations: 0 / 0.9806 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.433e-05/0.7565, allocations: 11.92 kB / 0.9806 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.7565, allocations: 7.969 kB / 0.9806 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.7565, allocations: 4 kB / 0.9806 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.7565, allocations: 0 / 0.9806 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.7565, allocations: 0 / 0.9806 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009417/0.7575, allocations: 1.009 MB / 0.9816 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.7577, allocations: 167.7 kB / 0.9818 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.533e-05/0.7578, allocations: 0 / 0.9818 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.7579, allocations: 7.984 kB / 0.9818 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.758, allocations: 4 kB / 0.9818 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-05/0.758, allocations: 15.97 kB / 0.9818 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008132/0.7588, allocations: 0.714 MB / 0.9825 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7588, allocations: 4 kB / 0.9825 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001276/0.7601, allocations: 403.8 kB / 0.9829 GB, free: 15.46 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.001509/0.7617, allocations: 487.6 kB / 0.9834 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002373/0.764, allocations: 2.495 MB / 0.9858 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7641, allocations: 4.062 kB / 0.9858 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003202/0.7644, allocations: 339.8 kB / 0.9861 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.7648, allocations: 62.3 kB / 0.9862 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.7674, allocations: 2.098 MB / 0.9882 GB, free: 9.941 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005661/0.768, allocations: 0.9877 MB / 0.9892 GB, free: 8.926 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.7681, allocations: 27.42 kB / 0.9892 GB, free: 8.898 MB / 0.7481 GB Notification: Performance of SimCode: time 8.32e-07/0.7682, allocations: 0 / 0.9892 GB, free: 8.898 MB / 0.7481 GB Notification: Performance of Templates: time 0.01799/0.7862, allocations: 11.2 MB / 1 GB, free: 13.71 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