Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004989/0.004989, allocations: 103.1 kB / 15.73 MB, free: 6.004 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.001168/0.001168, allocations: 193.8 kB / 16.68 MB, free: 5.93 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.092/2.092, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.91 kB / 0.9504 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7464/0.7477, allocations: 140.4 MB / 1.088 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length): time 0.002311/0.75, allocations: 1.365 MB / 1.089 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.7513, allocations: 0.7872 MB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.7513, allocations: 1.344 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.443e-05/0.7514, allocations: 5.109 kB / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.063e-05/0.7515, allocations: 10.41 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000567/0.752, allocations: 173.9 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.98e-05/0.7521, allocations: 47.73 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.7522, allocations: 2.688 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.308e-05/0.7522, allocations: 26.86 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.243e-05/0.7523, allocations: 24.89 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.7523, allocations: 3.25 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003897/0.7527, allocations: 177.1 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.7527, allocations: 13.88 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.7528, allocations: 17.17 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.753, allocations: 147 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.753, allocations: 1.094 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.392e-06/0.753, allocations: 3.938 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.753, allocations: 0 / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000354/0.7534, allocations: 359.7 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.7535, allocations: 11.06 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.947e-05/0.7535, allocations: 36.66 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.7535, allocations: 6.062 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.189e-05/0.7536, allocations: 173 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.7536, allocations: 5.656 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.7536, allocations: 2.938 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.7538, allocations: 64.86 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.7538, allocations: 0 / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.7538, allocations: 1.156 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.7538, allocations: 1.094 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.7539, allocations: 52.17 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.7541, allocations: 164.6 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.792e-05/0.7542, allocations: 49.7 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.558e-05/0.7543, allocations: 31.12 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.7543, allocations: 1.953 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.7543, allocations: 35.5 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.7543, allocations: 0 / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0002381/0.7546, allocations: 82.31 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.7546, allocations: 52.8 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.633e-05/0.7547, allocations: 105.7 kB / 1.091 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.729e-06/0.7547, allocations: 34.55 kB / 1.091 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.93e-05/0.7547, allocations: 85.61 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.7547, allocations: 24.25 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.7548, allocations: 23.81 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.285e-05/0.7548, allocations: 313.7 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.769e-05/0.7549, allocations: 18.23 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.374e-05/0.7549, allocations: 10.61 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.552e-05/0.755, allocations: 39.45 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.755, allocations: 4 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001319/0.7552, allocations: 73 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.7552, allocations: 4.812 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.7552, allocations: 0.625 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.7552, allocations: 1.172 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.7553, allocations: 17.72 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.7553, allocations: 1.094 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.898e-05/0.7554, allocations: 5.094 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.7554, allocations: 3.719 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 5.004e-05/0.7554, allocations: 112.5 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.7554, allocations: 10.84 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004169/0.7559, allocations: 199.8 kB / 1.092 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.7559, allocations: 1.531 kB / 1.092 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.7559, allocations: 8.719 kB / 1.092 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.7559, allocations: 1.453 kB / 1.092 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.756, allocations: 194.6 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.756, allocations: 4.75 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.7561, allocations: 30.56 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.7562, allocations: 1.25 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.7562, allocations: 7.875 kB / 1.093 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.7562, allocations: 4.875 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.7562, allocations: 0.75 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.7564, allocations: 147.3 kB / 1.093 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.7564, allocations: 88.69 kB / 1.093 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.7564, allocations: 6.547 kB / 1.093 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.129e-05/0.7565, allocations: 0.6562 kB / 1.093 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.7565, allocations: 17.81 kB / 1.093 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.7565, allocations: 5.938 kB / 1.093 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.583e-05/0.7565, allocations: 86.31 kB / 1.093 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7566, allocations: 0 / 1.093 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003172/0.7569, allocations: 56.31 kB / 1.093 GB, free: 1.059 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0005781/0.7575, allocations: 0.7558 MB / 1.094 GB, free: 420 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001728/0.7576, allocations: 56.3 kB / 1.094 GB, free: 408 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7577, allocations: 0 / 1.094 GB, free: 408 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.79e-05/0.7577, allocations: 53.19 kB / 1.094 GB, free: 392 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.758, allocations: 14.22 kB / 1.094 GB, free: 388 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005393/0.7585, allocations: 229.3 kB / 1.094 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.7588, allocations: 0.6913 MB / 1.095 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.004e-05/0.7588, allocations: 30.48 kB / 1.095 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.7589, allocations: 34.09 kB / 1.095 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.7589, allocations: 1.125 kB / 1.095 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/0.7806, allocations: 3.357 MB / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.731/8.512, allocations: 12.75 kB / 1.098 GB, free: 14.96 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length_fmu --startTime=0.01 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches