Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.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.00168/0.00168, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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.002137/0.002137, allocations: 212.1 kB / 23.04 MB, free: 5.078 MB / 14.72 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 1.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.06/3.06, allocations: 0.49 GB / 0.7959 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.CylindricalHeatSource_Integrand,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 69.28 kB / 1.155 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3308, allocations: 176.1 MB / 1.327 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001782/0.3326, allocations: 0.5882 MB / 1.327 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002217/0.3348, allocations: 1.665 MB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.463e-05/0.3348, allocations: 0 / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.3348, allocations: 0 / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.094e-05/0.3349, allocations: 4 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006436/0.3355, allocations: 201 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.805e-05/0.3356, allocations: 23.97 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.333e-05/0.3356, allocations: 4 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.194e-05/0.3357, allocations: 4 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.829e-05/0.3357, allocations: 15.86 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.3357, allocations: 0 / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005592/0.3363, allocations: 283.5 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.3363, allocations: 11.98 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.3363, allocations: 15.92 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.3366, allocations: 171.7 kB / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3366, allocations: 0 / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3366, allocations: 0 / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.3366, allocations: 0 / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003805/0.337, allocations: 293.9 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.337, allocations: 12.03 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.541e-05/0.3371, allocations: 192 / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.247e-05/0.3371, allocations: 34.75 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007778/0.3379, allocations: 76.81 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.84e-05/0.338, allocations: 106.5 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.338, allocations: 8.375 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.338, allocations: 384 / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.3382, allocations: 89.53 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3382, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.3382, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.3382, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/0.3385, allocations: 83.88 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.3386, allocations: 156.7 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.3388, allocations: 86.44 kB / 1.331 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.234e-05/0.3389, allocations: 40.95 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.3389, allocations: 7.938 kB / 1.331 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.3389, allocations: 30.56 kB / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.3389, allocations: 0 / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.0003384/0.3393, allocations: 145.5 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.3393, allocations: 55.34 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.937e-05/0.3394, allocations: 101.9 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.3394, allocations: 29.69 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.3395, allocations: 88.14 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.3395, allocations: 15.84 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/0.3395, allocations: 29.62 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.3397, allocations: 314.8 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.468e-05/0.3397, allocations: 31.97 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.226e-05/0.3398, allocations: 31.95 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.3399, allocations: 76.75 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.3399, allocations: 4 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002197/0.3402, allocations: 117.5 kB / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3402, allocations: 11.94 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3402, allocations: 0.6875 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.3402, allocations: 0 / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.3404, allocations: 19.97 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3404, allocations: 0 / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.3405, allocations: 4 kB / 1.332 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.3405, allocations: 3.984 kB / 1.332 GB, free: 12.67 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * 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 9.468e-05/0.3406, allocations: 114.4 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.3406, allocations: 15.94 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004208/0.341, allocations: 209.2 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.341, allocations: 7.938 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3411, allocations: 3.984 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3411, allocations: 0 / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.3412, allocations: 192.6 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.3412, allocations: 3.938 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.3414, allocations: 23.98 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.3414, allocations: 8 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.3414, allocations: 4 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3414, allocations: 0 / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3414, allocations: 0 / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.3417, allocations: 191.1 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.6e-05/0.3417, allocations: 19.84 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.3417, allocations: 4 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.222e-05/0.3418, allocations: 0 / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.3418, allocations: 11.98 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.3418, allocations: 8 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.716e-05/0.3419, allocations: 83.27 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3419, allocations: 4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003066/0.3422, allocations: 67.81 kB / 1.333 GB, free: 11.64 MB / 1.029 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 (16): * Single equations (assignments): 16 * 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.0008088/0.343, allocations: 0.8153 MB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.3432, allocations: 102.6 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3432, allocations: 0 / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.941e-05/0.3433, allocations: 67.91 kB / 1.334 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.3435, allocations: 8.875 kB / 1.334 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000617/0.3441, allocations: 274.1 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.3444, allocations: 0.7002 MB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.717e-05/0.3445, allocations: 20.11 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.067e-05/0.3446, allocations: 31.41 kB / 1.335 GB, free: 9.531 MB / 1.029 GB Notification: Performance of SimCode: time 9.01e-07/0.3446, allocations: 0 / 1.335 GB, free: 9.531 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.3678, allocations: 3.816 MB / 1.338 GB, free: 5.918 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.14, allocations: 15.91 kB / 1.338 GB, free: 5.906 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand_fmu --startTime=0.01 --stopTime=15 --stepSize=0.005996 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.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: 17.81376247201115]