Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001431/0.001431, 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.001571/0.001571, allocations: 199.6 kB / 16.26 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.377/1.377, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.343/2.343, allocations: 437 MB / 0.7101 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.91 kB / 0.8689 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6094/0.6107, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length): time 0.002437/0.6132, allocations: 1.44 MB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.6144, allocations: 0.7908 MB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.136e-05/0.6145, allocations: 0 / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.6145, allocations: 3.984 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.486e-05/0.6146, allocations: 3.938 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005657/0.6151, allocations: 159.6 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.358e-05/0.6152, allocations: 55.84 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.6153, allocations: 0 / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.705e-05/0.6153, allocations: 23.92 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.137e-05/0.6154, allocations: 27.91 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.6154, allocations: 4 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003693/0.6158, allocations: 191.7 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.6158, allocations: 0 / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.265e-05/0.6158, allocations: 23.86 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.6161, allocations: 149.9 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.6161, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6161, allocations: 4 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.6161, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 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.000443/0.6165, allocations: 363.3 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.6166, allocations: 15.92 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.822e-05/0.6166, allocations: 38.75 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.6167, allocations: 4.922 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.6168, allocations: 180.2 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.6168, allocations: 384 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.6168, allocations: 4.375 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.617, allocations: 57.8 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.617, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.617, allocations: 7.984 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.617, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.6171, allocations: 47.91 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.6173, allocations: 165.7 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.6174, allocations: 50.56 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.597e-05/0.6175, allocations: 24.97 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.6175, allocations: 4 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.6175, allocations: 38.5 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.6175, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002334/0.6178, allocations: 93.5 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.6178, allocations: 51.41 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.389e-05/0.6179, allocations: 105.8 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.6179, allocations: 29.7 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.618, allocations: 84.14 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.618, allocations: 19.73 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.6181, allocations: 21.72 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.6182, allocations: 322.8 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.332e-05/0.6182, allocations: 8 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.141e-05/0.6182, allocations: 16.36 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.823e-05/0.6183, allocations: 36.86 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6183, allocations: 0 / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00014/0.6185, allocations: 85.45 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.6185, allocations: 8 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.6185, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.6185, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.76e-05/0.6186, allocations: 12 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.6186, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.714e-05/0.6187, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.6187, allocations: 7.984 kB / 1.022 GB, free: 13.7 MB / 0.7794 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 6.989e-05/0.6187, allocations: 106.4 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/0.6188, allocations: 15.84 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003992/0.6192, allocations: 202.2 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.6192, allocations: 4 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.6192, allocations: 4 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.6192, allocations: 3.938 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.6194, allocations: 197.5 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.6194, allocations: 7.938 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.6195, allocations: 31.92 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.6195, allocations: 4 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.6195, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.6195, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.6195, allocations: 4 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.6197, allocations: 152.9 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-05/0.6198, allocations: 88.95 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.6198, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.684e-05/0.6198, allocations: 8.062 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.6199, allocations: 11.98 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.6199, allocations: 4 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.232e-05/0.6199, allocations: 87.58 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6199, allocations: 4 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002347/0.6202, allocations: 48 kB / 1.023 GB, free: 12.64 MB / 0.7794 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.0006081/0.6208, allocations: 0.7512 MB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000154/0.621, allocations: 71.84 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.621, allocations: 0 / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.494e-05/0.621, allocations: 47.91 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.6213, allocations: 24.22 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.6217, allocations: 247.2 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.622, allocations: 0.7 MB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.908e-05/0.622, allocations: 22.2 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.11e-05/0.6221, allocations: 37.31 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6221, allocations: 0 / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.638/2.26, allocations: 3.187 MB / 1.027 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002919/2.26, allocations: 300.7 kB / 1.028 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/3.967, allocations: 3.938 kB / 1.028 GB, free: 7.348 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length_fmu --startTime=0.01 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length.fmu > Buildings_10_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_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length_res.mat does not exist to compare? outputFormat=mat