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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.202/2.202, allocations: 393.5 MB / 408.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001264, allocations: 199.3 kB / 0.4902 GB, free: 2.227 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 223.1 MB / 0.7992 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009134/0.0009136, allocations: 104.2 kB / 0.9396 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.000405, allocations: 14.19 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3002, allocations: 143 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1934/0.4936, allocations: 151.8 MB / 1.378 GB, free: 1.492 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004203/0.4941, allocations: 111.9 kB / 1.378 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007777/0.5019, allocations: 2.137 MB / 1.38 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5019, allocations: 0 / 1.38 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.502, allocations: 0 / 1.38 GB, free: 15.24 MB / 0.8855 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.0003978/0.5024, allocations: 335.4 kB / 1.38 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.5024, allocations: 12.5 kB / 1.38 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.184e-05/0.5025, allocations: 38.55 kB / 1.38 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.556e-05/0.5025, allocations: 0 / 1.38 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.5027, allocations: 175 kB / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.5027, allocations: 0 / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.5027, allocations: 0 / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.062e-05/0.5028, allocations: 25.7 kB / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.5029, allocations: 0 / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.5029, allocations: 4 kB / 1.38 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.5029, allocations: 0 / 1.38 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.061e-05/0.5029, allocations: 0 / 1.38 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005468/0.5035, allocations: 476.5 kB / 1.381 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.5036, allocations: 169.1 kB / 1.381 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/0.5037, allocations: 75.28 kB / 1.381 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.145e-05/0.5037, allocations: 109.8 kB / 1.381 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.613e-06/0.5037, allocations: 7.938 kB / 1.381 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 9.211e-05/0.5038, allocations: 33.64 kB / 1.381 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.213e-05/0.5039, allocations: 126.7 kB / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.5041, allocations: 96.94 kB / 1.381 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.5041, allocations: 25.7 kB / 1.381 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.597e-05/0.5042, allocations: 88.05 kB / 1.381 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.677e-06/0.5042, allocations: 0 / 1.381 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.5042, allocations: 0 / 1.381 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.5044, allocations: 318.8 kB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.162e-05/0.5044, allocations: 0 / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-06/0.5044, allocations: 0 / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.197e-05/0.5045, allocations: 4 kB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5045, allocations: 0 / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001363/0.5046, allocations: 37.62 kB / 1.382 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.5047, allocations: 4 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5047, allocations: 0 / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.5047, allocations: 4 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.697e-05/0.5047, allocations: 4.094 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.5047, allocations: 0 / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.982e-05/0.5048, allocations: 0 / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.5048, allocations: 3.953 kB / 1.382 GB, free: 12.87 MB / 0.8855 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.0001284/0.5049, allocations: 189.1 kB / 1.382 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.036e-05/0.505, allocations: 101 kB / 1.382 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.903e-05/0.5051, allocations: 112.2 kB / 1.382 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.111e-05/0.5052, allocations: 184.3 kB / 1.382 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.924e-05/0.5053, allocations: 180.3 kB / 1.383 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.063e-05/0.5054, allocations: 184.4 kB / 1.383 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.5057, allocations: 401.2 kB / 1.383 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-05/0.5058, allocations: 112.9 kB / 1.383 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.67e-05/0.5058, allocations: 101 kB / 1.383 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.664e-05/0.5059, allocations: 188.2 kB / 1.384 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.336e-05/0.506, allocations: 180.2 kB / 1.384 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.981e-05/0.5061, allocations: 180.3 kB / 1.384 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.96e-05/0.5062, allocations: 180.2 kB / 1.384 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.5065, allocations: 315.7 kB / 1.384 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.5066, allocations: 178.1 kB / 1.385 GB, free: 9.953 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.641e-05/0.5067, allocations: 184.2 kB / 1.385 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.5068, allocations: 108.9 kB / 1.385 GB, free: 9.652 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/0.5069, allocations: 180.2 kB / 1.385 GB, free: 9.469 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.009e-05/0.507, allocations: 116.9 kB / 1.385 GB, free: 9.348 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.224e-05/0.507, allocations: 83.28 kB / 1.385 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5071, allocations: 0 / 1.385 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003812/0.5074, allocations: 24 kB / 1.385 GB, free: 9.242 MB / 0.8855 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.0008687/0.5083, allocations: 0.8742 MB / 1.386 GB, free: 8.352 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 6.905e-05/0.5084, allocations: 7.984 kB / 1.386 GB, free: 8.344 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.5084, allocations: 0 / 1.386 GB, free: 8.344 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.435e-06/0.5084, allocations: 3.938 kB / 1.386 GB, free: 8.34 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.5089, allocations: 0.5225 MB / 1.387 GB, free: 7.812 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004541/0.5134, allocations: 1.197 MB / 1.388 GB, free: 6.57 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.5138, allocations: 0.677 MB / 1.388 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.966e-05/0.5138, allocations: 0 / 1.388 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.506e-05/0.5139, allocations: 15.44 kB / 1.388 GB, free: 5.852 MB / 0.8855 GB Notification: Performance of SimCode: time 5.31e-06/0.5139, allocations: 3.938 kB / 1.388 GB, free: 5.848 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01347/0.5274, allocations: 1.306 MB / 1.39 GB, free: 4.77 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003461/0.5277, allocations: 297.8 kB / 1.39 GB, free: 4.414 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/2.263, allocations: 10.58 kB / 1.39 GB, free: 4.406 MB / 0.8855 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) 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