Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.FiniteLineSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hRea.1|1.|hRea.1|2.|hRea.1|3.|hRea.1|4.|hRea.1|5.|hRea.1|6.|hRea.1|7.|hRea.2|1.|hRea.2|2.|hRea.2|3.|hRea.2|4.|hRea.2|5.|hRea.2|6.|hRea.2|7.|hMir.1|1.|hMir.1|2.|hMir.1|3.|hMir.1|4.|hMir.1|5.|hMir.1|6.|hMir.1|7.|hMir.2|1.|hMir.2|2.|hMir.2|3.|hMir.2|4.|hMir.2|5.|hMir.2|6.|hMir.2|7.|h.1|1.|h.1|2.|h.1|3.|h.1|4.|h.1|5.|h.1|6.|h.1|7.|h.2|1.|h.2|2.|h.2|3.|h.2|4.|h.2|5.|h.2|6.|h.2|7.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hRea.1|1.|hRea.1|2.|hRea.1|3.|hRea.1|4.|hRea.1|5.|hRea.1|6.|hRea.1|7.|hRea.2|1.|hRea.2|2.|hRea.2|3.|hRea.2|4.|hRea.2|5.|hRea.2|6.|hRea.2|7.|hMir.1|1.|hMir.1|2.|hMir.1|3.|hMir.1|4.|hMir.1|5.|hMir.1|6.|hMir.1|7.|hMir.2|1.|hMir.2|2.|hMir.2|3.|hMir.2|4.|hMir.2|5.|hMir.2|6.|hMir.2|7.|h.1|1.|h.1|2.|h.1|3.|h.1|4.|h.1|5.|h.1|6.|h.1|7.|h.2|1.|h.2|2.|h.2|3.|h.2|4.|h.2|5.|h.2|6.|h.2|7.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 104.3 kB / 16.35 MB, free: 5.824 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.00145/0.001451, allocations: 193 kB / 17.29 MB, free: 5.48 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 / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.39/2.39, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 65.94 kB / 0.8774 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3334, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource): time 0.002684/0.3361, allocations: 1.375 MB / 1.028 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002057/0.3382, allocations: 1.316 MB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.715e-05/0.3382, allocations: 8 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.173e-05/0.3383, allocations: 3.984 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.949e-05/0.3384, allocations: 19.91 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009092/0.3393, allocations: 370.8 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.3396, allocations: 380.6 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.824e-05/0.3397, allocations: 11.98 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.3398, allocations: 115.9 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.34, allocations: 183.7 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.371e-05/0.34, allocations: 20 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007024/0.3408, allocations: 495.3 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.3409, allocations: 107.8 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.341, allocations: 115.5 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005929/0.3416, allocations: 0.5456 MB / 1.032 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3416, allocations: 4 kB / 1.032 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3416, allocations: 0 / 1.032 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.3416, allocations: 0 / 1.032 GB, free: 12.97 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006927/0.3423, allocations: 0.5302 MB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3424, allocations: 8.031 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.941e-05/0.3425, allocations: 20.66 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.3426, allocations: 188.1 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.3426, allocations: 16.38 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.049e-05/0.3427, allocations: 16.38 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005156/0.3432, allocations: 333.6 kB / 1.033 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.3432, allocations: 0 / 1.033 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.3432, allocations: 15.94 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3433, allocations: 4 kB / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004186/0.3474, allocations: 2.929 MB / 1.036 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/0.348, allocations: 393.1 kB / 1.036 GB, free: 8.395 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007273/0.3487, allocations: 495.2 kB / 1.036 GB, free: 7.898 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003396/0.3491, allocations: 241.4 kB / 1.037 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001364/0.3504, allocations: 0.9313 MB / 1.038 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.3505, allocations: 42.48 kB / 1.038 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=43): time 2.014e-06/0.3505, allocations: 4 kB / 1.038 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of matching and sorting (n=43): time 0.001268/0.3518, allocations: 0.7634 MB / 1.038 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.3518, allocations: 55.41 kB / 1.038 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.3519, allocations: 143.9 kB / 1.039 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.352, allocations: 29.7 kB / 1.039 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.352, allocations: 97.14 kB / 1.039 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.3522, allocations: 149.9 kB / 1.039 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.3523, allocations: 93.69 kB / 1.039 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3524, allocations: 334.8 kB / 1.039 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003211/0.3528, allocations: 211.8 kB / 1.039 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.3531, allocations: 217.2 kB / 1.04 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007359/0.3538, allocations: 485.1 kB / 1.04 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3538, allocations: 4 kB / 1.04 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008677/0.3547, allocations: 0.5517 MB / 1.041 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3547, allocations: 7.938 kB / 1.041 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3548, allocations: 0 / 1.041 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3548, allocations: 0 / 1.041 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.3551, allocations: 95.89 kB / 1.041 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3551, allocations: 0 / 1.041 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.166e-05/0.3552, allocations: 27.69 kB / 1.041 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/0.3552, allocations: 23.98 kB / 1.041 GB, free: 3.195 MB / 0.8106 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 (43): * Single equations (assignments): 43 * 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 0.0001471/0.3554, allocations: 161.7 kB / 1.041 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-05/0.3554, allocations: 27.75 kB / 1.041 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/0.357, allocations: 0.8999 MB / 1.042 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.357, allocations: 4 kB / 1.042 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.357, allocations: 0 / 1.042 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.357, allocations: 0 / 1.042 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.3574, allocations: 397.1 kB / 1.042 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3574, allocations: 0 / 1.042 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/0.3577, allocations: 95.89 kB / 1.042 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.3577, allocations: 7.938 kB / 1.042 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/0.3578, allocations: 19.98 kB / 1.042 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3578, allocations: 7.938 kB / 1.042 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3578, allocations: 4 kB / 1.042 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008955/0.3587, allocations: 0.5928 MB / 1.043 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/0.3587, allocations: 108.6 kB / 1.043 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.3588, allocations: 8 kB / 1.043 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.264e-05/0.3589, allocations: 8 kB / 1.043 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.758e-05/0.3589, allocations: 35.95 kB / 1.043 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/0.359, allocations: 27.98 kB / 1.043 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.518e-05/0.3591, allocations: 120.9 kB / 1.043 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3591, allocations: 0 / 1.043 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004886/0.3596, allocations: 180 kB / 1.043 GB, free: 452 kB / 0.8106 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 (44): * Single equations (assignments): 44 * 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.0004837/0.36, allocations: 251 kB / 1.044 GB, free: 188 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007808/0.3608, allocations: 0.4995 MB / 1.044 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3608, allocations: 0 / 1.044 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003954/0.3612, allocations: 275.7 kB / 1.044 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.3615, allocations: 52.67 kB / 1.044 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008749/0.3624, allocations: 0.5922 MB / 1.045 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.3627, allocations: 0.7556 MB / 1.046 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005186/0.3633, allocations: 349.5 kB / 1.046 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.3634, allocations: 55.42 kB / 1.046 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.3634, allocations: 0 / 1.046 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of Templates: time 0.009281/0.3727, allocations: 5.612 MB / 1.052 GB, free: 8.109 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches