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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: "" <> 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.001123/0.001123, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001514/0.001514, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.56/2.56, allocations: 409.4 MB / 0.684 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003877, allocations: 8 kB / 0.8378 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7058/0.7062, allocations: 146.8 MB / 0.9812 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.0006821/0.7069, allocations: 310.1 kB / 0.9815 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001872/0.7088, allocations: 1.528 MB / 0.983 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.525e-05/0.7088, allocations: 0 / 0.983 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.292e-05/0.7089, allocations: 0 / 0.983 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.478e-05/0.7089, allocations: 4 kB / 0.983 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005685/0.7095, allocations: 151.6 kB / 0.9831 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.298e-05/0.7096, allocations: 19.98 kB / 0.9831 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.283e-05/0.7096, allocations: 3.984 kB / 0.9831 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.129e-05/0.7096, allocations: 8 kB / 0.9832 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.48e-05/0.7097, allocations: 7.984 kB / 0.9832 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.7097, allocations: 3.938 kB / 0.9832 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005113/0.7102, allocations: 291.5 kB / 0.9834 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.739e-05/0.7102, allocations: 8 kB / 0.9835 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.7103, allocations: 29.7 kB / 0.9835 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.7105, allocations: 107.8 kB / 0.9836 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7105, allocations: 0 / 0.9836 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.016e-06/0.7105, allocations: 0 / 0.9836 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.7105, allocations: 3.938 kB / 0.9836 GB, free: 3.73 MB / 0.7325 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.0003134/0.7108, allocations: 365.5 kB / 0.9839 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.7109, allocations: 11.98 kB / 0.9839 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.601e-05/0.7109, allocations: 38.55 kB / 0.984 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007129/0.7116, allocations: 75.83 kB / 0.9841 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.7118, allocations: 163 kB / 0.9842 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.7118, allocations: 0 / 0.9842 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.7118, allocations: 8 kB / 0.9842 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.712, allocations: 85.55 kB / 0.9843 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.712, allocations: 0 / 0.9843 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.712, allocations: 4 kB / 0.9843 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.712, allocations: 0 / 0.9843 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.7122, allocations: 83.81 kB / 0.9844 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.7124, allocations: 181.5 kB / 0.9846 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.7125, allocations: 78.58 kB / 0.9846 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.868e-05/0.7126, allocations: 44.95 kB / 0.9847 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.7126, allocations: 11.92 kB / 0.9847 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.7127, allocations: 34.56 kB / 0.9847 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 2.745e-06/0.7127, allocations: 3.984 kB / 0.9847 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0002962/0.713, allocations: 141.4 kB / 0.9849 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.713, allocations: 55.34 kB / 0.9849 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.111e-05/0.7131, allocations: 110.1 kB / 0.985 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.7131, allocations: 25.7 kB / 0.985 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.118e-05/0.7131, allocations: 92.14 kB / 0.9851 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.7132, allocations: 11.8 kB / 0.9851 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-06/0.7132, allocations: 4 kB / 0.9851 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.169e-05/0.7133, allocations: 314.8 kB / 0.9854 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.599e-05/0.7133, allocations: 27.97 kB / 0.9855 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.218e-05/0.7134, allocations: 31.97 kB / 0.9855 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.819e-05/0.7135, allocations: 35.97 kB / 0.9855 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.7135, allocations: 0 / 0.9855 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001912/0.7137, allocations: 113.5 kB / 0.9856 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.7137, allocations: 11.95 kB / 0.9857 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.7137, allocations: 0 / 0.9857 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.7137, allocations: 0 / 0.9857 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.7139, allocations: 19.97 kB / 0.9857 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.7139, allocations: 0 / 0.9857 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.238e-05/0.714, allocations: 4 kB / 0.9857 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.714, allocations: 3.984 kB / 0.9857 GB, free: 1.359 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.523e-05/0.7141, allocations: 117.8 kB / 0.9858 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.7141, allocations: 11.91 kB / 0.9858 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/0.7145, allocations: 222.2 kB / 0.986 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.7146, allocations: 4 kB / 0.986 GB, free: 1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.7146, allocations: 3.938 kB / 0.986 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7146, allocations: 0 / 0.986 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.7147, allocations: 205.6 kB / 0.9862 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.7148, allocations: 4 kB / 0.9862 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.7149, allocations: 27.98 kB / 0.9863 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.7149, allocations: 3.953 kB / 0.9863 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.7149, allocations: 8 kB / 0.9863 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.715, allocations: 0 / 0.9863 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.715, allocations: 7.922 kB / 0.9863 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.7152, allocations: 190.4 kB / 0.9865 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.7153, allocations: 85.02 kB / 0.9865 GB, free: 400 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.7153, allocations: 11.95 kB / 0.9865 GB, free: 388 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/0.7154, allocations: 4 kB / 0.9865 GB, free: 384 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.7154, allocations: 11.98 kB / 0.9866 GB, free: 372 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-06/0.7154, allocations: 4 kB / 0.9866 GB, free: 368 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.706e-05/0.7155, allocations: 87.27 kB / 0.9866 GB, free: 280 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7155, allocations: 0 / 0.9866 GB, free: 280 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000291/0.7158, allocations: 60 kB / 0.9867 GB, free: 220 kB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007634/0.7165, allocations: 0.8114 MB / 0.9875 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.7167, allocations: 102 kB / 0.9876 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7168, allocations: 0 / 0.9876 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.942e-05/0.7169, allocations: 79.91 kB / 0.9877 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.717, allocations: 7.953 kB / 0.9877 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005398/0.7176, allocations: 284.5 kB / 0.9879 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.7178, allocations: 0.6926 MB / 0.9886 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001037/0.7179, allocations: 24.28 kB / 0.9886 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.391e-05/0.718, allocations: 40.09 kB / 0.9887 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of SimCode: time 3.41e-07/0.718, allocations: 0 / 0.9887 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01346/0.7315, allocations: 3.368 MB / 0.992 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/0.7317, allocations: 284.1 kB / 0.9922 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.464, allocations: 0 / 0.9922 GB, free: 10.63 MB / 0.7481 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/linux/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) Environment - environmentSimulation: 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