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.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_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.001131/0.001131, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001185/0.001185, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.329/1.329, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.292/2.292, allocations: 390.2 MB / 0.6643 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.91 kB / 0.8121 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7258/0.7271, allocations: 140.4 MB / 0.9491 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002299/0.7294, allocations: 1.47 MB / 0.9506 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003719/0.7331, allocations: 3.037 MB / 0.9535 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.008e-05/0.7332, allocations: 0 / 0.9535 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.7334, allocations: 9.219 kB / 0.9535 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.7338, allocations: 31.64 kB / 0.9536 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003738/0.7375, allocations: 0.8882 MB / 0.9544 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.7377, allocations: 83.58 kB / 0.9545 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.331e-05/0.7378, allocations: 4.344 kB / 0.9545 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.73e-05/0.7379, allocations: 51.78 kB / 0.9546 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.7382, allocations: 151.4 kB / 0.9547 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.7382, allocations: 14.06 kB / 0.9547 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002029/0.7403, allocations: 1.411 MB / 0.9561 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000202/0.7405, allocations: 265.2 kB / 0.9564 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000211/0.7407, allocations: 276.5 kB / 0.9566 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.7424, allocations: 1.487 MB / 0.9581 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.7424, allocations: 0 / 0.9581 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7424, allocations: 4 kB / 0.9581 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.7424, allocations: 1.156 kB / 0.9581 GB, free: 2.953 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.008749/0.7512, allocations: 1.206 MB / 0.9593 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.7512, allocations: 9.25 kB / 0.9593 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000365/0.7516, allocations: 87.27 kB / 0.9594 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.752, allocations: 366.3 kB / 0.9597 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.752, allocations: 6.75 kB / 0.9597 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.752, allocations: 9.5 kB / 0.9597 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004299/0.7525, allocations: 386.5 kB / 0.9601 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.7525, allocations: 1.25 kB / 0.9601 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.7525, allocations: 3.984 kB / 0.9601 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.7525, allocations: 1.562 kB / 0.9601 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004497/0.753, allocations: 438.4 kB / 0.9605 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/0.7535, allocations: 0.6315 MB / 0.9611 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005523/0.754, allocations: 0.5609 MB / 0.9617 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.7544, allocations: 336.9 kB / 0.962 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009913/0.7554, allocations: 1.028 MB / 0.963 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004458/0.7558, allocations: 411.3 kB / 0.9634 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 3.807e-06/0.7559, allocations: 7.984 kB / 0.9634 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001487/0.7573, allocations: 1.288 MB / 0.9647 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.7574, allocations: 83.72 kB / 0.9647 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.7586, allocations: 1.202 MB / 0.9659 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.7587, allocations: 34.77 kB / 0.9659 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.759, allocations: 265.7 kB / 0.9662 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.759, allocations: 23.23 kB / 0.9662 GB, free: 14 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/0.7594, allocations: 347.9 kB / 0.9666 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.7595, allocations: 307.1 kB / 0.9668 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.7611, allocations: 1.363 MB / 0.9682 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.7627, allocations: 1.489 MB / 0.9696 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006972/0.7697, allocations: 3.542 MB / 0.9731 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.7697, allocations: 0 / 0.9731 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004269/0.774, allocations: 3.969 MB / 0.977 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.774, allocations: 4 kB / 0.977 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.774, allocations: 4 kB / 0.977 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.774, allocations: 4.031 kB / 0.977 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.7742, allocations: 15.98 kB / 0.977 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.7742, allocations: 4.25 kB / 0.977 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006044/0.7748, allocations: 236.3 kB / 0.9772 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.301e-05/0.7749, allocations: 23.97 kB / 0.9772 GB, free: 4.629 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.0003817/0.7752, allocations: 237.7 kB / 0.9775 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.769e-05/0.7753, allocations: 66.72 kB / 0.9775 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.7756, allocations: 78.84 kB / 0.9776 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.7756, allocations: 0 / 0.9776 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.7756, allocations: 3.938 kB / 0.9776 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.7756, allocations: 3.984 kB / 0.9776 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004333/0.7761, allocations: 496.8 kB / 0.9781 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.7761, allocations: 4 kB / 0.9781 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.883e-05/0.7761, allocations: 7.938 kB / 0.9781 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.7762, allocations: 4.031 kB / 0.9781 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.7762, allocations: 7.984 kB / 0.9781 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.7762, allocations: 3.984 kB / 0.9781 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.7762, allocations: 0 / 0.9781 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008487/0.777, allocations: 0.9935 MB / 0.9791 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.7772, allocations: 159.8 kB / 0.9792 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.7772, allocations: 7.922 kB / 0.9793 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.7774, allocations: 4 kB / 0.9793 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.7774, allocations: 7.984 kB / 0.9793 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.195e-05/0.7775, allocations: 11.98 kB / 0.9793 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007543/0.7782, allocations: 0.6648 MB / 0.9799 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7782, allocations: 0 / 0.9799 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001196/0.7794, allocations: 399.8 kB / 0.9803 GB, free: 1.375 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.001253/0.7807, allocations: 479.4 kB / 0.9808 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00243/0.7831, allocations: 2.497 MB / 0.9832 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7831, allocations: 4.062 kB / 0.9832 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003143/0.7835, allocations: 339.8 kB / 0.9835 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.7838, allocations: 49.94 kB / 0.9836 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.786, allocations: 1.916 MB / 0.9854 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005905/0.7866, allocations: 0.9639 MB / 0.9864 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001717/0.7867, allocations: 36.55 kB / 0.9864 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.713e-05/0.7868, allocations: 27.42 kB / 0.9864 GB, free: 11 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.7868, allocations: 0 / 0.9864 GB, free: 11 MB / 0.7481 GB Notification: Performance of Templates: time 0.01609/0.8029, allocations: 9.526 MB / 0.9958 GB, free: 1.512 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/jenkins/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