Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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.0009058/0.0009058, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009565/0.0009565, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.872/0.872, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.76/1.76, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.9998 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.908e-05, allocations: 5.094 kB / 0.9998 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00205/0.002069, allocations: 1.712 MB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.005545/0.007615, allocations: 4.902 MB / 1.006 GB, free: 6.754 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.731e-05/0.007692, allocations: 3.938 kB / 1.006 GB, free: 6.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0009529/0.008645, allocations: 338.4 kB / 1.007 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.599e-05/0.008721, allocations: 63.66 kB / 1.007 GB, free: 6.355 MB / 0.9636 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.002723/0.01144, allocations: 1.596 MB / 1.008 GB, free: 4.758 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002522/0.0117, allocations: 174.2 kB / 1.008 GB, free: 4.59 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.01174, allocations: 9.812 kB / 1.008 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.179e-05/0.01182, allocations: 87.73 kB / 1.008 GB, free: 4.492 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.01197, allocations: 151.6 kB / 1.009 GB, free: 4.344 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.012, allocations: 16 kB / 1.009 GB, free: 4.328 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00231/0.01431, allocations: 2.39 MB / 1.011 GB, free: 1.934 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.000255/0.01456, allocations: 291.8 kB / 1.011 GB, free: 1.648 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.01468, allocations: 164 kB / 1.011 GB, free: 1.488 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001917/0.0166, allocations: 2.525 MB / 1.014 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.0166, allocations: 0 / 1.014 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.503e-06/0.0166, allocations: 0 / 1.014 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.01661, allocations: 0 / 1.014 GB, free: 14.96 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.004366/0.02097, allocations: 1.335 MB / 1.015 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.02102, allocations: 8.031 kB / 1.015 GB, free: 13.58 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.381e-05/0.02105, allocations: 34.75 kB / 1.015 GB, free: 13.54 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002474/0.0213, allocations: 104.2 kB / 1.015 GB, free: 13.43 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.02168, allocations: 355.7 kB / 1.016 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.0217, allocations: 4.375 kB / 1.016 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.02173, allocations: 12.36 kB / 1.016 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.02204, allocations: 383.8 kB / 1.016 GB, free: 12.65 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.02205, allocations: 4.188 kB / 1.016 GB, free: 12.64 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.02206, allocations: 12.11 kB / 1.016 GB, free: 12.63 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.02207, allocations: 0 / 1.016 GB, free: 12.63 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.02237, allocations: 439.7 kB / 1.016 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.02285, allocations: 0.6221 MB / 1.017 GB, free: 11.54 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/0.02323, allocations: 0.5517 MB / 1.018 GB, free: 10.97 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.02344, allocations: 337.6 kB / 1.018 GB, free: 10.63 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003708/0.02381, allocations: 143.8 kB / 1.018 GB, free: 10.49 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002731/0.02408, allocations: 400.9 kB / 1.018 GB, free: 10.08 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.02408, allocations: 0 / 1.018 GB, free: 10.08 MB / 0.9792 GB Notification: Performance of matching and sorting (n=8): time 0.0009672/0.02505, allocations: 1.301 MB / 1.02 GB, free: 8.773 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.0251, allocations: 85.09 kB / 1.02 GB, free: 8.672 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009215/0.02602, allocations: 1.298 MB / 1.021 GB, free: 7.363 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.02605, allocations: 33.7 kB / 1.021 GB, free: 7.324 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.0262, allocations: 285.9 kB / 1.021 GB, free: 7.039 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.02623, allocations: 23.84 kB / 1.021 GB, free: 7.016 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/0.02645, allocations: 343.6 kB / 1.022 GB, free: 6.676 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.39e-05/0.02654, allocations: 318 kB / 1.022 GB, free: 6.359 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000802/0.02734, allocations: 1.369 MB / 1.023 GB, free: 4.988 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008781/0.02822, allocations: 1.509 MB / 1.025 GB, free: 3.469 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004647/0.03286, allocations: 3.557 MB / 1.028 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.03287, allocations: 3.938 kB / 1.028 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002886/0.03576, allocations: 4.019 MB / 1.032 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.03578, allocations: 5.875 kB / 1.032 GB, free: 11.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.0358, allocations: 7.938 kB / 1.032 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.03582, allocations: 0 / 1.032 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.03601, allocations: 20.02 kB / 1.032 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.03601, allocations: 4 kB / 1.032 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.03632, allocations: 237.3 kB / 1.032 GB, free: 11.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.03636, allocations: 27.98 kB / 1.032 GB, free: 11.47 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[1],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0002409/0.0366, allocations: 253.6 kB / 1.033 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/0.03665, allocations: 83.23 kB / 1.033 GB, free: 11.13 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006923/0.03734, allocations: 0.9485 MB / 1.034 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.03734, allocations: 0 / 1.034 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.03735, allocations: 4 kB / 1.034 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.03736, allocations: 0 / 1.034 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.03769, allocations: 489.5 kB / 1.034 GB, free: 9.645 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.03769, allocations: 0 / 1.034 GB, free: 9.645 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.034e-05/0.03774, allocations: 4 kB / 1.034 GB, free: 9.641 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.03775, allocations: 0 / 1.034 GB, free: 9.641 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.03776, allocations: 11.92 kB / 1.034 GB, free: 9.629 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.03776, allocations: 0 / 1.034 GB, free: 9.629 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.03776, allocations: 4.031 kB / 1.034 GB, free: 9.625 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006405/0.0384, allocations: 1.014 MB / 1.035 GB, free: 8.59 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-05/0.03847, allocations: 95.28 kB / 1.035 GB, free: 8.496 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.03851, allocations: 3.938 kB / 1.035 GB, free: 8.492 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.169e-05/0.03859, allocations: 4 kB / 1.035 GB, free: 8.488 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.03863, allocations: 7.984 kB / 1.035 GB, free: 8.48 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/0.03866, allocations: 11.98 kB / 1.035 GB, free: 8.469 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005298/0.03919, allocations: 0.7261 MB / 1.036 GB, free: 7.738 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.03919, allocations: 4 kB / 1.036 GB, free: 7.734 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001251/0.04044, allocations: 0.5923 MB / 1.037 GB, free: 7.141 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002418/0.04286, allocations: 2.249 MB / 1.039 GB, free: 4.883 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001357/0.04422, allocations: 2.001 MB / 1.041 GB, free: 2.867 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.04422, allocations: 0 / 1.041 GB, free: 2.867 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.04443, allocations: 335.8 kB / 1.041 GB, free: 2.539 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.04474, allocations: 51.53 kB / 1.041 GB, free: 2.488 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.05576, allocations: 15.45 MB / 1.056 GB, free: 2.855 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.05599, allocations: 397.8 kB / 1.057 GB, free: 2.441 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001186/0.05611, allocations: 45.41 kB / 1.057 GB, free: 2.395 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.05634, allocations: 300.4 kB / 1.057 GB, free: 2.102 MB / 1.01 GB Notification: Performance of SimCode: time 1.502e-06/0.05634, allocations: 0 / 1.057 GB, free: 2.102 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4281/0.4844, allocations: 25.68 MB / 1.082 GB, free: 95.31 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.552/8.036, allocations: 2.344 kB / 1.082 GB, free: 95.31 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.csv --start-time 0 --stop-time 1.8e+12 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 7.2e+08 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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: 12.623524908907712]