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_Integrand.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.FiniteLineSource_Integrand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001674/0.001674, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.349/1.349, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.805/2.805, allocations: 472.6 MB / 0.7447 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 66.83 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2641, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand): time 0.002392/0.2666, allocations: 1.39 MB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.2678, allocations: 0.7829 MB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.614e-05/0.2679, allocations: 0 / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.2679, allocations: 0 / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.548e-05/0.2679, allocations: 11.92 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.2684, allocations: 107.8 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.261e-05/0.2684, allocations: 23.8 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.152e-05/0.2685, allocations: 0 / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.815e-05/0.2685, allocations: 8 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.907e-05/0.2685, allocations: 7.938 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.487e-06/0.2685, allocations: 0 / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003678/0.2689, allocations: 191.7 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.2689, allocations: 4 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.269, allocations: 3.938 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.2692, allocations: 128 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2692, allocations: 0 / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.61e-07/0.2692, allocations: 7.938 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.2692, allocations: 0 / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003147/0.2696, allocations: 343.5 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.2696, allocations: 8.031 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.2696, allocations: 12.92 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.902e-05/0.2697, allocations: 164.3 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.425e-06/0.2698, allocations: 4.312 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.2698, allocations: 8.375 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.214e-05/0.2699, allocations: 38.02 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.2699, allocations: 0 / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.2699, allocations: 0 / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.2699, allocations: 0 / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.952e-05/0.2699, allocations: 7.984 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001344/0.2701, allocations: 157.6 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.335e-05/0.2701, allocations: 26.5 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.272e-05/0.2702, allocations: 16.92 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004897/0.2706, allocations: 132.4 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.2707, allocations: 38.5 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2707, allocations: 0 / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001293/0.2708, allocations: 41.7 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.2709, allocations: 51.41 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.632e-05/0.2709, allocations: 101.8 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.271, allocations: 25.7 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.824e-05/0.271, allocations: 88.08 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.271, allocations: 3.906 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.271, allocations: 17.83 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.686e-05/0.2711, allocations: 322.8 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.2712, allocations: 4 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.806e-06/0.2712, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.443e-05/0.2712, allocations: 16.86 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2712, allocations: 3.938 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.197e-05/0.2713, allocations: 37.69 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.2713, allocations: 11.94 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2713, allocations: 4.094 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.2713, allocations: 0 / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.787e-05/0.2714, allocations: 4 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2714, allocations: 3.938 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.198e-05/0.2714, allocations: 0 / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.2714, allocations: 0 / 1.072 GB, free: 6.238 MB / 0.8262 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 (2): * Single equations (assignments): 2 * 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 5.851e-05/0.2715, allocations: 113.8 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.886e-06/0.2715, allocations: 3.938 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.05e-05/0.2716, allocations: 52.81 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.2716, allocations: 0 / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2716, allocations: 0 / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.2716, allocations: 0 / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.957e-05/0.2717, allocations: 153.7 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2717, allocations: 256 / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.949e-05/0.2717, allocations: 8 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.2717, allocations: 3.938 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.2717, allocations: 4 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.2718, allocations: 3.984 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.2718, allocations: 3.938 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.241e-05/0.2718, allocations: 69.08 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.9e-05/0.2719, allocations: 81.05 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.2719, allocations: 7.984 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.009e-05/0.2719, allocations: 0 / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.102e-05/0.2719, allocations: 0 / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/0.2719, allocations: 0 / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.485e-05/0.272, allocations: 79.28 kB / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.272, allocations: 4.031 kB / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002456/0.2722, allocations: 43.98 kB / 1.072 GB, free: 5.516 MB / 0.8262 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 (2): * Single equations (assignments): 2 * 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.0003015/0.2725, allocations: 167.1 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.418e-05/0.2726, allocations: 15.94 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.2726, allocations: 0 / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.316e-05/0.2726, allocations: 7.984 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.2729, allocations: 12.06 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002169/0.2731, allocations: 107.2 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.2733, allocations: 0.677 MB / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.511e-05/0.2733, allocations: 10.09 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.483e-05/0.2733, allocations: 7.438 kB / 1.073 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2733, allocations: 0 / 1.073 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of Templates: time 0.003328/0.2767, allocations: 1.233 MB / 1.075 GB, free: 3.277 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches