Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001314/0.001314, allocations: 103.9 kB / 16.45 MB, free: 6.445 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.001279/0.001279, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.357/1.357, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.733/2.733, allocations: 497.2 MB / 0.7812 GB, free: 11.94 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.ShaGFunction,fileNamePrefix="Buildings_latest_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_latest_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.001903/0.001903, allocations: 71.88 kB / 1.134 GB, free: 13.11 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9477/0.9496, allocations: 173.9 MB / 1.304 GB, free: 32.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001599/0.9512, allocations: 0.5756 MB / 1.305 GB, free: 31.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009813/0.9522, allocations: 1.002 MB / 1.306 GB, free: 31.05 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.798e-05/0.9522, allocations: 0 / 1.306 GB, free: 31.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.318e-05/0.9522, allocations: 0 / 1.306 GB, free: 31.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006382/0.9528, allocations: 97.38 kB / 1.306 GB, free: 31 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 2.956e-05/0.9529, allocations: 13.52 kB / 1.306 GB, free: 30.99 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.863e-05/0.9529, allocations: 6.25 kB / 1.306 GB, free: 30.99 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.896e-05/0.9529, allocations: 6.812 kB / 1.306 GB, free: 30.99 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.914e-05/0.953, allocations: 0 / 1.306 GB, free: 30.99 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.9531, allocations: 34.67 kB / 1.306 GB, free: 30.98 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.9532, allocations: 0 / 1.306 GB, free: 30.98 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.9533, allocations: 90.69 kB / 1.306 GB, free: 30.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.345e-06/0.9533, allocations: 0 / 1.306 GB, free: 30.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.573e-05/0.9533, allocations: 6.625 kB / 1.306 GB, free: 30.94 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.9535, allocations: 69.09 kB / 1.306 GB, free: 30.92 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.9535, allocations: 0 / 1.306 GB, free: 30.92 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9535, allocations: 0 / 1.306 GB, free: 30.92 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.9535, allocations: 3.328 kB / 1.306 GB, free: 30.92 MB / 1.061 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.0002545/0.9537, allocations: 331.6 kB / 1.306 GB, free: 30.56 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.9538, allocations: 12.12 kB / 1.306 GB, free: 30.56 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.207e-05/0.9538, allocations: 30.75 kB / 1.306 GB, free: 30.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.069e-05/0.9538, allocations: 4.938 kB / 1.306 GB, free: 30.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.729e-05/0.9539, allocations: 175 kB / 1.306 GB, free: 30.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-06/0.9539, allocations: 384 / 1.306 GB, free: 30.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-06/0.9539, allocations: 384 / 1.306 GB, free: 30.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.859e-05/0.954, allocations: 36.33 kB / 1.306 GB, free: 30.28 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.954, allocations: 0 / 1.306 GB, free: 30.28 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-06/0.954, allocations: 0 / 1.306 GB, free: 30.28 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.954, allocations: 0 / 1.306 GB, free: 30.28 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.687e-05/0.954, allocations: 10.47 kB / 1.306 GB, free: 30.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002717/0.9543, allocations: 476.7 kB / 1.307 GB, free: 29.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.925e-05/0.9543, allocations: 171.7 kB / 1.307 GB, free: 29.57 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.414e-05/0.9543, allocations: 80.14 kB / 1.307 GB, free: 29.49 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.9543, allocations: 75.28 kB / 1.307 GB, free: 29.41 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.9544, allocations: 109.8 kB / 1.307 GB, free: 29.3 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.9544, allocations: 3.938 kB / 1.307 GB, free: 29.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 5.666e-05/0.9544, allocations: 28.2 kB / 1.307 GB, free: 29.26 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.9544, allocations: 130.7 kB / 1.307 GB, free: 29.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.547e-05/0.9545, allocations: 98.25 kB / 1.308 GB, free: 29.02 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.189e-06/0.9545, allocations: 25.7 kB / 1.308 GB, free: 28.99 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.782e-05/0.9545, allocations: 86.64 kB / 1.308 GB, free: 28.91 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.9545, allocations: 4 kB / 1.308 GB, free: 28.9 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.9546, allocations: 16.72 kB / 1.308 GB, free: 28.88 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.239e-05/0.9546, allocations: 318.2 kB / 1.308 GB, free: 28.57 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.624e-06/0.9546, allocations: 0 / 1.308 GB, free: 28.57 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.37e-06/0.9546, allocations: 3.094 kB / 1.308 GB, free: 28.57 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.921e-05/0.9546, allocations: 8.797 kB / 1.308 GB, free: 28.55 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.9546, allocations: 0 / 1.308 GB, free: 28.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.897e-05/0.9547, allocations: 37.2 kB / 1.308 GB, free: 28.52 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.9547, allocations: 9.5 kB / 1.308 GB, free: 28.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.9547, allocations: 0 / 1.308 GB, free: 28.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.9547, allocations: 0 / 1.308 GB, free: 28.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.417e-05/0.9548, allocations: 3.281 kB / 1.308 GB, free: 28.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.9548, allocations: 2.594 kB / 1.308 GB, free: 28.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.273e-05/0.9548, allocations: 0 / 1.308 GB, free: 28.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-06/0.9548, allocations: 0 / 1.308 GB, free: 28.52 MB / 1.061 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 4.59e-05/0.9548, allocations: 191.6 kB / 1.308 GB, free: 28.32 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.9549, allocations: 112.9 kB / 1.308 GB, free: 28.2 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.229e-05/0.9549, allocations: 110 kB / 1.308 GB, free: 28.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/0.9549, allocations: 176.3 kB / 1.309 GB, free: 27.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-05/0.9549, allocations: 184.2 kB / 1.309 GB, free: 27.73 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.336e-05/0.9549, allocations: 184.5 kB / 1.309 GB, free: 27.54 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.9551, allocations: 408.4 kB / 1.309 GB, free: 27.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/0.9551, allocations: 103.9 kB / 1.309 GB, free: 26.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.419e-05/0.9551, allocations: 101 kB / 1.31 GB, free: 26.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.758e-05/0.9551, allocations: 187.4 kB / 1.31 GB, free: 26.69 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.9552, allocations: 179.1 kB / 1.31 GB, free: 26.51 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.566e-05/0.9552, allocations: 180.2 kB / 1.31 GB, free: 26.33 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-05/0.9552, allocations: 184.3 kB / 1.31 GB, free: 26.14 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.182e-05/0.9553, allocations: 312.5 kB / 1.311 GB, free: 25.82 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.65e-05/0.9553, allocations: 182.1 kB / 1.311 GB, free: 25.62 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.9553, allocations: 186.3 kB / 1.311 GB, free: 25.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.277e-05/0.9554, allocations: 101 kB / 1.311 GB, free: 25.33 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.9554, allocations: 184.2 kB / 1.311 GB, free: 25.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.9554, allocations: 112 kB / 1.311 GB, free: 25.03 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.239e-05/0.9555, allocations: 81.47 kB / 1.311 GB, free: 24.95 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.1e-08/0.9555, allocations: 0 / 1.311 GB, free: 24.95 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002414/0.9557, allocations: 20.28 kB / 1.311 GB, free: 24.95 MB / 1.061 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.0004476/0.9561, allocations: 0.8755 MB / 1.312 GB, free: 24.11 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.1e-05/0.9562, allocations: 3.156 kB / 1.312 GB, free: 24.11 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.9562, allocations: 0 / 1.312 GB, free: 24.11 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.9562, allocations: 4.062 kB / 1.312 GB, free: 24.11 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.9565, allocations: 458.5 kB / 1.313 GB, free: 23.66 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/0.9569, allocations: 243.2 kB / 1.313 GB, free: 23.42 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.875e-05/0.957, allocations: 0.6721 MB / 1.314 GB, free: 22.72 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.347e-05/0.957, allocations: 6.531 kB / 1.314 GB, free: 22.72 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.957, allocations: 10.12 kB / 1.314 GB, free: 22.71 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.957, allocations: 0 / 1.314 GB, free: 22.71 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.9789, allocations: 1.571 MB / 1.315 GB, free: 22.33 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.342/9.321, allocations: 18.36 kB / 1.315 GB, free: 22.31 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.328045175876468]