Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.001012/0.001012, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001398/0.001398, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9073/0.9073, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.706/1.706, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.ShaGFunction,fileNamePrefix="Buildings_11_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_11_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 2.164e-06/2.164e-06, allocations: 0 / 0.9506 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.143e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.43 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001385/0.001406, allocations: 0.5909 MB / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009572/0.002364, allocations: 1.004 MB / 0.9521 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.018e-05/0.002384, allocations: 0 / 0.9521 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.718e-05/0.002401, allocations: 3.938 kB / 0.9521 GB, free: 1.812 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0005184/0.002919, allocations: 99.7 kB / 0.9522 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 2.38e-05/0.002943, allocations: 7.938 kB / 0.9522 GB, free: 1.707 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.016e-05/0.002993, allocations: 15.94 kB / 0.9522 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.003034, allocations: 0 / 0.9522 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.123e-05/0.003066, allocations: 11.97 kB / 0.9523 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.003229, allocations: 31.97 kB / 0.9523 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.00324, allocations: 0 / 0.9523 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.003379, allocations: 75.86 kB / 0.9524 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.00339, allocations: 3.984 kB / 0.9524 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.57e-05/0.003406, allocations: 4 kB / 0.9524 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.003552, allocations: 83.77 kB / 0.9524 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.003554, allocations: 0 / 0.9524 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.302e-06/0.003555, allocations: 0 / 0.9524 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.003561, allocations: 4 kB / 0.9524 GB, free: 1.48 MB / 0.9011 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.0003324/0.003893, allocations: 262.2 kB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.802e-05/0.003961, allocations: 8.031 kB / 0.9527 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.72e-05/0.003989, allocations: 30.75 kB / 0.9527 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.16e-05/0.00401, allocations: 0.9375 kB / 0.9527 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.475e-05/0.004085, allocations: 109.7 kB / 0.9528 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.004094, allocations: 384 / 0.9528 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-06/0.004101, allocations: 384 / 0.9528 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.532e-05/0.004176, allocations: 38.19 kB / 0.9529 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.004182, allocations: 192 / 0.9529 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.00419, allocations: 7.938 kB / 0.9529 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.004194, allocations: 0 / 0.9529 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.677e-05/0.004211, allocations: 4 kB / 0.9529 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.004628, allocations: 362.6 kB / 0.9532 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.176e-05/0.00469, allocations: 169.1 kB / 0.9534 GB, free: 396 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.214e-05/0.004712, allocations: 84.08 kB / 0.9535 GB, free: 308 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.00473, allocations: 79.28 kB / 0.9536 GB, free: 228 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.004761, allocations: 109.8 kB / 0.9537 GB, free: 108 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 6.12e-07/0.004761, allocations: 0 / 0.9537 GB, free: 108 kB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 4.878e-05/0.00481, allocations: 25.7 kB / 0.9537 GB, free: 76 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.004863, allocations: 134.7 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.629e-05/0.004939, allocations: 101.8 kB / 0.9539 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.004946, allocations: 25.7 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.771e-05/0.004974, allocations: 84.09 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.004976, allocations: 0 / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.005, allocations: 21.66 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.298e-05/0.005073, allocations: 314.8 kB / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-06/0.005081, allocations: 7.938 kB / 0.9543 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-06/0.005086, allocations: 0 / 0.9543 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.146e-05/0.005108, allocations: 4.859 kB / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.005109, allocations: 4.062 kB / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.446e-05/0.005194, allocations: 37.64 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.005206, allocations: 4 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.005211, allocations: 0 / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.005222, allocations: 0 / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.585e-05/0.005238, allocations: 4 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.005243, allocations: 0 / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.023e-05/0.005253, allocations: 4 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.005259, allocations: 7.922 kB / 0.9544 GB, free: 15.28 MB / 0.9167 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 6.135e-05/0.00532, allocations: 185.1 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.005355, allocations: 109 kB / 0.9547 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.095e-05/0.005386, allocations: 108.2 kB / 0.9548 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001187/0.005505, allocations: 184.2 kB / 0.955 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.805e-05/0.005543, allocations: 184.2 kB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.692e-05/0.00558, allocations: 180.2 kB / 0.9553 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.005713, allocations: 372.2 kB / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-05/0.005733, allocations: 101 kB / 0.9558 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.486e-05/0.005758, allocations: 116.8 kB / 0.9559 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.959e-05/0.005798, allocations: 184.3 kB / 0.956 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/0.005836, allocations: 180.2 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.612e-05/0.005872, allocations: 184.3 kB / 0.9564 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.602e-05/0.005908, allocations: 180.3 kB / 0.9566 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.962e-05/0.005998, allocations: 311.7 kB / 0.9569 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.006026, allocations: 108.9 kB / 0.957 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.006073, allocations: 176.3 kB / 0.9571 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.195e-05/0.006115, allocations: 105 kB / 0.9572 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.006161, allocations: 184.2 kB / 0.9574 GB, free: 12 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-05/0.006197, allocations: 101 kB / 0.9575 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.214e-05/0.006249, allocations: 83.28 kB / 0.9576 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006249, allocations: 0 / 0.9576 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001899/0.006439, allocations: 27.86 kB / 0.9576 GB, free: 11.79 MB / 0.9167 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.000428/0.006867, allocations: 0.8725 MB / 0.9585 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.365e-05/0.006921, allocations: 4 kB / 0.9585 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.006923, allocations: 0 / 0.9585 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.006924, allocations: 0 / 0.9585 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.007168, allocations: 459.6 kB / 0.9589 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003841/0.007552, allocations: 245.6 kB / 0.9591 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.268e-05/0.007585, allocations: 55.36 kB / 0.9592 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.081e-05/0.007605, allocations: 3.984 kB / 0.9592 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.00763, allocations: 20.48 kB / 0.9592 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of SimCode: time 5.61e-07/0.007631, allocations: 0 / 0.9592 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01582/0.02345, allocations: 2.204 MB / 0.9614 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.929/6.952, allocations: 4 kB / 0.9614 GB, free: 8.066 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Failed to open simulation result Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv: Error: Error opening file: Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv " [Timeout remaining time 300] "" Variables in the reference:time,cmp Variables in the result: [Calling sys.exit(0), Time elapsed: 11.087305856868625]