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_100boreholes.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_100boreholes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009757/0.0009759, allocations: 99.19 kB / 16.02 MB, free: 76 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.00155/0.00155, allocations: 180.8 kB / 16.92 MB, free: 6.918 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.37/1.37, allocations: 223.3 MB / 241 MB, free: 5.25 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.372/2.372, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.000367, allocations: 8 kB / 0.8167 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6863/0.6866, allocations: 142.4 MB / 0.9557 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001473/0.6882, allocations: 1.137 MB / 0.9568 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004408/0.6926, allocations: 3.158 MB / 0.9599 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.467e-05/0.6927, allocations: 3.938 kB / 0.9599 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.6928, allocations: 5.906 kB / 0.9599 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.6931, allocations: 31.67 kB / 0.96 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002359/0.6954, allocations: 0.7745 MB / 0.9607 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.6956, allocations: 110.7 kB / 0.9608 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.797e-05/0.6956, allocations: 6.688 kB / 0.9608 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.111e-05/0.6957, allocations: 35.11 kB / 0.9609 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.696, allocations: 233.1 kB / 0.9611 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.535e-05/0.6961, allocations: 13.28 kB / 0.9611 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002544/0.6986, allocations: 1.403 MB / 0.9625 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005999/0.6992, allocations: 0.6756 MB / 0.9631 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004938/0.6997, allocations: 468 kB / 0.9636 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001813/0.7016, allocations: 1.199 MB / 0.9648 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.7016, allocations: 0 / 0.9648 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7016, allocations: 1.25 kB / 0.9648 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.786e-05/0.7016, allocations: 0 / 0.9648 GB, free: 1.922 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.01182/0.7135, allocations: 1.59 MB / 0.9663 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.7135, allocations: 8.688 kB / 0.9663 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005721/0.7141, allocations: 144.4 kB / 0.9665 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007751/0.7149, allocations: 0.5284 MB / 0.967 GB, free: 100 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.7149, allocations: 5.938 kB / 0.967 GB, free: 96 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-05/0.715, allocations: 5.688 kB / 0.967 GB, free: 96 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005584/0.7156, allocations: 395.3 kB / 0.9674 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.7156, allocations: 4 kB / 0.9674 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.7156, allocations: 1.156 kB / 0.9674 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.7156, allocations: 0 / 0.9674 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005511/0.7162, allocations: 434.4 kB / 0.9678 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.7176, allocations: 0.8109 MB / 0.9686 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006499/0.7183, allocations: 0.5614 MB / 0.9691 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005289/0.7188, allocations: 337.5 kB / 0.9694 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/0.7199, allocations: 1.041 MB / 0.9705 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004881/0.7204, allocations: 402.5 kB / 0.9708 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.7205, allocations: 0 / 0.9708 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001795/0.7223, allocations: 1.351 MB / 0.9722 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.7223, allocations: 79.8 kB / 0.9722 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003056/0.7254, allocations: 1.839 MB / 0.974 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.33e-05/0.7255, allocations: 29.7 kB / 0.9741 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000481/0.726, allocations: 477.3 kB / 0.9745 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.602e-05/0.726, allocations: 23.66 kB / 0.9745 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002806/0.7263, allocations: 287.6 kB / 0.9748 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.525e-05/0.7264, allocations: 301.1 kB / 0.9751 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.7278, allocations: 1.518 MB / 0.9766 GB, free: 9.621 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.7292, allocations: 1.642 MB / 0.9782 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007238/0.7365, allocations: 3.694 MB / 0.9818 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.7365, allocations: 4 kB / 0.9818 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00474/0.7413, allocations: 4.319 MB / 0.986 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.7413, allocations: 4 kB / 0.986 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.7413, allocations: 3.938 kB / 0.986 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.7413, allocations: 4 kB / 0.986 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.7415, allocations: 19.98 kB / 0.986 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.7415, allocations: 0 / 0.986 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008447/0.7424, allocations: 236.3 kB / 0.9863 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.983e-05/0.7424, allocations: 23.92 kB / 0.9863 GB, free: 15.54 MB / 0.7481 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.0005717/0.743, allocations: 369.5 kB / 0.9866 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.675e-05/0.7431, allocations: 126 kB / 0.9868 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003437/0.7434, allocations: 141.1 kB / 0.9869 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.7435, allocations: 4 kB / 0.9869 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.7435, allocations: 8.016 kB / 0.9869 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.7435, allocations: 0 / 0.9869 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006539/0.7441, allocations: 0.6833 MB / 0.9876 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.7442, allocations: 0 / 0.9876 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.245e-05/0.7442, allocations: 11.92 kB / 0.9876 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.7442, allocations: 7.938 kB / 0.9876 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.7443, allocations: 0 / 0.9876 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.7443, allocations: 0 / 0.9876 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7443, allocations: 4 kB / 0.9876 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009257/0.7452, allocations: 1.051 MB / 0.9886 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.7454, allocations: 199.1 kB / 0.9888 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.635e-05/0.7455, allocations: 0 / 0.9888 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.7457, allocations: 11.98 kB / 0.9888 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.7457, allocations: 4 kB / 0.9888 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/0.7458, allocations: 19.97 kB / 0.9889 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001176/0.7469, allocations: 1.104 MB / 0.9899 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.747, allocations: 0 / 0.9899 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001419/0.7484, allocations: 443.8 kB / 0.9904 GB, free: 11.22 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.001285/0.7497, allocations: 478.8 kB / 0.9908 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00245/0.7521, allocations: 2.644 MB / 0.9934 GB, free: 8.094 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7521, allocations: 0 / 0.9934 GB, free: 8.094 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003326/0.7525, allocations: 335.8 kB / 0.9937 GB, free: 7.766 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005308/0.753, allocations: 62.06 kB / 0.9938 GB, free: 7.703 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003435/0.7565, allocations: 2.908 MB / 0.9966 GB, free: 4.754 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000696/0.7572, allocations: 1.157 MB / 0.9977 GB, free: 3.566 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.7573, allocations: 23.42 kB / 0.9978 GB, free: 3.543 MB / 0.7481 GB Notification: Performance of SimCode: time 6.01e-07/0.7573, allocations: 4 kB / 0.9978 GB, free: 3.539 MB / 0.7481 GB Notification: Performance of Templates: time 0.02525/0.7826, allocations: 14.95 MB / 1.012 GB, free: 4.586 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,gFun_int Variables in the result:gFun_int,time