Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.ShaGFunction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",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.001231/0.001231, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001451/0.001451, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.273/2.273, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.518/4.518, allocations: 409.2 MB / 0.6838 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004115/0.0004116, allocations: 12 kB / 0.8375 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.344/1.344, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001404/1.346, allocations: 298 kB / 0.9812 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002649/1.348, allocations: 0.9472 MB / 0.9821 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/1.349, allocations: 0 / 0.9821 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/1.349, allocations: 4 kB / 0.9821 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001249/1.35, allocations: 91.77 kB / 0.9822 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.974e-05/1.35, allocations: 4 kB / 0.9822 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.508e-05/1.35, allocations: 8 kB / 0.9822 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.74e-05/1.35, allocations: 0 / 0.9822 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.3e-05/1.35, allocations: 3.984 kB / 0.9822 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/1.35, allocations: 35.97 kB / 0.9823 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/1.35, allocations: 4 kB / 0.9823 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003731/1.351, allocations: 51.95 kB / 0.9823 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/1.351, allocations: 11.92 kB / 0.9823 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.79e-05/1.351, allocations: 25.7 kB / 0.9823 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002212/1.351, allocations: 51.88 kB / 0.9824 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.351, allocations: 0 / 0.9824 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.725e-06/1.351, allocations: 0 / 0.9824 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.522e-06/1.351, allocations: 0 / 0.9824 GB, free: 4.762 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005555/1.352, allocations: 329.6 kB / 0.9827 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.214e-05/1.352, allocations: 8.031 kB / 0.9827 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.257e-05/1.352, allocations: 34.56 kB / 0.9827 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/1.352, allocations: 0 / 0.9827 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/1.352, allocations: 167.1 kB / 0.9829 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/1.352, allocations: 0 / 0.9829 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/1.352, allocations: 0 / 0.9829 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/1.353, allocations: 37.64 kB / 0.9829 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/1.353, allocations: 0 / 0.9829 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/1.353, allocations: 0 / 0.9829 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.353, allocations: 0 / 0.9829 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.193e-05/1.353, allocations: 7.938 kB / 0.983 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008126/1.354, allocations: 464.7 kB / 0.9834 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/1.354, allocations: 173 kB / 0.9836 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.404e-05/1.354, allocations: 75.28 kB / 0.9836 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.724e-05/1.354, allocations: 121.8 kB / 0.9837 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 2.144e-06/1.354, allocations: 0 / 0.9837 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001296/1.354, allocations: 29.69 kB / 0.9838 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/1.354, allocations: 126.7 kB / 0.9839 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/1.354, allocations: 101.8 kB / 0.984 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/1.354, allocations: 25.7 kB / 0.984 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/1.355, allocations: 84.14 kB / 0.9841 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.59e-06/1.355, allocations: 0 / 0.9841 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/1.355, allocations: 4 kB / 0.9841 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0003858/1.355, allocations: 314.8 kB / 0.9844 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/1.355, allocations: 0 / 0.9844 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.857e-05/1.355, allocations: 4 kB / 0.9844 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.878e-05/1.355, allocations: 0 / 0.9844 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/1.355, allocations: 3.938 kB / 0.9844 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002103/1.355, allocations: 45.59 kB / 0.9845 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/1.355, allocations: 4 kB / 0.9845 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/1.355, allocations: 4.094 kB / 0.9845 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/1.355, allocations: 0 / 0.9845 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.154e-05/1.355, allocations: 0 / 0.9845 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/1.355, allocations: 0 / 0.9845 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.735e-05/1.355, allocations: 11.83 kB / 0.9845 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/1.356, allocations: 4 kB / 0.9845 GB, free: 2.379 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: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 0.0001868/1.356, allocations: 181.1 kB / 0.9847 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/1.356, allocations: 108.9 kB / 0.9848 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/1.356, allocations: 112.1 kB / 0.9849 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001146/1.356, allocations: 176.3 kB / 0.985 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001513/1.356, allocations: 192.2 kB / 0.9852 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001123/1.356, allocations: 176.3 kB / 0.9854 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004977/1.357, allocations: 401.2 kB / 0.9858 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-05/1.357, allocations: 109 kB / 0.9859 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/1.357, allocations: 105 kB / 0.986 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001284/1.357, allocations: 184.2 kB / 0.9861 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001636/1.357, allocations: 180.2 kB / 0.9863 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001137/1.358, allocations: 180.4 kB / 0.9865 GB, free: 188 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001123/1.358, allocations: 180.2 kB / 0.9867 GB, free: 0 / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/1.358, allocations: 315.8 kB / 0.987 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/1.358, allocations: 182.1 kB / 0.9871 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/1.358, allocations: 184.2 kB / 0.9873 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/1.358, allocations: 104.9 kB / 0.9874 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/1.359, allocations: 188.3 kB / 0.9876 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.317e-05/1.359, allocations: 108.9 kB / 0.9877 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.236e-05/1.359, allocations: 83.27 kB / 0.9878 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.41e-07/1.359, allocations: 0 / 0.9878 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004877/1.359, allocations: 16 kB / 0.9878 GB, free: 14.77 MB / 0.7481 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 (0): * Single equations (assignments): 0 * 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.00119/1.36, allocations: 0.8557 MB / 0.9886 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001262/1.361, allocations: 11.88 kB / 0.9886 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.361, allocations: 0 / 0.9886 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.979e-06/1.361, allocations: 0 / 0.9886 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006142/1.361, allocations: 0.5264 MB / 0.9891 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007736/1.362, allocations: 191.7 kB / 0.9893 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005535/1.363, allocations: 0.677 MB / 0.99 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.72e-05/1.363, allocations: 4 kB / 0.99 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.007e-05/1.363, allocations: 15.44 kB / 0.99 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of SimCode: time 4.51e-07/1.363, allocations: 0 / 0.99 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/1.384, allocations: 1.324 MB / 0.9913 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004283/1.385, allocations: 297.6 kB / 0.9916 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.006/4.391, allocations: 0 / 0.9916 GB, free: 10.95 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.ShaGFunction_res.mat does not exist to compare? outputFormat=mat