Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_Equivalent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent",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.001491/0.001491, allocations: 108 kB / 15.61 MB, free: 152 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.001812/0.001812, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.798/2.798, allocations: 469.4 MB / 0.742 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 62.09 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2947, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent): time 0.002322/0.297, allocations: 1.378 MB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001925/0.299, allocations: 1.333 MB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.645e-05/0.299, allocations: 4 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.2991, allocations: 7.938 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.2992, allocations: 27.84 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009421/0.3002, allocations: 377.4 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.585e-05/0.3002, allocations: 51.83 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.732e-05/0.3003, allocations: 3.938 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.1e-05/0.3003, allocations: 23.92 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.223e-05/0.3004, allocations: 23.91 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.3004, allocations: 4 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007943/0.3012, allocations: 0.507 MB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.35e-05/0.3013, allocations: 19.91 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.3013, allocations: 11.94 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005908/0.3019, allocations: 387.3 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3019, allocations: 8 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.52e-07/0.3019, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.3019, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004718/0.3024, allocations: 411.2 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.3024, allocations: 8.031 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.32e-05/0.3025, allocations: 34.75 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/0.3025, allocations: 8.844 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.3026, allocations: 172.3 kB / 1.068 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.3027, allocations: 384 / 1.068 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.3027, allocations: 4.375 kB / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.3028, allocations: 57.75 kB / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.3028, allocations: 0 / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.3028, allocations: 4 kB / 1.068 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3028, allocations: 0 / 1.068 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.297e-05/0.3029, allocations: 39.91 kB / 1.068 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/0.3031, allocations: 189.6 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.327e-05/0.3032, allocations: 50.56 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.721e-05/0.3033, allocations: 28.94 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.46e-05/0.3033, allocations: 15.98 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.3034, allocations: 38.44 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3034, allocations: 0 / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002332/0.3036, allocations: 89.66 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.3037, allocations: 55.41 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.3038, allocations: 117.8 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.3038, allocations: 25.7 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.091e-05/0.3039, allocations: 96.12 kB / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.3039, allocations: 7.812 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.3039, allocations: 21.72 kB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3041, allocations: 318.8 kB / 1.069 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.417e-05/0.3041, allocations: 12 kB / 1.069 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.155e-05/0.3041, allocations: 19.98 kB / 1.069 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.263e-05/0.3042, allocations: 44.78 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3042, allocations: 0 / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001286/0.3044, allocations: 89.52 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3044, allocations: 4 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3044, allocations: 0 / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3044, allocations: 4 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.855e-05/0.3045, allocations: 11.98 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3045, allocations: 3.938 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.235e-05/0.3045, allocations: 7.938 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.3045, allocations: 0 / 1.07 GB, free: 8.16 MB / 0.8262 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 (4): * Single equations (assignments): 4 * 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 7.813e-05/0.3046, allocations: 113.8 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.3047, allocations: 7.938 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.3049, allocations: 104.9 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3049, allocations: 4 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3049, allocations: 0 / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.3049, allocations: 0 / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.3051, allocations: 189.5 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3051, allocations: 0 / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.153e-05/0.3051, allocations: 11.94 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3051, allocations: 0 / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.3051, allocations: 4 kB / 1.07 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3051, allocations: 4 kB / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3052, allocations: 0 / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.3053, allocations: 105 kB / 1.07 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/0.3054, allocations: 88.95 kB / 1.07 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.3054, allocations: 4 kB / 1.07 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.151e-05/0.3054, allocations: 3.984 kB / 1.07 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.3055, allocations: 0 / 1.07 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.3055, allocations: 4 kB / 1.07 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.696e-05/0.3056, allocations: 95.27 kB / 1.07 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3056, allocations: 4 kB / 1.07 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004238/0.306, allocations: 115.9 kB / 1.07 GB, free: 7.215 MB / 0.8262 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 (5): * Single equations (assignments): 5 * 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.0009734/0.307, allocations: 0.8006 MB / 1.071 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001594/0.3071, allocations: 51.97 kB / 1.071 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3072, allocations: 0 / 1.071 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.343e-05/0.3072, allocations: 27.92 kB / 1.071 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.3075, allocations: 11.98 kB / 1.071 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006185/0.3082, allocations: 240.8 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.3084, allocations: 0.6846 MB / 1.072 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.498e-05/0.3085, allocations: 14.11 kB / 1.072 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/0.3085, allocations: 15.44 kB / 1.072 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.3085, allocations: 0 / 1.072 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.3295, allocations: 3.821 MB / 1.076 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.167/9.497, allocations: 11.06 kB / 1.076 GB, free: 1.652 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches