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.0008204/0.0008204, 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.0008628/0.0008628, allocations: 169.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.9347/0.9347, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.733/1.733, allocations: 359 MB / 0.6037 GB, free: 11.08 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 1.372e-06/1.372e-06, allocations: 0 / 0.9506 GB, free: 3.414 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.719e-05, allocations: 13.17 kB / 0.9506 GB, free: 3.402 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001043/0.00106, allocations: 0.5905 MB / 0.9511 GB, free: 2.809 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.002131, allocations: 1.004 MB / 0.9521 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.049e-05/0.002151, allocations: 0 / 0.9521 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.634e-05/0.002167, allocations: 7.938 kB / 0.9521 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0005284/0.002696, allocations: 99.77 kB / 0.9522 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 2.718e-05/0.002723, allocations: 11.94 kB / 0.9522 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.139e-05/0.002774, allocations: 7.922 kB / 0.9522 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.002815, allocations: 7.984 kB / 0.9523 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.693e-05/0.002842, allocations: 0 / 0.9523 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.002991, allocations: 31.97 kB / 0.9523 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.003008, allocations: 0 / 0.9523 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.00314, allocations: 79.84 kB / 0.9524 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.003149, allocations: 4 kB / 0.9524 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.326e-05/0.003162, allocations: 4 kB / 0.9524 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.003291, allocations: 83.77 kB / 0.9525 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.003292, allocations: 0 / 0.9525 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003293, allocations: 0 / 0.9525 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.003297, allocations: 4 kB / 0.9525 GB, free: 1.453 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.0002379/0.003535, allocations: 258.2 kB / 0.9527 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.003573, allocations: 8.031 kB / 0.9527 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.5e-05/0.003598, allocations: 30.75 kB / 0.9527 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.81e-05/0.003616, allocations: 4.938 kB / 0.9527 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.155e-05/0.003688, allocations: 101.8 kB / 0.9528 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.003697, allocations: 4.375 kB / 0.9528 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.003705, allocations: 12.25 kB / 0.9529 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.95e-05/0.003774, allocations: 34.25 kB / 0.9529 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.003781, allocations: 192 / 0.9529 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-06/0.003788, allocations: 3.938 kB / 0.9529 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.003792, allocations: 0 / 0.9529 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.464e-05/0.003807, allocations: 4 kB / 0.9529 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.004172, allocations: 358.6 kB / 0.9532 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.372e-05/0.004236, allocations: 173 kB / 0.9534 GB, free: 368 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.263e-05/0.004258, allocations: 84.14 kB / 0.9535 GB, free: 280 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.004278, allocations: 79.28 kB / 0.9536 GB, free: 200 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.004315, allocations: 105.8 kB / 0.9537 GB, free: 84 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.004315, allocations: 0 / 0.9537 GB, free: 84 kB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 6.846e-05/0.004384, allocations: 37.69 kB / 0.9537 GB, free: 40 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/0.004456, allocations: 126.7 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.004559, allocations: 101.8 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.00457, allocations: 29.64 kB / 0.9539 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.004612, allocations: 88.09 kB / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-06/0.004616, allocations: 4 kB / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.004643, allocations: 13.7 kB / 0.954 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.702e-05/0.00474, allocations: 310.8 kB / 0.9543 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.074e-05/0.004751, allocations: 8 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.605e-06/0.004758, allocations: 0 / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.202e-05/0.00479, allocations: 8.859 kB / 0.9544 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.004793, allocations: 0 / 0.9544 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001175/0.00491, allocations: 37.64 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.004928, allocations: 4 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.004934, allocations: 4 kB / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.00495, allocations: 0 / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.332e-05/0.004973, allocations: 7.922 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.00498, allocations: 4.094 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.093e-05/0.004991, allocations: 0 / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.004998, allocations: 0 / 0.9544 GB, free: 15.25 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 8.131e-05/0.00508, allocations: 185.1 kB / 0.9546 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.005121, allocations: 105 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.472e-05/0.005166, allocations: 116.1 kB / 0.9548 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.238e-05/0.005218, allocations: 184.2 kB / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.964e-05/0.005268, allocations: 176.3 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-05/0.005321, allocations: 184.2 kB / 0.9553 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.00549, allocations: 372.2 kB / 0.9557 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.219e-05/0.005522, allocations: 116.9 kB / 0.9558 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.858e-05/0.00555, allocations: 105 kB / 0.9559 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.056e-05/0.005601, allocations: 176.3 kB / 0.9561 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.823e-05/0.005659, allocations: 188.1 kB / 0.9562 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.886e-05/0.005708, allocations: 176.3 kB / 0.9564 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.597e-05/0.005764, allocations: 188.2 kB / 0.9566 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.00589, allocations: 307.8 kB / 0.9569 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.005927, allocations: 104.9 kB / 0.957 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.358e-05/0.005991, allocations: 180.2 kB / 0.9571 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.379e-05/0.006045, allocations: 108.9 kB / 0.9572 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.00611, allocations: 176.3 kB / 0.9574 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.006143, allocations: 109 kB / 0.9575 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.18e-05/0.006185, allocations: 83.22 kB / 0.9576 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006185, allocations: 0 / 0.9576 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001826/0.006367, allocations: 31.8 kB / 0.9576 GB, free: 11.75 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.0005493/0.006917, allocations: 0.857 MB / 0.9585 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.591e-05/0.006983, allocations: 8 kB / 0.9585 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.006984, allocations: 0 / 0.9585 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.426e-06/0.006988, allocations: 3.938 kB / 0.9585 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.007243, allocations: 459.7 kB / 0.9589 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004584/0.007701, allocations: 241.5 kB / 0.9591 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.496e-05/0.007746, allocations: 55.36 kB / 0.9592 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.617e-05/0.007772, allocations: 7.984 kB / 0.9592 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.007806, allocations: 8.562 kB / 0.9592 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of SimCode: time 7.81e-07/0.007807, allocations: 4 kB / 0.9592 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01842/0.02622, allocations: 2.214 MB / 0.9614 GB, free: 8.039 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.794/6.821, allocations: 6.516 kB / 0.9614 GB, free: 8.035 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.994064453989267]