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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.005977/0.005982, allocations: 99.33 kB / 15.73 MB, free: 6.012 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.001304/0.001304, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.276/1.276, 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 11.1.0-master/package.mo): time 2.487/2.487, allocations: 469.4 MB / 0.7421 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.91 kB / 1.064 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6757/0.6771, allocations: 159.1 MB / 1.22 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent): time 0.002327/0.6795, allocations: 1.378 MB / 1.221 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00194/0.6814, allocations: 1.329 MB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.697e-05/0.6815, allocations: 3.938 kB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.957e-05/0.6816, allocations: 3.984 kB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.6817, allocations: 19.86 kB / 1.222 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009535/0.6827, allocations: 382.9 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.6e-05/0.6828, allocations: 51.83 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.69e-05/0.6829, allocations: 3.938 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.156e-05/0.6829, allocations: 23.86 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.168e-05/0.683, allocations: 31.91 kB / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.683, allocations: 4 kB / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007733/0.6837, allocations: 0.4993 MB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.81e-05/0.6838, allocations: 11.97 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.6838, allocations: 19.88 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005612/0.6844, allocations: 398.6 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.6844, allocations: 0 / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6844, allocations: 0 / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.6844, allocations: 0 / 1.224 GB, free: 14.09 MB / 0.9512 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.0004637/0.6849, allocations: 422.5 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.685, allocations: 8.625 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.192e-05/0.685, allocations: 34.75 kB / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/0.685, allocations: 4.938 kB / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.6851, allocations: 176.2 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.6851, allocations: 384 / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.6852, allocations: 4.375 kB / 1.224 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.6853, allocations: 57.8 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.6853, allocations: 0 / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.6853, allocations: 4 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.6853, allocations: 0 / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.074e-05/0.6854, allocations: 35.97 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.6856, allocations: 181.6 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.467e-05/0.6857, allocations: 58.53 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.077e-05/0.6857, allocations: 24.94 kB / 1.225 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.045e-05/0.6858, allocations: 11.94 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.6858, allocations: 42.5 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.6858, allocations: 0 / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0002007/0.686, allocations: 97.61 kB / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.6861, allocations: 51.41 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.889e-05/0.6862, allocations: 113.8 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.6862, allocations: 25.7 kB / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.6862, allocations: 92.14 kB / 1.225 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.6862, allocations: 19.77 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.6863, allocations: 21.72 kB / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.485e-05/0.6864, allocations: 318.8 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.384e-05/0.6864, allocations: 15.98 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.994e-05/0.6865, allocations: 19.98 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.045e-05/0.6865, allocations: 40.84 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.6865, allocations: 0 / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000115/0.6867, allocations: 81.84 kB / 1.226 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.6867, allocations: 9.656 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.6867, allocations: 0 / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.6867, allocations: 4.047 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.351e-05/0.6868, allocations: 15.92 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.6868, allocations: 4 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.6868, allocations: 7.984 kB / 1.226 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.6868, allocations: 0 / 1.226 GB, free: 11.9 MB / 0.9512 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.081e-05/0.6869, allocations: 114.4 kB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.6869, allocations: 7.938 kB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/0.6871, allocations: 107.5 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.6871, allocations: 4 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.6871, allocations: 4 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.6871, allocations: 0 / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.6873, allocations: 177.7 kB / 1.226 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.6873, allocations: 0 / 1.226 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.395e-05/0.6873, allocations: 19.86 kB / 1.226 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.6873, allocations: 0 / 1.226 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.6874, allocations: 7.938 kB / 1.226 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.6874, allocations: 0 / 1.226 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6874, allocations: 0 / 1.226 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.6875, allocations: 105.1 kB / 1.226 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.6875, allocations: 89 kB / 1.226 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.6876, allocations: 4 kB / 1.226 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.83e-05/0.6876, allocations: 0 / 1.226 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.6876, allocations: 7.984 kB / 1.226 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.6876, allocations: 0 / 1.226 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.015e-05/0.6877, allocations: 99.64 kB / 1.226 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6877, allocations: 0 / 1.226 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003656/0.688, allocations: 115.6 kB / 1.227 GB, free: 10.94 MB / 0.9512 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.0007746/0.6888, allocations: 0.7993 MB / 1.227 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.689, allocations: 39.98 kB / 1.227 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.689, allocations: 0 / 1.227 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.103e-05/0.689, allocations: 31.92 kB / 1.227 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.6893, allocations: 20.23 kB / 1.227 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005005/0.6898, allocations: 243.6 kB / 1.228 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.69, allocations: 0.6807 MB / 1.228 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.367e-05/0.69, allocations: 18.8 kB / 1.228 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/0.6901, allocations: 17.5 kB / 1.228 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of SimCode: time 3.3e-07/0.6901, allocations: 0 / 1.228 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.7093, allocations: 3.846 MB / 1.232 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.56/8.269, allocations: 26.75 kB / 1.232 GB, free: 5.359 MB / 0.9512 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