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_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 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.CylindricalHeatSource_Integrand,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",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.001137/0.001137, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.731/2.731, allocations: 461.9 MB / 0.7346 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 66.45 kB / 0.8992 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2736, allocations: 157.4 MB / 1.053 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.002009/0.2756, allocations: 0.5876 MB / 1.054 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002147/0.2778, allocations: 1.61 MB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.412e-05/0.2778, allocations: 4 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.481e-05/0.2779, allocations: 0 / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.576e-05/0.2779, allocations: 3.938 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006472/0.2786, allocations: 199.4 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.85e-05/0.2787, allocations: 19.98 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.2787, allocations: 7.984 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.53e-05/0.2787, allocations: 4 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.651e-05/0.2788, allocations: 7.938 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.2788, allocations: 4 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004707/0.2793, allocations: 279.5 kB / 1.056 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.2793, allocations: 7.984 kB / 1.056 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.841e-05/0.2793, allocations: 11.94 kB / 1.056 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.2796, allocations: 159.6 kB / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2796, allocations: 0 / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2796, allocations: 0 / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.2796, allocations: 0 / 1.056 GB, free: 5.293 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003836/0.28, allocations: 379.7 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.2801, allocations: 8.625 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.567e-05/0.2801, allocations: 30.75 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008263/0.281, allocations: 72.86 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.2811, allocations: 172.3 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.2811, allocations: 4.375 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.2811, allocations: 8.312 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.2813, allocations: 77.73 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2813, allocations: 7.938 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.2813, allocations: 4 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2813, allocations: 0 / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/0.2816, allocations: 83.81 kB / 1.057 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.2817, allocations: 181.7 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.2819, allocations: 86.52 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.886e-05/0.282, allocations: 36.95 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.282, allocations: 0 / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.282, allocations: 38.5 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.282, allocations: 0 / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0003206/0.2824, allocations: 141.5 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.2824, allocations: 59.41 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.117e-05/0.2825, allocations: 105.8 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.2825, allocations: 25.7 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.133e-05/0.2825, allocations: 84.14 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.2826, allocations: 23.64 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.2826, allocations: 25.69 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.938e-05/0.2827, allocations: 314.8 kB / 1.058 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.142e-05/0.2828, allocations: 31.97 kB / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.692e-05/0.2828, allocations: 35.97 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.283, allocations: 76.75 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.283, allocations: 0.625 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002105/0.2832, allocations: 113.5 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.2832, allocations: 4 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2832, allocations: 4.062 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2833, allocations: 4 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.2835, allocations: 15.97 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2835, allocations: 0 / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.2836, allocations: 4 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.2836, allocations: 11.98 kB / 1.058 GB, free: 2.836 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 (5): * Single equations (assignments): 5 * 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.579e-05/0.2837, allocations: 121.8 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.2837, allocations: 11.83 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003926/0.2841, allocations: 213 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2841, allocations: 4 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2841, allocations: 0 / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2841, allocations: 4 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.2843, allocations: 209.5 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.2843, allocations: 3.984 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.2845, allocations: 31.94 kB / 1.059 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.2845, allocations: 3.984 kB / 1.059 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.2845, allocations: 7.875 kB / 1.059 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.2845, allocations: 0 / 1.059 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2845, allocations: 4 kB / 1.059 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.2848, allocations: 187.1 kB / 1.059 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.2848, allocations: 88.98 kB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.2849, allocations: 4 kB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.873e-05/0.285, allocations: 4 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.285, allocations: 11.98 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.285, allocations: 8 kB / 1.059 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.75e-05/0.285, allocations: 87.27 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2851, allocations: 0 / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002806/0.2853, allocations: 71.98 kB / 1.059 GB, free: 1.684 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.000746/0.2861, allocations: 0.8114 MB / 1.06 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.2863, allocations: 110.2 kB / 1.06 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2863, allocations: 0 / 1.06 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.972e-05/0.2864, allocations: 79.91 kB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.2866, allocations: 11.98 kB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005424/0.2871, allocations: 274.3 kB / 1.06 GB, free: 344 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.2874, allocations: 0.6924 MB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.057e-05/0.2875, allocations: 24.3 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.83e-05/0.2876, allocations: 29.86 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.2876, allocations: 4 kB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03085/0.3184, allocations: 3.622 MB / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.541/7.859, allocations: 14.72 kB / 1.064 GB, free: 12.12 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand_fmu --startTime=0.01 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.mat does not exist to compare? outputFormat=mat