Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.067/2.067, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001052/0.001052, allocations: 166.9 kB / 498.1 MB, free: 5.75 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.353/1.353, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0008801/0.0008802, allocations: 92.33 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000391/0.0003912, allocations: 19.72 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2257, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1649/0.3906, allocations: 150.9 MB / 1.37 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.3909, allocations: 107.9 kB / 1.37 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005101/0.396, allocations: 2.044 MB / 1.372 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.973e-06/0.3961, allocations: 4 kB / 1.372 GB, free: 8.879 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.3961, allocations: 0 / 1.372 GB, free: 8.879 MB / 0.8698 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.0002914/0.3964, allocations: 331.4 kB / 1.373 GB, free: 8.508 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.3964, allocations: 12.03 kB / 1.373 GB, free: 8.496 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.538e-05/0.3965, allocations: 30.56 kB / 1.373 GB, free: 8.457 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.091e-05/0.3965, allocations: 0 / 1.373 GB, free: 8.457 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.3966, allocations: 170.9 kB / 1.373 GB, free: 8.25 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.3967, allocations: 3.984 kB / 1.373 GB, free: 8.246 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.3967, allocations: 4 kB / 1.373 GB, free: 8.242 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.426e-05/0.3968, allocations: 29.7 kB / 1.373 GB, free: 8.207 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.3968, allocations: 0 / 1.373 GB, free: 8.207 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.3968, allocations: 0 / 1.373 GB, free: 8.207 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.3968, allocations: 3.984 kB / 1.373 GB, free: 8.203 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.019e-05/0.3968, allocations: 7.938 kB / 1.373 GB, free: 8.195 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000424/0.3972, allocations: 460.6 kB / 1.373 GB, free: 7.676 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.721e-05/0.3973, allocations: 177.1 kB / 1.374 GB, free: 7.492 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.3974, allocations: 75.28 kB / 1.374 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.3974, allocations: 113.8 kB / 1.374 GB, free: 7.297 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3974, allocations: 0 / 1.374 GB, free: 7.297 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 6.72e-05/0.3975, allocations: 29.64 kB / 1.374 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.3975, allocations: 126.7 kB / 1.374 GB, free: 7.125 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.033e-05/0.3976, allocations: 101 kB / 1.374 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.3977, allocations: 25.7 kB / 1.374 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.3977, allocations: 84.14 kB / 1.374 GB, free: 6.902 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-06/0.3977, allocations: 0 / 1.374 GB, free: 6.902 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-06/0.3977, allocations: 0 / 1.374 GB, free: 6.902 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.344e-05/0.3978, allocations: 314.8 kB / 1.374 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.338e-06/0.3978, allocations: 4 kB / 1.374 GB, free: 6.582 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-06/0.3978, allocations: 0 / 1.374 GB, free: 6.582 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.58e-05/0.3979, allocations: 4.062 kB / 1.374 GB, free: 6.578 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3979, allocations: 0 / 1.374 GB, free: 6.578 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.693e-05/0.398, allocations: 37.64 kB / 1.375 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.398, allocations: 4 kB / 1.375 GB, free: 6.531 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.398, allocations: 0 / 1.375 GB, free: 6.531 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.398, allocations: 0 / 1.375 GB, free: 6.531 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.639e-05/0.398, allocations: 4 kB / 1.375 GB, free: 6.527 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3981, allocations: 11.97 kB / 1.375 GB, free: 6.516 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.502e-05/0.3981, allocations: 4 kB / 1.375 GB, free: 6.512 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.3981, allocations: 3.953 kB / 1.375 GB, free: 6.508 MB / 0.8698 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 8.334e-05/0.3982, allocations: 185.2 kB / 1.375 GB, free: 6.316 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.502e-05/0.3982, allocations: 104.9 kB / 1.375 GB, free: 6.207 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.813e-05/0.3983, allocations: 116.9 kB / 1.375 GB, free: 6.086 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-05/0.3983, allocations: 176.3 kB / 1.375 GB, free: 5.906 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.296e-05/0.3984, allocations: 184.2 kB / 1.375 GB, free: 5.719 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.686e-05/0.3985, allocations: 188.3 kB / 1.375 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.3987, allocations: 405.2 kB / 1.376 GB, free: 5.074 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-05/0.3987, allocations: 108.9 kB / 1.376 GB, free: 4.961 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.222e-05/0.3988, allocations: 105 kB / 1.376 GB, free: 4.852 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.87e-05/0.3988, allocations: 184.2 kB / 1.376 GB, free: 4.664 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.337e-05/0.3989, allocations: 180.3 kB / 1.376 GB, free: 4.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.495e-05/0.399, allocations: 176.3 kB / 1.377 GB, free: 4.301 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-05/0.399, allocations: 192.1 kB / 1.377 GB, free: 4.105 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.3992, allocations: 303.7 kB / 1.377 GB, free: 3.785 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.273e-05/0.3993, allocations: 190 kB / 1.377 GB, free: 3.574 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.139e-05/0.3993, allocations: 180.3 kB / 1.377 GB, free: 3.391 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.425e-05/0.3994, allocations: 108.9 kB / 1.377 GB, free: 3.277 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.3995, allocations: 180.3 kB / 1.378 GB, free: 3.094 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.3995, allocations: 104.9 kB / 1.378 GB, free: 2.984 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.27e-05/0.3996, allocations: 83.27 kB / 1.378 GB, free: 2.902 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3996, allocations: 0 / 1.378 GB, free: 2.902 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002536/0.3998, allocations: 23.94 kB / 1.378 GB, free: 2.879 MB / 0.8698 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.0006553/0.4005, allocations: 0.8789 MB / 1.379 GB, free: 1.98 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 5.486e-05/0.4006, allocations: 3.938 kB / 1.379 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4006, allocations: 0 / 1.379 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.4006, allocations: 0 / 1.379 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.4009, allocations: 0.5264 MB / 1.379 GB, free: 1.445 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003202/0.4041, allocations: 1.116 MB / 1.38 GB, free: 292 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.4044, allocations: 0.6731 MB / 1.381 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.877e-05/0.4045, allocations: 7.938 kB / 1.381 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.4045, allocations: 11.44 kB / 1.381 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of SimCode: time 5.91e-07/0.4045, allocations: 0 / 1.381 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0121/0.4166, allocations: 1.291 MB / 1.382 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002865/0.4169, allocations: 296.5 kB / 1.383 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.538/1.955, allocations: 4 kB / 1.383 GB, free: 14.14 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat does not exist to compare? outputFormat=mat