Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002248/0.002248, allocations: 219.8 kB / 22.25 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.392/1.392, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.081/3.081, allocations: 0.49 GB / 0.7951 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent,fileNamePrefix="Buildings_12_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_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002967/0.002967, allocations: 67.88 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.347, allocations: 176.1 MB / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent): time 0.002557/0.3495, allocations: 1.374 MB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002189/0.3517, allocations: 1.242 MB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.766e-05/0.3518, allocations: 4 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.7e-05/0.3518, allocations: 3.938 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.352, allocations: 23.84 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009792/0.353, allocations: 396.1 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.153e-05/0.353, allocations: 43.84 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.694e-05/0.3531, allocations: 0 / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.222e-05/0.3531, allocations: 23.91 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.3532, allocations: 27.86 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.3532, allocations: 4 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009149/0.3541, allocations: 0.5304 MB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.924e-05/0.3542, allocations: 23.92 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.885e-05/0.3542, allocations: 19.91 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005575/0.3547, allocations: 387 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3547, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3547, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3548, allocations: 3.938 kB / 1.33 GB, free: 13.35 MB / 1.029 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.0004816/0.3552, allocations: 349.4 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3553, allocations: 8.031 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/0.3553, allocations: 30.75 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.3553, allocations: 12.83 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.3555, allocations: 122.4 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.3555, allocations: 384 / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.3555, allocations: 4.375 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.3556, allocations: 49.81 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3556, allocations: 0 / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.3556, allocations: 4 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3556, allocations: 3.984 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.798e-05/0.3557, allocations: 39.92 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.3559, allocations: 148.8 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.356, allocations: 46.56 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.466e-05/0.3561, allocations: 28.92 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.36e-05/0.3561, allocations: 16 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.3561, allocations: 38.48 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3561, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002314/0.3564, allocations: 101.5 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.3564, allocations: 51.41 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.3565, allocations: 121.8 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.3565, allocations: 25.7 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.3566, allocations: 88.14 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.3566, allocations: 7.953 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.3567, allocations: 17.72 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3568, allocations: 318.8 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.473e-05/0.3568, allocations: 19.98 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.637e-05/0.3569, allocations: 20 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.748e-05/0.357, allocations: 48.83 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.357, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000124/0.3571, allocations: 81.52 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.3571, allocations: 5.406 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3571, allocations: 3.984 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3571, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.216e-05/0.3572, allocations: 8 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.3572, allocations: 4 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.799e-05/0.3572, allocations: 4 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.3572, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 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 0.0001108/0.3573, allocations: 114.4 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.3573, allocations: 11.89 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002118/0.3576, allocations: 109.5 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3576, allocations: 0 / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3576, allocations: 0 / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3576, allocations: 3.984 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.3577, allocations: 144.7 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3577, allocations: 3.938 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.401e-05/0.3578, allocations: 23.94 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3578, allocations: 0 / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.3578, allocations: 0 / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3578, allocations: 3.984 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3578, allocations: 0 / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.3579, allocations: 113 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.509e-05/0.358, allocations: 11.88 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.358, allocations: 0 / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.92e-05/0.358, allocations: 4 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.358, allocations: 4.125 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.358, allocations: 8 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.831e-05/0.3581, allocations: 95.27 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3581, allocations: 0 / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003821/0.3584, allocations: 123.6 kB / 1.332 GB, free: 10.52 MB / 1.029 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.0008364/0.3593, allocations: 0.7841 MB / 1.333 GB, free: 9.707 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001304/0.3594, allocations: 47.92 kB / 1.333 GB, free: 9.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.3594, allocations: 0 / 1.333 GB, free: 9.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.851e-05/0.3595, allocations: 23.98 kB / 1.333 GB, free: 9.637 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.3597, allocations: 19.97 kB / 1.333 GB, free: 9.617 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.3602, allocations: 244 kB / 1.333 GB, free: 9.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.726e-05/0.3603, allocations: 65.17 kB / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.854e-05/0.3603, allocations: 14.53 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.3604, allocations: 19.42 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3604, allocations: 0 / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03244/0.3928, allocations: 4.515 MB / 1.338 GB, free: 4.914 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.46, allocations: 4.688 kB / 1.338 GB, free: 4.91 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent_res.csv --start-time 0 --stop-time 20 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.02356506299111]