Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.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.InfiniteLineSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource",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.001252/0.001252, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001219/0.001219, allocations: 189.5 kB / 16.25 MB, free: 6.645 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.201/1.201, allocations: 222.9 MB / 239.9 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.429/2.429, allocations: 461.9 MB / 0.7344 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 67.73 kB / 0.8988 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2416, allocations: 157.4 MB / 1.052 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource): time 0.002086/0.2437, allocations: 1.382 MB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004143/0.2441, allocations: 219.4 kB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.718e-05/0.2442, allocations: 7.938 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.2442, allocations: 4 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.404e-05/0.2443, allocations: 11.97 kB / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.2445, allocations: 31.92 kB / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.266e-05/0.2446, allocations: 43.89 kB / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.2446, allocations: 0 / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.64e-05/0.2447, allocations: 19.92 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.492e-05/0.2447, allocations: 19.97 kB / 1.054 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.2448, allocations: 4 kB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.2449, allocations: 43.91 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.534e-05/0.2449, allocations: 23.92 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/0.245, allocations: 15.92 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.2451, allocations: 67.84 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2451, allocations: 0 / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.694e-06/0.2451, allocations: 0 / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.2451, allocations: 0 / 1.054 GB, free: 6.715 MB / 0.8106 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.0003531/0.2455, allocations: 351.6 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.2455, allocations: 8.625 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.086e-05/0.2455, allocations: 38.73 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003524/0.2459, allocations: 20.91 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.246, allocations: 180.2 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.246, allocations: 384 / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.2461, allocations: 4.375 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.2462, allocations: 58.2 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.2462, allocations: 3.938 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.2462, allocations: 4 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2462, allocations: 4 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.2464, allocations: 59.8 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.2466, allocations: 169.7 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.2467, allocations: 66.53 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.869e-05/0.2468, allocations: 24.97 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.2468, allocations: 4 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.2468, allocations: 34.56 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.2468, allocations: 0 / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0003077/0.2471, allocations: 109.4 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.2472, allocations: 51.41 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.581e-05/0.2472, allocations: 121.8 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.2473, allocations: 29.7 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.021e-05/0.2473, allocations: 80.14 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.2473, allocations: 19.75 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.2474, allocations: 21.7 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.944e-05/0.2475, allocations: 314.8 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.353e-05/0.2475, allocations: 19.97 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.636e-05/0.2476, allocations: 19.98 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.2477, allocations: 48.83 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2477, allocations: 0 / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002031/0.2479, allocations: 81.5 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.2479, allocations: 11.94 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2479, allocations: 0 / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.2479, allocations: 3.938 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.45e-05/0.248, allocations: 11.98 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.2481, allocations: 0 / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.936e-05/0.2481, allocations: 8 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.2481, allocations: 0 / 1.056 GB, free: 4.535 MB / 0.8106 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 6.499e-05/0.2482, allocations: 117.8 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-05/0.2483, allocations: 11.84 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.2485, allocations: 101.9 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2485, allocations: 0 / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2485, allocations: 0 / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2485, allocations: 3.984 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.2486, allocations: 173.7 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2486, allocations: 4 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-05/0.2487, allocations: 12.42 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.2487, allocations: 3.938 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.2487, allocations: 4 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.2487, allocations: 4 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2487, allocations: 0 / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.249, allocations: 112.9 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.249, allocations: 89.03 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.249, allocations: 7.875 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.934e-05/0.2491, allocations: 8 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.986e-05/0.2491, allocations: 4 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.2491, allocations: 3.984 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.042e-05/0.2492, allocations: 87.28 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2492, allocations: 4 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001937/0.2494, allocations: 19.98 kB / 1.057 GB, free: 3.676 MB / 0.8106 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 (7): * Single equations (assignments): 7 * 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.0005151/0.2499, allocations: 0.6754 MB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000163/0.2501, allocations: 59.94 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2501, allocations: 0 / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.274e-05/0.2501, allocations: 27.92 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.2503, allocations: 24.91 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.2515, allocations: 1.326 MB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.2517, allocations: 0.6885 MB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.561e-05/0.2519, allocations: 23.92 kB / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.2519, allocations: 19.42 kB / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.2519, allocations: 4 kB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.724/3.976, allocations: 2.222 MB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/3.976, allocations: 289.5 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.983/7.959, allocations: 64 / 1.062 GB, free: 14.34 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches