Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.TimeGeometric,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric",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.001225/0.001225, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009814/0.0009814, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.199/1.199, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.407/2.407, allocations: 461.9 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 62.98 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2558, allocations: 157.4 MB / 1.052 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric): time 0.002162/0.258, allocations: 1.357 MB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003341/0.2584, allocations: 131.7 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.899e-05/0.2584, allocations: 0 / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.793e-05/0.2585, allocations: 3.984 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.369e-05/0.2585, allocations: 7.938 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.2587, allocations: 19.95 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.793e-05/0.2588, allocations: 23.92 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.2588, allocations: 3.984 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.882e-05/0.2588, allocations: 11.94 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.785e-05/0.2589, allocations: 7.984 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.2589, allocations: 0 / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.049e-05/0.259, allocations: 27.97 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.323e-05/0.259, allocations: 4 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.2591, allocations: 3.938 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.918e-05/0.2591, allocations: 36.19 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2592, allocations: 0 / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.61e-07/0.2592, allocations: 0 / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.2592, allocations: 0 / 1.054 GB, free: 6.555 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002614/0.2594, allocations: 335.5 kB / 1.054 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.2595, allocations: 15.97 kB / 1.054 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.303e-05/0.2595, allocations: 106 kB / 1.054 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.369e-05/0.2596, allocations: 84.11 kB / 1.054 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.2597, allocations: 247.5 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.083e-05/0.2598, allocations: 150.9 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.2598, allocations: 150.9 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.873e-05/0.2599, allocations: 105.5 kB / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.2599, allocations: 79.22 kB / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.075e-05/0.2599, allocations: 154.5 kB / 1.055 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.73e-05/0.26, allocations: 154.6 kB / 1.055 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.363e-05/0.26, allocations: 154.6 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000221/0.2602, allocations: 457.9 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.034e-05/0.2603, allocations: 165.1 kB / 1.056 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.358e-05/0.2603, allocations: 84.08 kB / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.2604, allocations: 75.28 kB / 1.056 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.2604, allocations: 117.8 kB / 1.056 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.2604, allocations: 0 / 1.056 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.706e-05/0.2605, allocations: 45.48 kB / 1.056 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.2605, allocations: 126.7 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.598e-05/0.2606, allocations: 109.8 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.647e-06/0.2607, allocations: 25.7 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.2607, allocations: 80.14 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.2607, allocations: 0 / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/0.2607, allocations: 29.7 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.945e-05/0.2608, allocations: 310.8 kB / 1.057 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.316e-05/0.2608, allocations: 8 kB / 1.057 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.266e-05/0.2609, allocations: 11.98 kB / 1.057 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.478e-05/0.2609, allocations: 24.86 kB / 1.057 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2609, allocations: 0 / 1.057 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.795e-05/0.261, allocations: 57.62 kB / 1.057 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.261, allocations: 9.188 kB / 1.057 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.261, allocations: 0 / 1.057 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.261, allocations: 4.062 kB / 1.057 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-07/0.2611, allocations: 0 / 1.057 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.2611, allocations: 0 / 1.057 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.609e-05/0.2611, allocations: 7.906 kB / 1.057 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.2611, allocations: 0 / 1.057 GB, free: 2.895 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.607e-05/0.2612, allocations: 193.1 kB / 1.057 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.993e-05/0.2612, allocations: 104.9 kB / 1.057 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.2613, allocations: 112.5 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.45e-05/0.2613, allocations: 180.3 kB / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.664e-05/0.2614, allocations: 188.2 kB / 1.058 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.563e-05/0.2614, allocations: 176.3 kB / 1.058 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.2616, allocations: 413.2 kB / 1.058 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.648e-05/0.2616, allocations: 104.9 kB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-05/0.2617, allocations: 105 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.612e-05/0.2617, allocations: 188.1 kB / 1.059 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-05/0.2618, allocations: 176.5 kB / 1.059 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.622e-05/0.2618, allocations: 184.2 kB / 1.059 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.891e-05/0.2619, allocations: 192.3 kB / 1.059 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.354e-05/0.262, allocations: 299.8 kB / 1.06 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.262, allocations: 190 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.945e-05/0.2621, allocations: 188.1 kB / 1.06 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.166e-05/0.2622, allocations: 101 kB / 1.06 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.2622, allocations: 180.3 kB / 1.06 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.2623, allocations: 112.9 kB / 1.06 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.098e-05/0.2623, allocations: 91.27 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2623, allocations: 0 / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002188/0.2625, allocations: 8 kB / 1.061 GB, free: 15.26 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 (0): * Single equations (assignments): 0 * 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.0003511/0.2629, allocations: 0.8282 MB / 1.061 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.327e-05/0.263, allocations: 23.92 kB / 1.061 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.263, allocations: 0 / 1.061 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.086e-06/0.263, allocations: 4 kB / 1.061 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.2633, allocations: 0.5146 MB / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008523/0.2642, allocations: 1.359 MB / 1.063 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.2644, allocations: 0.677 MB / 1.064 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.688e-06/0.2644, allocations: 4 kB / 1.064 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.2644, allocations: 11.44 kB / 1.064 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2644, allocations: 0 / 1.064 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02621/0.2906, allocations: 1.267 MB / 1.065 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.2909, allocations: 287.6 kB / 1.065 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/1.862, allocations: 2.062 kB / 1.065 GB, free: 10.25 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches