Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.332/2.332, allocations: 393.5 MB / 408.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 186.8 kB / 0.4902 GB, free: 2.289 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 223.1 MB / 0.7992 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009355/0.0009355, allocations: 94.39 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003553, allocations: 11.22 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3075, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2193/0.5269, allocations: 178 MB / 1.403 GB, free: 7.469 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000339/0.5273, allocations: 127.9 kB / 1.403 GB, free: 7.344 MB / 0.9011 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.7276/1.255, allocations: 38.5 MB / 1.441 GB, free: 179.9 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.204e-06/1.255, allocations: 4 kB / 1.441 GB, free: 179.9 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.352e-05/1.255, allocations: 13.62 kB / 1.441 GB, free: 179.9 MB / 0.9167 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.003997/1.259, allocations: 1.306 MB / 1.442 GB, free: 179 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/1.259, allocations: 9.5 kB / 1.442 GB, free: 179 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006057/1.26, allocations: 110.4 kB / 1.442 GB, free: 179 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/1.261, allocations: 471.3 kB / 1.443 GB, free: 178.7 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.062e-05/1.261, allocations: 27.88 kB / 1.443 GB, free: 178.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/1.261, allocations: 39.06 kB / 1.443 GB, free: 178.7 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005136/1.262, allocations: 387 kB / 1.443 GB, free: 178.6 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/1.262, allocations: 0 / 1.443 GB, free: 178.6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/1.262, allocations: 3.938 kB / 1.443 GB, free: 178.6 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/1.262, allocations: 0 / 1.443 GB, free: 178.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/1.262, allocations: 439.9 kB / 1.444 GB, free: 178.6 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/1.263, allocations: 0.775 MB / 1.444 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007065/1.264, allocations: 0.5581 MB / 1.445 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000896/1.265, allocations: 1.049 MB / 1.446 GB, free: 177.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000518/1.265, allocations: 397.4 kB / 1.446 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.843e-06/1.265, allocations: 0 / 1.446 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.002127/1.268, allocations: 1.306 MB / 1.448 GB, free: 177 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/1.268, allocations: 86.67 kB / 1.448 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/1.27, allocations: 1.135 MB / 1.449 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000135/1.27, allocations: 43.14 kB / 1.449 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003795/1.27, allocations: 299 kB / 1.449 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.591e-05/1.27, allocations: 26.08 kB / 1.449 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.205e-05/1.27, allocations: 20.25 kB / 1.449 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002019/1.271, allocations: 433.6 kB / 1.45 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001739/1.272, allocations: 1.226 MB / 1.451 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/1.274, allocations: 1.366 MB / 1.452 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001995/1.276, allocations: 1.627 MB / 1.454 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/1.276, allocations: 5.344 kB / 1.454 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.006264/1.282, allocations: 3.492 MB / 1.457 GB, free: 175 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/1.282, allocations: 3.938 kB / 1.457 GB, free: 175 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.079e-05/1.282, allocations: 7.516 kB / 1.457 GB, free: 175 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-05/1.282, allocations: 3.812 kB / 1.457 GB, free: 175 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006327/1.283, allocations: 144.4 kB / 1.457 GB, free: 175 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/1.283, allocations: 4.125 kB / 1.457 GB, free: 175 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008568/1.284, allocations: 248.6 kB / 1.457 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/1.284, allocations: 56.11 kB / 1.457 GB, free: 174.8 MB / 0.9167 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2,labels[1],cluSiz[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003931/1.285, allocations: 267.3 kB / 1.458 GB, free: 174.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/1.285, allocations: 77.42 kB / 1.458 GB, free: 174.7 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/1.286, allocations: 0.9512 MB / 1.459 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/1.286, allocations: 3.125 kB / 1.459 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/1.286, allocations: 7.562 kB / 1.459 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.286, allocations: 0 / 1.459 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006422/1.286, allocations: 0.5188 MB / 1.459 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.286, allocations: 0 / 1.459 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.578e-05/1.286, allocations: 5.688 kB / 1.459 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/1.286, allocations: 6.969 kB / 1.459 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/1.287, allocations: 0 / 1.459 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/1.287, allocations: 3.25 kB / 1.459 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.287, allocations: 0 / 1.459 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000859/1.287, allocations: 1.022 MB / 1.46 GB, free: 174.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/1.288, allocations: 161.4 kB / 1.46 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/1.288, allocations: 7.562 kB / 1.46 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/1.288, allocations: 7.5 kB / 1.46 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/1.288, allocations: 7.75 kB / 1.46 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.205e-05/1.288, allocations: 11.25 kB / 1.46 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007926/1.289, allocations: 0.7157 MB / 1.461 GB, free: 174 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.51e-07/1.289, allocations: 0 / 1.461 GB, free: 174 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003095/1.292, allocations: 0.7089 MB / 1.462 GB, free: 173.8 MB / 0.9167 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004553/1.297, allocations: 0.8872 MB / 1.463 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002233/1.299, allocations: 2.417 MB / 1.465 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.299, allocations: 3.562 kB / 1.465 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002713/1.299, allocations: 341.4 kB / 1.465 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/1.299, allocations: 51.91 kB / 1.465 GB, free: 173.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/1.302, allocations: 1.989 MB / 1.467 GB, free: 172.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/1.302, allocations: 1.007 MB / 1.468 GB, free: 172 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002309/1.302, allocations: 58.72 kB / 1.468 GB, free: 172 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/1.303, allocations: 39.14 kB / 1.468 GB, free: 172 MB / 0.9167 GB Notification: Performance of SimCode: time 4.41e-07/1.303, allocations: 3.938 kB / 1.468 GB, free: 172 MB / 0.9167 GB Notification: Performance of Templates: time 0.02202/1.325, allocations: 14.76 MB / 1.483 GB, free: 161.8 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches