Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|G.1.|G.2.|G.3.|G.4.|G.5.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|G.1.|G.2.|G.3.|G.4.|G.5.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004813/0.004813, allocations: 102.1 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 192 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.576/2.576, allocations: 472.6 MB / 0.7453 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.89 kB / 1.07 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7962/0.7975, allocations: 159.9 MB / 1.226 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.0022/0.7997, allocations: 1.305 MB / 1.227 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002095/0.8018, allocations: 1.329 MB / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.8019, allocations: 4 kB / 1.228 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.021e-05/0.8019, allocations: 7.875 kB / 1.228 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.802, allocations: 11.91 kB / 1.228 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009381/0.803, allocations: 370.8 kB / 1.229 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.8032, allocations: 43.89 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.8032, allocations: 4 kB / 1.229 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.945e-05/0.8032, allocations: 11.98 kB / 1.229 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.773e-05/0.8033, allocations: 27.91 kB / 1.229 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.8034, allocations: 0 / 1.229 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007599/0.8041, allocations: 0.5148 MB / 1.229 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.8042, allocations: 11.98 kB / 1.229 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.685e-05/0.8042, allocations: 23.86 kB / 1.229 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005036/0.8047, allocations: 351.6 kB / 1.23 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8047, allocations: 0 / 1.23 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8047, allocations: 4 kB / 1.23 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.8048, allocations: 0 / 1.23 GB, free: 9.402 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005464/0.8053, allocations: 414.6 kB / 1.23 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.8053, allocations: 12.03 kB / 1.23 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003094/0.8057, allocations: 36.84 kB / 1.23 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.8058, allocations: 172.3 kB / 1.23 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.8058, allocations: 4.375 kB / 1.23 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.8058, allocations: 8.375 kB / 1.23 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.806, allocations: 61.97 kB / 1.23 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.806, allocations: 0 / 1.23 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.806, allocations: 0 / 1.23 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.806, allocations: 3.938 kB / 1.23 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.8062, allocations: 59.94 kB / 1.23 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/0.8064, allocations: 177.6 kB / 1.231 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.8065, allocations: 62.48 kB / 1.231 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.146e-05/0.8066, allocations: 28.97 kB / 1.231 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005529/0.8072, allocations: 201 kB / 1.231 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.8072, allocations: 42.5 kB / 1.231 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.8072, allocations: 0 / 1.231 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.000255/0.8075, allocations: 97.61 kB / 1.231 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.8075, allocations: 55.34 kB / 1.231 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.8077, allocations: 113.8 kB / 1.231 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.8077, allocations: 25.7 kB / 1.231 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.8077, allocations: 84.14 kB / 1.231 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.96e-05/0.8078, allocations: 19.84 kB / 1.231 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.8079, allocations: 25.72 kB / 1.231 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.8081, allocations: 322.8 kB / 1.232 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.117e-05/0.8081, allocations: 12 kB / 1.232 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.841e-05/0.8081, allocations: 19.98 kB / 1.232 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.274e-05/0.8082, allocations: 48.77 kB / 1.232 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8083, allocations: 384 / 1.232 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001479/0.8084, allocations: 89.61 kB / 1.232 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.8084, allocations: 7.938 kB / 1.232 GB, free: 7 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.8084, allocations: 0 / 1.232 GB, free: 7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.8085, allocations: 4 kB / 1.232 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.8086, allocations: 15.98 kB / 1.232 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.8086, allocations: 0 / 1.232 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.139e-05/0.8086, allocations: 3.953 kB / 1.232 GB, free: 6.977 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.8086, allocations: 4 kB / 1.232 GB, free: 6.973 MB / 0.9512 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 (6): * Single equations (assignments): 6 * 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 7.753e-05/0.8087, allocations: 114.4 kB / 1.232 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.8087, allocations: 7.938 kB / 1.232 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005017/0.8092, allocations: 298.9 kB / 1.232 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.8093, allocations: 4 kB / 1.232 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.8093, allocations: 0 / 1.232 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.8093, allocations: 4 kB / 1.232 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.8094, allocations: 177.5 kB / 1.232 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.8094, allocations: 3.984 kB / 1.232 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.481e-05/0.8095, allocations: 12 kB / 1.232 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.8095, allocations: 3.938 kB / 1.232 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.8095, allocations: 4 kB / 1.232 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.8095, allocations: 80 / 1.232 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.8096, allocations: 8.047 kB / 1.232 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.8098, allocations: 121 kB / 1.232 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.8098, allocations: 85 kB / 1.233 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.8098, allocations: 0 / 1.233 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.172e-05/0.8099, allocations: 0 / 1.233 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.8099, allocations: 4 kB / 1.233 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.8099, allocations: 7.984 kB / 1.233 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.832e-05/0.81, allocations: 87.28 kB / 1.233 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.81, allocations: 0 / 1.233 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003714/0.8104, allocations: 119.7 kB / 1.233 GB, free: 5.832 MB / 0.9512 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 (7): * Single equations (assignments): 7 * 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.000576/0.8109, allocations: 238.9 kB / 1.233 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001611/0.8111, allocations: 47.97 kB / 1.233 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8111, allocations: 0 / 1.233 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.41e-05/0.8112, allocations: 31.92 kB / 1.233 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.8114, allocations: 19.45 kB / 1.233 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.8118, allocations: 166.4 kB / 1.233 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.812, allocations: 0.6807 MB / 1.234 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003454/0.8124, allocations: 271.5 kB / 1.234 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.8124, allocations: 15.44 kB / 1.234 GB, free: 4.324 MB / 0.9512 GB Notification: Performance of SimCode: time 2.9e-07/0.8124, allocations: 7.938 kB / 1.234 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of Templates: time 0.005796/0.8182, allocations: 2.842 MB / 1.237 GB, free: 1.527 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches