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.00101/0.00101, allocations: 91.92 kB / 16.02 MB, free: 80 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.001289/0.001289, allocations: 178.5 kB / 16.92 MB, free: 6.652 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.331/1.331, allocations: 223.3 MB / 241 MB, free: 5.289 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.362/2.362, allocations: 390.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003432, allocations: 12 kB / 0.8167 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7615/0.7618, allocations: 142.4 MB / 0.9558 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001356/0.7632, allocations: 1.133 MB / 0.9569 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003956/0.7672, allocations: 3.157 MB / 0.9599 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.089e-05/0.7673, allocations: 4 kB / 0.9599 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.7674, allocations: 9.047 kB / 0.96 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.7676, allocations: 24.5 kB / 0.96 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.7695, allocations: 0.7667 MB / 0.9607 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.7697, allocations: 102.7 kB / 0.9608 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.836e-05/0.7697, allocations: 8.125 kB / 0.9608 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.65e-05/0.7698, allocations: 45.7 kB / 0.9609 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.7701, allocations: 156.9 kB / 0.961 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.05e-05/0.7701, allocations: 13.06 kB / 0.961 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002564/0.7727, allocations: 1.396 MB / 0.9624 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003172/0.773, allocations: 272.5 kB / 0.9627 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002735/0.7733, allocations: 298.6 kB / 0.9629 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.7749, allocations: 0.9949 MB / 0.9639 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.775, allocations: 0 / 0.9639 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.554e-06/0.775, allocations: 0 / 0.9639 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.775, allocations: 0 / 0.9639 GB, free: 2.125 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.01066/0.7857, allocations: 1.156 MB / 0.965 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.7857, allocations: 8.969 kB / 0.9651 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003727/0.7861, allocations: 92.52 kB / 0.9651 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.7865, allocations: 361.4 kB / 0.9655 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.7865, allocations: 2.375 kB / 0.9655 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.381e-05/0.7866, allocations: 5.406 kB / 0.9655 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005337/0.7871, allocations: 391 kB / 0.9659 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.7871, allocations: 5.031 kB / 0.9659 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.7872, allocations: 3.984 kB / 0.9659 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.7872, allocations: 0.9688 kB / 0.9659 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005257/0.7877, allocations: 434.6 kB / 0.9663 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000573/0.7883, allocations: 0.6279 MB / 0.9669 GB, free: 104 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006793/0.789, allocations: 0.5686 MB / 0.9675 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003874/0.7894, allocations: 334.2 kB / 0.9678 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/0.7905, allocations: 1.044 MB / 0.9688 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005111/0.791, allocations: 410.5 kB / 0.9692 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 2.965e-06/0.7911, allocations: 0.9375 kB / 0.9692 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001712/0.7928, allocations: 1.295 MB / 0.9705 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.7929, allocations: 80.8 kB / 0.9705 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.7942, allocations: 1.209 MB / 0.9717 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/0.7942, allocations: 27.08 kB / 0.9717 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.7945, allocations: 256.6 kB / 0.972 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.7945, allocations: 24.23 kB / 0.972 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002821/0.7948, allocations: 287.5 kB / 0.9723 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.7949, allocations: 312.7 kB / 0.9726 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/0.7963, allocations: 1.362 MB / 0.9739 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.7977, allocations: 1.501 MB / 0.9754 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007109/0.8048, allocations: 3.538 MB / 0.9788 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.8048, allocations: 4 kB / 0.9788 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00447/0.8093, allocations: 3.965 MB / 0.9827 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.8094, allocations: 4 kB / 0.9827 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.8094, allocations: 0 / 0.9827 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.8094, allocations: 4 kB / 0.9827 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.8095, allocations: 15.98 kB / 0.9827 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.8096, allocations: 0 / 0.9827 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006918/0.8103, allocations: 232.3 kB / 0.9829 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/0.8103, allocations: 23.98 kB / 0.983 GB, free: 2.809 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.0003384/0.8107, allocations: 241.6 kB / 0.9832 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/0.8107, allocations: 74.7 kB / 0.9833 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002914/0.811, allocations: 66.91 kB / 0.9833 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.811, allocations: 8.031 kB / 0.9833 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.8111, allocations: 0 / 0.9833 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.8111, allocations: 0 / 0.9833 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004737/0.8115, allocations: 496.7 kB / 0.9838 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.8116, allocations: 0 / 0.9838 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.157e-05/0.8116, allocations: 23.86 kB / 0.9838 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.8116, allocations: 0 / 0.9838 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.8117, allocations: 4 kB / 0.9838 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.8117, allocations: 0 / 0.9838 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8117, allocations: 0 / 0.9838 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009301/0.8126, allocations: 0.9974 MB / 0.9848 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.8127, allocations: 151.8 kB / 0.985 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.492e-05/0.8128, allocations: 3.938 kB / 0.985 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.8129, allocations: 11.98 kB / 0.985 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.813, allocations: 7.984 kB / 0.985 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/0.813, allocations: 15.98 kB / 0.985 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007296/0.8138, allocations: 0.6726 MB / 0.9857 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8138, allocations: 0 / 0.9857 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001323/0.8151, allocations: 399.8 kB / 0.986 GB, free: 15.55 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.00123/0.8163, allocations: 483.3 kB / 0.9865 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002279/0.8186, allocations: 2.495 MB / 0.9889 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8186, allocations: 0 / 0.9889 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003446/0.819, allocations: 339.8 kB / 0.9893 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.8194, allocations: 38.69 kB / 0.9893 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.8217, allocations: 1.974 MB / 0.9912 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005479/0.8222, allocations: 0.9682 MB / 0.9922 GB, free: 9.184 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.8223, allocations: 23.42 kB / 0.9922 GB, free: 9.16 MB / 0.7481 GB Notification: Performance of SimCode: time 3.1e-07/0.8224, allocations: 0 / 0.9922 GB, free: 9.16 MB / 0.7481 GB Notification: Performance of Templates: time 0.01962/0.842, allocations: 10.49 MB / 1.002 GB, free: 14.67 MB / 0.7637 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