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_Length.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0017/0.0017, allocations: 192.8 kB / 16.25 MB, free: 6.621 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.354/1.354, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.656/3.656, allocations: 461.9 MB / 0.7344 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 64.58 kB / 0.8988 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3299, allocations: 157.4 MB / 1.052 GB, free: 8.582 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length): time 0.002816/0.3327, allocations: 1.435 MB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.3342, allocations: 0.7911 MB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/0.3342, allocations: 0 / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.727e-05/0.3343, allocations: 3.984 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.35e-05/0.3343, allocations: 15.92 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006389/0.335, allocations: 155.6 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.806e-05/0.3351, allocations: 55.84 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.083e-05/0.3351, allocations: 4 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.781e-05/0.3352, allocations: 27.91 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.27e-05/0.3352, allocations: 23.92 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.3353, allocations: 4 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003797/0.3357, allocations: 187.6 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.3357, allocations: 7.984 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.294e-05/0.3357, allocations: 23.86 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.336, allocations: 147.9 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.336, allocations: 0 / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.823e-06/0.336, allocations: 0 / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.336, allocations: 4 kB / 1.055 GB, free: 5.684 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004562/0.3365, allocations: 365.3 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3365, allocations: 8.625 kB / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.3366, allocations: 38.73 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.3366, allocations: 12.84 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.3367, allocations: 172.3 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3368, allocations: 384 / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.3368, allocations: 4.312 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.3369, allocations: 65.78 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.3369, allocations: 0 / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3369, allocations: 4 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.337, allocations: 0 / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.3371, allocations: 47.89 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002086/0.3373, allocations: 169.6 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.867e-05/0.3374, allocations: 54.61 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.774e-05/0.3374, allocations: 20.98 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.3375, allocations: 3.984 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.3375, allocations: 34.5 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.3375, allocations: 0 / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002517/0.3378, allocations: 93.52 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.3378, allocations: 55.41 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.857e-05/0.3379, allocations: 109.8 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.3379, allocations: 25.7 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.338, allocations: 88.14 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.338, allocations: 15.7 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.3381, allocations: 21.72 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3382, allocations: 318.8 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.375e-05/0.3382, allocations: 8 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.346e-05/0.3383, allocations: 23.98 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.011e-05/0.3383, allocations: 36.8 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3383, allocations: 0 / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001302/0.3385, allocations: 73.61 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3385, allocations: 9.875 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3385, allocations: 448 / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.3385, allocations: 0 / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.3386, allocations: 12 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3387, allocations: 0 / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.304e-05/0.3387, allocations: 7.984 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.3387, allocations: 8 kB / 1.057 GB, free: 3.586 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 (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 8.725e-05/0.3388, allocations: 109.8 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.3388, allocations: 11.84 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004145/0.3392, allocations: 205.2 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3393, allocations: 3.938 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3393, allocations: 4 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3393, allocations: 0 / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.3394, allocations: 193.5 kB / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3394, allocations: 3.938 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.3396, allocations: 35.92 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.3396, allocations: 3.938 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.3396, allocations: 8 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3396, allocations: 0 / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3396, allocations: 0 / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.3398, allocations: 154.6 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.3399, allocations: 88.95 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.3399, allocations: 0 / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.609e-05/0.3399, allocations: 4 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.3399, allocations: 11.98 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.34, allocations: 8 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.237e-05/0.34, allocations: 87.27 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.34, allocations: 0 / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002661/0.3403, allocations: 52 kB / 1.058 GB, free: 2.531 MB / 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 (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.0006777/0.341, allocations: 0.7545 MB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001791/0.3412, allocations: 63.91 kB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3412, allocations: 0 / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.687e-05/0.3413, allocations: 47.91 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.3415, allocations: 12.75 kB / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005304/0.342, allocations: 264.3 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.3423, allocations: 0.6924 MB / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.177e-05/0.3424, allocations: 24.31 kB / 1.06 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.753e-05/0.3424, allocations: 31.42 kB / 1.06 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of SimCode: time 2.71e-07/0.3425, allocations: 4 kB / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.177/3.52, allocations: 3.197 MB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003292/3.52, allocations: 307.5 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/5.357, allocations: 0 / 1.063 GB, free: 13.23 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length_fmu --startTime=0.01 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length_res.mat does not exist to compare? outputFormat=mat