Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 107.6 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 200.5 kB / 19.41 MB, free: 3.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.467/2.467, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.ShaGFunction,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.89 kB / 1.056 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9262/0.9281, allocations: 160.7 MB / 1.213 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001987/0.9301, allocations: 0.578 MB / 1.214 GB, free: 3.414 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001498/0.9316, allocations: 1.003 MB / 1.215 GB, free: 2.602 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.316e-05/0.9316, allocations: 0.75 kB / 1.215 GB, free: 2.602 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.287e-05/0.9317, allocations: 0 / 1.215 GB, free: 2.602 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0007248/0.9324, allocations: 88.66 kB / 1.215 GB, free: 2.551 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.299e-05/0.9324, allocations: 19.58 kB / 1.215 GB, free: 2.535 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.276e-05/0.9325, allocations: 3.562 kB / 1.215 GB, free: 2.535 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.883e-05/0.9325, allocations: 1.125 kB / 1.215 GB, free: 2.535 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.003e-05/0.9325, allocations: 6.094 kB / 1.215 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.9328, allocations: 40.83 kB / 1.215 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.659e-06/0.9328, allocations: 0.9688 kB / 1.215 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.933, allocations: 82.88 kB / 1.215 GB, free: 2.469 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.933, allocations: 4.688 kB / 1.215 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.935e-05/0.933, allocations: 1.5 kB / 1.215 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.9332, allocations: 68.62 kB / 1.215 GB, free: 2.434 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.9332, allocations: 4 kB / 1.215 GB, free: 2.43 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.003e-06/0.9332, allocations: 0 / 1.215 GB, free: 2.43 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.9332, allocations: 0 / 1.215 GB, free: 2.43 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004027/0.9336, allocations: 340.1 kB / 1.215 GB, free: 2.059 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.9336, allocations: 14.92 kB / 1.215 GB, free: 2.055 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.809e-05/0.9337, allocations: 30.75 kB / 1.215 GB, free: 2.016 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.253e-05/0.9337, allocations: 2.062 kB / 1.215 GB, free: 2.016 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.9339, allocations: 178.5 kB / 1.215 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.9339, allocations: 384 / 1.215 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.9339, allocations: 1.375 kB / 1.215 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.934, allocations: 31.86 kB / 1.215 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.934, allocations: 0 / 1.215 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.934, allocations: 0 / 1.215 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.934, allocations: 4.906 kB / 1.215 GB, free: 1.766 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.637e-05/0.934, allocations: 1.031 kB / 1.215 GB, free: 1.766 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006031/0.9346, allocations: 471.8 kB / 1.216 GB, free: 1.242 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.9348, allocations: 170.3 kB / 1.216 GB, free: 1.066 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.937e-05/0.9348, allocations: 80.14 kB / 1.216 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.9348, allocations: 79.28 kB / 1.216 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.847e-05/0.9349, allocations: 111 kB / 1.216 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.9349, allocations: 0 / 1.216 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.828e-05/0.935, allocations: 31.55 kB / 1.216 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.9351, allocations: 126.7 kB / 1.216 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.9352, allocations: 107 kB / 1.217 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.9352, allocations: 30.8 kB / 1.217 GB, free: 484 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/0.9353, allocations: 84.09 kB / 1.217 GB, free: 396 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.9353, allocations: 1.094 kB / 1.217 GB, free: 396 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.9353, allocations: 11.66 kB / 1.217 GB, free: 380 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.9354, allocations: 315.9 kB / 1.217 GB, free: 56 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.102e-05/0.9354, allocations: 1.125 kB / 1.217 GB, free: 56 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-06/0.9355, allocations: 1.125 kB / 1.217 GB, free: 56 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.059e-05/0.9355, allocations: 11.17 kB / 1.217 GB, free: 44 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.9355, allocations: 4 kB / 1.217 GB, free: 40 kB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001066/0.9356, allocations: 39.28 kB / 1.217 GB, free: 0 / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.9356, allocations: 7.938 kB / 1.217 GB, free: 0 / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.9356, allocations: 112 / 1.217 GB, free: 16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.9356, allocations: 5.031 kB / 1.217 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.316e-05/0.9356, allocations: 0 / 1.217 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.9356, allocations: 8.984 kB / 1.217 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.308e-05/0.9357, allocations: 0 / 1.217 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.9357, allocations: 1.219 kB / 1.217 GB, free: 15.98 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.000116/0.9358, allocations: 191.8 kB / 1.217 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.08e-05/0.9359, allocations: 105.9 kB / 1.217 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.815e-05/0.9359, allocations: 113.2 kB / 1.217 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.37e-05/0.936, allocations: 177.3 kB / 1.218 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.248e-05/0.9361, allocations: 181.3 kB / 1.218 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.532e-05/0.9362, allocations: 181.4 kB / 1.218 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.9365, allocations: 411.3 kB / 1.218 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.22e-05/0.9365, allocations: 102 kB / 1.218 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.258e-05/0.9366, allocations: 102.1 kB / 1.219 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.105e-05/0.9366, allocations: 185.3 kB / 1.219 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.907e-05/0.9367, allocations: 181.3 kB / 1.219 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.718e-05/0.9368, allocations: 185.4 kB / 1.219 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.441e-05/0.9369, allocations: 180.3 kB / 1.219 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.9371, allocations: 311.5 kB / 1.22 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.37e-05/0.9372, allocations: 183.4 kB / 1.22 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.622e-05/0.9372, allocations: 185.4 kB / 1.22 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.397e-05/0.9373, allocations: 106.1 kB / 1.22 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.083e-05/0.9374, allocations: 177.4 kB / 1.22 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.842e-05/0.9375, allocations: 110.1 kB / 1.22 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.734e-05/0.9375, allocations: 78.75 kB / 1.22 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.9375, allocations: 0 / 1.22 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002622/0.9378, allocations: 19.88 kB / 1.22 GB, free: 12.41 MB / 0.9356 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.0008629/0.9387, allocations: 0.8658 MB / 1.221 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.17e-05/0.9387, allocations: 10.12 kB / 1.221 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.9387, allocations: 3.938 kB / 1.221 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.9387, allocations: 0.8125 kB / 1.221 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.9391, allocations: 453.3 kB / 1.222 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005526/0.9397, allocations: 254.2 kB / 1.222 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.94, allocations: 0.674 MB / 1.223 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.86e-05/0.9401, allocations: 2.344 kB / 1.223 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.9401, allocations: 8.719 kB / 1.223 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/0.9401, allocations: 0 / 1.223 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.965, allocations: 1.579 MB / 1.224 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.23/9.195, allocations: 17.81 kB / 1.224 GB, free: 9.309 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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: 14.941865015774965]