Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001409/0.001409, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001621/0.001621, allocations: 191.7 kB / 16.14 MB, free: 6.711 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.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.591/2.591, allocations: 437 MB / 0.7099 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.91 kB / 0.8686 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5709/0.5722, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003093/0.5753, allocations: 1.818 MB / 1.018 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.008347/0.5837, allocations: 5.666 MB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.5839, allocations: 3.938 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.5852, allocations: 350.7 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.5854, allocations: 59.72 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.00341/0.5888, allocations: 1.181 MB / 1.026 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002918/0.5891, allocations: 203.3 kB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.823e-05/0.5892, allocations: 9.562 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.016e-05/0.5893, allocations: 59.72 kB / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.5895, allocations: 172.8 kB / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.2e-05/0.5896, allocations: 20 kB / 1.026 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003372/0.5929, allocations: 2.18 MB / 1.028 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.5932, allocations: 283.8 kB / 1.028 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002765/0.5935, allocations: 306.1 kB / 1.029 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003232/0.5967, allocations: 2.233 MB / 1.031 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.5967, allocations: 0 / 1.031 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5967, allocations: 0 / 1.031 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.494e-05/0.5968, allocations: 0 / 1.031 GB, free: 4.191 MB / 0.7794 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.008869/0.6056, allocations: 1.363 MB / 1.032 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.6057, allocations: 11.97 kB / 1.032 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004557/0.6062, allocations: 103.5 kB / 1.032 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005334/0.6067, allocations: 402.3 kB / 1.033 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.6067, allocations: 4.375 kB / 1.033 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/0.6068, allocations: 8.375 kB / 1.033 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004643/0.6073, allocations: 395.4 kB / 1.033 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.6073, allocations: 4 kB / 1.033 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.6073, allocations: 0 / 1.033 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.6073, allocations: 4 kB / 1.033 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000447/0.6078, allocations: 427.8 kB / 1.033 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007215/0.6085, allocations: 0.6654 MB / 1.034 GB, free: 0.6719 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005202/0.609, allocations: 0.5672 MB / 1.035 GB, free: 88 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/0.6094, allocations: 333.6 kB / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/0.6104, allocations: 1.028 MB / 1.036 GB, free: 14.5 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004289/0.6109, allocations: 424.7 kB / 1.036 GB, free: 14.07 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.6109, allocations: 0 / 1.036 GB, free: 14.07 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0014/0.6123, allocations: 1.293 MB / 1.038 GB, free: 12.77 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.6124, allocations: 81.23 kB / 1.038 GB, free: 12.67 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.6137, allocations: 1.286 MB / 1.039 GB, free: 11.38 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.918e-05/0.6137, allocations: 29.7 kB / 1.039 GB, free: 11.34 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.614, allocations: 293.4 kB / 1.039 GB, free: 11.05 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.614, allocations: 27.59 kB / 1.039 GB, free: 11.02 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003452/0.6144, allocations: 347.6 kB / 1.04 GB, free: 10.68 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.6145, allocations: 318 kB / 1.04 GB, free: 10.36 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.6158, allocations: 1.373 MB / 1.041 GB, free: 8.984 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.6171, allocations: 1.505 MB / 1.043 GB, free: 7.469 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00744/0.6246, allocations: 3.56 MB / 1.046 GB, free: 3.816 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.6246, allocations: 0 / 1.046 GB, free: 3.816 MB / 0.795 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.0049/0.6295, allocations: 4.016 MB / 1.05 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.6295, allocations: 4 kB / 1.05 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.22e-05/0.6296, allocations: 8.062 kB / 1.05 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.6296, allocations: 0 / 1.05 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.6298, allocations: 19.98 kB / 1.05 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.6298, allocations: 3.984 kB / 1.05 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004873/0.6303, allocations: 236.3 kB / 1.05 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.539e-05/0.6303, allocations: 28.02 kB / 1.05 GB, free: 15.46 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[1],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 (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003419/0.6307, allocations: 246.1 kB / 1.051 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.634e-05/0.6308, allocations: 74.62 kB / 1.051 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.6311, allocations: 79.81 kB / 1.051 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.6311, allocations: 0 / 1.051 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6311, allocations: 3.938 kB / 1.051 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.6311, allocations: 4.031 kB / 1.051 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000482/0.6316, allocations: 0.5256 MB / 1.051 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.6316, allocations: 0 / 1.051 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.81e-05/0.6317, allocations: 15.92 kB / 1.051 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.6317, allocations: 0 / 1.051 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.6317, allocations: 4 kB / 1.051 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.6317, allocations: 3.938 kB / 1.051 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6318, allocations: 0 / 1.051 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009115/0.6327, allocations: 1.002 MB / 1.052 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.6328, allocations: 159.7 kB / 1.052 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-05/0.6329, allocations: 11.98 kB / 1.053 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.6331, allocations: 7.938 kB / 1.053 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.6331, allocations: 3.984 kB / 1.053 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/0.6332, allocations: 15.98 kB / 1.053 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007922/0.634, allocations: 0.7261 MB / 1.053 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.634, allocations: 0 / 1.053 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00156/0.6355, allocations: 0.5896 MB / 1.054 GB, free: 11.89 MB / 0.8106 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.002293/0.6378, allocations: 0.691 MB / 1.054 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0024/0.6402, allocations: 2.556 MB / 1.057 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.6403, allocations: 4.062 kB / 1.057 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003332/0.6406, allocations: 339.8 kB / 1.057 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.6411, allocations: 56.64 kB / 1.057 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/0.6437, allocations: 2.066 MB / 1.059 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000576/0.6443, allocations: 0.9842 MB / 1.06 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002343/0.6446, allocations: 45.41 kB / 1.06 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.6447, allocations: 27.42 kB / 1.06 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of SimCode: time 2.534e-06/0.6447, allocations: 4 kB / 1.06 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of Templates: time 0.02428/0.669, allocations: 13.87 MB / 1.074 GB, free: 7.25 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches