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_1borehole_5meters.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_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, 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.001747/0.001748, allocations: 197.8 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.482/1.482, allocations: 222.9 MB / 240.5 MB, free: 4.602 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.333/2.333, allocations: 390.2 MB / 0.6649 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001385, allocations: 59.91 kB / 0.8126 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6489/0.6503, allocations: 140.4 MB / 0.9496 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002266/0.6527, allocations: 1.465 MB / 0.9511 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003926/0.6566, allocations: 3.225 MB / 0.9542 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.931e-05/0.6567, allocations: 0 / 0.9542 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.6568, allocations: 4.906 kB / 0.9542 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.657, allocations: 31.3 kB / 0.9542 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.6588, allocations: 0.7747 MB / 0.955 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.6589, allocations: 111 kB / 0.9551 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.886e-05/0.659, allocations: 2.969 kB / 0.9551 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.875e-05/0.659, allocations: 34.67 kB / 0.9551 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.6593, allocations: 160.9 kB / 0.9553 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.6593, allocations: 12.34 kB / 0.9553 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.6611, allocations: 1.404 MB / 0.9567 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.6613, allocations: 264 kB / 0.9569 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.6615, allocations: 272.9 kB / 0.9572 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.6627, allocations: 0.9868 MB / 0.9582 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.6627, allocations: 4 kB / 0.9582 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6627, allocations: 0.75 kB / 0.9582 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.6628, allocations: 4 kB / 0.9582 GB, free: 3.297 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.007994/0.6708, allocations: 1.209 MB / 0.9593 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.6708, allocations: 8.719 kB / 0.9593 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003807/0.6712, allocations: 84.31 kB / 0.9594 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.6716, allocations: 366.3 kB / 0.9598 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.6716, allocations: 2.906 kB / 0.9598 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/0.6716, allocations: 12.19 kB / 0.9598 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004788/0.6721, allocations: 391.2 kB / 0.9602 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.6721, allocations: 1.312 kB / 0.9602 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.6721, allocations: 0 / 0.9602 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.6722, allocations: 1.531 kB / 0.9602 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004437/0.6726, allocations: 438 kB / 0.9606 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.6731, allocations: 0.6387 MB / 0.9612 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005488/0.6737, allocations: 0.5544 MB / 0.9618 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003532/0.674, allocations: 340.6 kB / 0.9621 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008991/0.675, allocations: 1.035 MB / 0.9631 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004729/0.6754, allocations: 411.1 kB / 0.9635 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.6755, allocations: 3.938 kB / 0.9635 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001552/0.677, allocations: 1.292 MB / 0.9647 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.6771, allocations: 79.8 kB / 0.9648 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.6783, allocations: 1.201 MB / 0.966 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/0.6784, allocations: 32.05 kB / 0.966 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.6786, allocations: 259.9 kB / 0.9663 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.975e-05/0.6786, allocations: 36.47 kB / 0.9663 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003536/0.679, allocations: 343.1 kB / 0.9666 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.6791, allocations: 312.2 kB / 0.9669 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.6805, allocations: 1.363 MB / 0.9683 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.6819, allocations: 1.492 MB / 0.9697 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006857/0.6888, allocations: 3.541 MB / 0.9732 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.6888, allocations: 4 kB / 0.9732 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004078/0.6929, allocations: 3.965 MB / 0.9771 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.6929, allocations: 5.562 kB / 0.9771 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.693, allocations: 4 kB / 0.9771 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.693, allocations: 4.031 kB / 0.9771 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.6931, allocations: 15.98 kB / 0.9771 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.6932, allocations: 0 / 0.9771 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006345/0.6938, allocations: 232.3 kB / 0.9773 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/0.6939, allocations: 23.98 kB / 0.9773 GB, free: 5.125 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.0003164/0.6942, allocations: 241.5 kB / 0.9776 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.59e-05/0.6943, allocations: 66.72 kB / 0.9776 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002884/0.6945, allocations: 78.89 kB / 0.9777 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.6946, allocations: 0 / 0.9777 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.6946, allocations: 0 / 0.9777 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.6946, allocations: 4 kB / 0.9777 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.695, allocations: 0.489 MB / 0.9782 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.695, allocations: 0 / 0.9782 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.308e-05/0.6951, allocations: 15.86 kB / 0.9782 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6951, allocations: 0 / 0.9782 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.6951, allocations: 8.031 kB / 0.9782 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.6951, allocations: 0 / 0.9782 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6952, allocations: 0 / 0.9782 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008814/0.696, allocations: 0.9974 MB / 0.9792 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.6962, allocations: 155.8 kB / 0.9793 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.937e-05/0.6962, allocations: 8 kB / 0.9793 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.6964, allocations: 7.984 kB / 0.9793 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.6964, allocations: 7.938 kB / 0.9793 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.6965, allocations: 19.91 kB / 0.9794 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006617/0.6971, allocations: 0.6648 MB / 0.98 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6971, allocations: 4 kB / 0.98 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001313/0.6984, allocations: 395.9 kB / 0.9804 GB, free: 1.859 MB / 0.7325 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.00122/0.6997, allocations: 486.8 kB / 0.9809 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002189/0.7019, allocations: 2.488 MB / 0.9833 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.7019, allocations: 0 / 0.9833 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003134/0.7022, allocations: 351.8 kB / 0.9836 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.7025, allocations: 32.44 kB / 0.9837 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.7047, allocations: 1.962 MB / 0.9856 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005069/0.7053, allocations: 0.9604 MB / 0.9865 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.7054, allocations: 27.41 kB / 0.9865 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of SimCode: time 4.41e-07/0.7054, allocations: 0 / 0.9865 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of Templates: time 0.01567/0.7211, allocations: 10.52 MB / 0.9968 GB, free: 0.9609 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches