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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.213/2.213, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001228/0.001228, allocations: 189 kB / 498.1 MB, free: 5.727 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.39/1.39, allocations: 223.1 MB / 0.7948 GB, free: 18.8 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.0009051/0.000905, allocations: 94.81 kB / 0.9346 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004356/0.0004357, allocations: 11.06 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2342, allocations: 142.4 MB / 1.223 GB, free: 89.43 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1831/0.4173, allocations: 168.8 MB / 1.388 GB, free: 400 kB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.4177, allocations: 123.9 kB / 1.388 GB, free: 276 kB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.5568/0.9745, allocations: 30.17 MB / 1.417 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9746, allocations: 0.9375 kB / 1.417 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.121e-05/0.9747, allocations: 13.78 kB / 1.417 GB, free: 169.3 MB / 0.9011 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.0031/0.9778, allocations: 1.205 MB / 1.419 GB, free: 168.5 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.9778, allocations: 9.5 kB / 1.419 GB, free: 168.5 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/0.9779, allocations: 36.58 kB / 1.419 GB, free: 168.4 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004046/0.9783, allocations: 105.1 kB / 1.419 GB, free: 168.4 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008086/0.9791, allocations: 469.5 kB / 1.419 GB, free: 168.1 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.9791, allocations: 24.53 kB / 1.419 GB, free: 168.1 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-05/0.9792, allocations: 35.98 kB / 1.419 GB, free: 168.1 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000513/0.9798, allocations: 387.8 kB / 1.42 GB, free: 168.1 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.9798, allocations: 3.062 kB / 1.42 GB, free: 168.1 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.9798, allocations: 5.516 kB / 1.42 GB, free: 168 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.9798, allocations: 5 kB / 1.42 GB, free: 168 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005196/0.9803, allocations: 443 kB / 1.42 GB, free: 168 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000722/0.9811, allocations: 0.7661 MB / 1.421 GB, free: 167.8 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005585/0.9816, allocations: 0.5642 MB / 1.421 GB, free: 167.7 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007341/0.9824, allocations: 1.026 MB / 1.422 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003779/0.9828, allocations: 411.4 kB / 1.423 GB, free: 166.5 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.9828, allocations: 2.062 kB / 1.423 GB, free: 166.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=8): time 0.001421/0.9842, allocations: 1.302 MB / 1.424 GB, free: 166.4 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.9843, allocations: 85.72 kB / 1.424 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.9854, allocations: 1.126 MB / 1.425 GB, free: 166.1 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.486e-05/0.9854, allocations: 42.33 kB / 1.425 GB, free: 166.1 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.9856, allocations: 302.3 kB / 1.426 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.9857, allocations: 27.34 kB / 1.426 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/0.9857, allocations: 12.34 kB / 1.426 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.9859, allocations: 422.6 kB / 1.426 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.9872, allocations: 1.217 MB / 1.427 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.9886, allocations: 1.357 MB / 1.428 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.9901, allocations: 1.617 MB / 1.43 GB, free: 165.2 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.9901, allocations: 0 / 1.43 GB, free: 165.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004156/0.9943, allocations: 3.456 MB / 1.433 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.9943, allocations: 5.312 kB / 1.433 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/0.9944, allocations: 2.062 kB / 1.433 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.9944, allocations: 3.344 kB / 1.433 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006263/0.995, allocations: 144.8 kB / 1.434 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.9951, allocations: 4.984 kB / 1.434 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005938/0.9957, allocations: 251.7 kB / 1.434 GB, free: 164.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.9958, allocations: 59.19 kB / 1.434 GB, free: 164.3 MB / 0.9011 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 (91): * Single equations (assignments): 89 * Array equations: 1 * 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.000314/0.9961, allocations: 263.8 kB / 1.434 GB, free: 164.2 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.9962, allocations: 71.91 kB / 1.434 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.9975, allocations: 0.9428 MB / 1.435 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.9975, allocations: 1.031 kB / 1.435 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.9976, allocations: 4.828 kB / 1.435 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.9976, allocations: 1.188 kB / 1.435 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005323/0.9981, allocations: 0.5257 MB / 1.436 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.9981, allocations: 0 / 1.436 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.285e-05/0.9982, allocations: 9.203 kB / 1.436 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.9982, allocations: 1.188 kB / 1.436 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.9982, allocations: 6.156 kB / 1.436 GB, free: 163.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.9982, allocations: 4.031 kB / 1.436 GB, free: 163.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.9983, allocations: 2.906 kB / 1.436 GB, free: 163.8 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.9994, allocations: 1.023 MB / 1.437 GB, free: 163.7 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.9995, allocations: 162.8 kB / 1.437 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.562e-05/0.9996, allocations: 2.219 kB / 1.437 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.9998, allocations: 7.188 kB / 1.437 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.9998, allocations: 7.156 kB / 1.437 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.717e-05/0.9999, allocations: 21.8 kB / 1.437 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.00092/1.001, allocations: 0.7048 MB / 1.438 GB, free: 163.4 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3e-07/1.001, allocations: 1.312 kB / 1.438 GB, free: 163.4 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002396/1.003, allocations: 0.4931 MB / 1.438 GB, free: 163.3 MB / 0.9011 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.003693/1.007, allocations: 2.176 MB / 1.44 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002263/1.009, allocations: 2.362 MB / 1.442 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.009, allocations: 0 / 1.442 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002865/1.01, allocations: 343.3 kB / 1.443 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/1.01, allocations: 58.03 kB / 1.443 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003527/1.014, allocations: 2.838 MB / 1.446 GB, free: 161.2 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/1.014, allocations: 1.011 MB / 1.447 GB, free: 160.5 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002145/1.014, allocations: 59.84 kB / 1.447 GB, free: 160.5 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/1.014, allocations: 297.6 kB / 1.447 GB, free: 160.4 MB / 0.9011 GB Notification: Performance of SimCode: time 8.12e-07/1.014, allocations: 0 / 1.447 GB, free: 160.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03045/1.045, allocations: 19.33 MB / 1.466 GB, free: 144.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/1.045, allocations: 270.5 kB / 1.466 GB, free: 144.5 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.6/3.645, allocations: 0 / 1.466 GB, free: 144.5 MB / 0.9011 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