Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",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.0009999/0.0009999, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001235/0.001235, allocations: 172.7 kB / 15.95 MB, free: 208 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.336/1.336, allocations: 223.2 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.275/2.275, allocations: 390.4 MB / 0.6655 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 12 kB / 0.8149 GB, free: 14.03 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6701/0.6705, allocations: 142.3 MB / 0.9539 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001467/0.672, allocations: 1.408 MB / 0.9553 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004186/0.6762, allocations: 3.889 MB / 0.9591 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.341e-05/0.6763, allocations: 0.7188 kB / 0.9591 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008575/0.6772, allocations: 319.8 kB / 0.9594 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.6773, allocations: 42.34 kB / 0.9594 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.6793, allocations: 0.7572 MB / 0.9602 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.6796, allocations: 160.2 kB / 0.9603 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.359e-05/0.6796, allocations: 16.38 kB / 0.9603 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.58e-05/0.6797, allocations: 53.91 kB / 0.9604 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.6799, allocations: 194.7 kB / 0.9606 GB, free: 3 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.68, allocations: 15.12 kB / 0.9606 GB, free: 3 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/0.6817, allocations: 1.306 MB / 0.9618 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001866/0.6819, allocations: 268.3 kB / 0.9621 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.903e-05/0.682, allocations: 124.1 kB / 0.9622 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009875/0.683, allocations: 1.028 MB / 0.9632 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.683, allocations: 7.594 kB / 0.9632 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.552e-06/0.683, allocations: 0 / 0.9632 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.6831, allocations: 0 / 0.9632 GB, free: 1.531 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.007173/0.6902, allocations: 1.222 MB / 0.9644 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.6903, allocations: 9.125 kB / 0.9644 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.477e-05/0.6903, allocations: 35.66 kB / 0.9645 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003148/0.6907, allocations: 98.98 kB / 0.9646 GB, free: 440 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.6911, allocations: 400 kB / 0.9649 GB, free: 84 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.6911, allocations: 3.031 kB / 0.9649 GB, free: 84 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.6911, allocations: 12.42 kB / 0.965 GB, free: 76 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004556/0.6916, allocations: 394.2 kB / 0.9653 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.6916, allocations: 0.6562 kB / 0.9653 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.6916, allocations: 0.7188 kB / 0.9653 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.6916, allocations: 4.812 kB / 0.9653 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004794/0.6921, allocations: 434.3 kB / 0.9658 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006214/0.6927, allocations: 0.6668 MB / 0.9664 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005527/0.6933, allocations: 0.5647 MB / 0.967 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.6936, allocations: 332.7 kB / 0.9673 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009148/0.6946, allocations: 1.045 MB / 0.9683 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004101/0.695, allocations: 402.8 kB / 0.9687 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/0.695, allocations: 0 / 0.9687 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001433/0.6964, allocations: 1.294 MB / 0.9699 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.6965, allocations: 88 kB / 0.97 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.6978, allocations: 1.274 MB / 0.9713 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.6978, allocations: 26.8 kB / 0.9713 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.698, allocations: 281.5 kB / 0.9716 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.6981, allocations: 23.3 kB / 0.9716 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.6981, allocations: 4 kB / 0.9716 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.6983, allocations: 425.4 kB / 0.972 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.6995, allocations: 1.362 MB / 0.9733 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/0.7007, allocations: 1.495 MB / 0.9748 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.7022, allocations: 1.891 MB / 0.9766 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.7022, allocations: 7.938 kB / 0.9766 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003856/0.7061, allocations: 3.949 MB / 0.9805 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.7061, allocations: 4 kB / 0.9805 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.7062, allocations: 4 kB / 0.9805 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.7062, allocations: 0 / 0.9805 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.7063, allocations: 23.86 kB / 0.9805 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.7063, allocations: 0 / 0.9805 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005789/0.7069, allocations: 232.3 kB / 0.9807 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.772e-05/0.707, allocations: 23.98 kB / 0.9808 GB, free: 3.969 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0003027/0.7073, allocations: 253.6 kB / 0.981 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.908e-05/0.7073, allocations: 74.62 kB / 0.9811 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/0.7076, allocations: 79.66 kB / 0.9812 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.7076, allocations: 4 kB / 0.9812 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7076, allocations: 0 / 0.9812 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.7077, allocations: 0 / 0.9812 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004498/0.7081, allocations: 0.5138 MB / 0.9817 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.7081, allocations: 8.031 kB / 0.9817 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.709e-05/0.7082, allocations: 7.984 kB / 0.9817 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.7082, allocations: 0 / 0.9817 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.7082, allocations: 8 kB / 0.9817 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.7082, allocations: 4 kB / 0.9817 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7082, allocations: 0 / 0.9817 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008541/0.7091, allocations: 1.013 MB / 0.9827 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.7092, allocations: 155.8 kB / 0.9828 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.52e-05/0.7093, allocations: 7.984 kB / 0.9828 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.7094, allocations: 8 kB / 0.9828 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.7095, allocations: 3.984 kB / 0.9829 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.7095, allocations: 11.98 kB / 0.9829 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007303/0.7103, allocations: 0.7101 MB / 0.9836 GB, free: 1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7103, allocations: 4 kB / 0.9836 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001096/0.7114, allocations: 399.8 kB / 0.9839 GB, free: 0.6055 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002191/0.7136, allocations: 1.927 MB / 0.9858 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002073/0.7156, allocations: 2.488 MB / 0.9883 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7157, allocations: 0 / 0.9883 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003059/0.716, allocations: 339.9 kB / 0.9886 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.7164, allocations: 52.7 kB / 0.9886 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009691/0.7261, allocations: 9.481 MB / 0.9979 GB, free: 2.195 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/0.7266, allocations: 0.9839 MB / 0.9988 GB, free: 1.184 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000201/0.7268, allocations: 45.36 kB / 0.9989 GB, free: 1.137 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003026/0.7271, allocations: 287.3 kB / 0.9992 GB, free: 0.8594 MB / 0.7481 GB Notification: Performance of SimCode: time 4.91e-07/0.7271, allocations: 0 / 0.9992 GB, free: 0.8594 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03155/0.7587, allocations: 18.79 MB / 1.018 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/0.7589, allocations: 273 kB / 1.018 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.206/2.965, allocations: 2.812 kB / 1.018 GB, free: 13.98 MB / 0.7794 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat does not exist to compare? outputFormat=mat