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_1borehole_5meters.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_1borehole_5meters,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",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.276/2.276, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001009/0.001009, allocations: 176.8 kB / 487.4 MB, free: 5.059 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.464/1.464, allocations: 221.5 MB / 0.7824 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009119/0.0009119, allocations: 91.84 kB / 0.9219 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.179e-05/2.181e-05, allocations: 5.406 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2815, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.916/1.198, allocations: 163.6 MB / 1.366 GB, free: 18.01 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/1.198, allocations: 110.4 kB / 1.366 GB, free: 18.01 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07433/1.272, allocations: 21.91 MB / 1.387 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.254e-06/1.272, allocations: 0 / 1.387 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.02e-05/1.272, allocations: 11.72 kB / 1.387 GB, free: 27.34 MB / 0.8386 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.002047/1.274, allocations: 1.016 MB / 1.388 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.274, allocations: 11.84 kB / 1.388 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003522/1.275, allocations: 97.42 kB / 1.388 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004806/1.275, allocations: 430.7 kB / 1.389 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/1.275, allocations: 0 / 1.389 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.042e-05/1.275, allocations: 19.25 kB / 1.389 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002756/1.276, allocations: 424.7 kB / 1.389 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/1.276, allocations: 377.7 kB / 1.39 GB, free: 26.01 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/1.276, allocations: 7.938 kB / 1.39 GB, free: 26 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/1.276, allocations: 3.984 kB / 1.39 GB, free: 26 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/1.276, allocations: 7.797 kB / 1.39 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/1.276, allocations: 0.6945 MB / 1.39 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/1.277, allocations: 0.5503 MB / 1.391 GB, free: 25.45 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/1.277, allocations: 323.5 kB / 1.391 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007319/1.278, allocations: 1.036 MB / 1.392 GB, free: 24.23 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002531/1.278, allocations: 399.5 kB / 1.393 GB, free: 24.1 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/1.278, allocations: 4 kB / 1.393 GB, free: 24.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0007249/1.279, allocations: 0.9657 MB / 1.394 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/1.279, allocations: 83.45 kB / 1.394 GB, free: 23.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007331/1.28, allocations: 1.002 MB / 1.395 GB, free: 23.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.948e-05/1.28, allocations: 33.83 kB / 1.395 GB, free: 23.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/1.28, allocations: 251.1 kB / 1.395 GB, free: 23.22 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/1.28, allocations: 27.08 kB / 1.395 GB, free: 23.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/1.28, allocations: 0 / 1.395 GB, free: 23.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.28, allocations: 421.1 kB / 1.395 GB, free: 22.85 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008528/1.281, allocations: 1.186 MB / 1.396 GB, free: 22.74 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009682/1.282, allocations: 1.332 MB / 1.398 GB, free: 22.56 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/1.283, allocations: 1.584 MB / 1.399 GB, free: 22.08 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.283, allocations: 0 / 1.399 GB, free: 22.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003135/1.286, allocations: 3.377 MB / 1.403 GB, free: 21.04 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/1.286, allocations: 7.688 kB / 1.403 GB, free: 21.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/1.286, allocations: 0 / 1.403 GB, free: 21.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/1.286, allocations: 7.719 kB / 1.403 GB, free: 21.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000652/1.287, allocations: 145.2 kB / 1.403 GB, free: 21.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/1.287, allocations: 3.812 kB / 1.403 GB, free: 21.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005233/1.288, allocations: 226.6 kB / 1.403 GB, free: 20.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.918e-05/1.288, allocations: 57.7 kB / 1.403 GB, free: 20.82 MB / 0.8386 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 () * 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.0001381/1.288, allocations: 119.8 kB / 1.403 GB, free: 20.7 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005939/1.288, allocations: 0.9478 MB / 1.404 GB, free: 20.11 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/1.288, allocations: 70.81 kB / 1.404 GB, free: 20.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000663/1.289, allocations: 0.9249 MB / 1.405 GB, free: 19.13 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.289, allocations: 3.984 kB / 1.405 GB, free: 19.12 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.289, allocations: 0 / 1.405 GB, free: 19.12 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.289, allocations: 4 kB / 1.405 GB, free: 19.12 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/1.289, allocations: 470.2 kB / 1.405 GB, free: 18.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.289, allocations: 7.938 kB / 1.405 GB, free: 18.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.645e-05/1.29, allocations: 7.984 kB / 1.405 GB, free: 18.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/1.29, allocations: 32 / 1.405 GB, free: 18.69 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/1.29, allocations: 11.69 kB / 1.405 GB, free: 18.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.29, allocations: 0 / 1.405 GB, free: 18.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/1.29, allocations: 3.984 kB / 1.405 GB, free: 18.68 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000561/1.29, allocations: 0.9969 MB / 1.406 GB, free: 17.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.087e-05/1.29, allocations: 147.9 kB / 1.407 GB, free: 17.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.892e-05/1.29, allocations: 11.98 kB / 1.407 GB, free: 17.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/1.29, allocations: 8 kB / 1.407 GB, free: 17.49 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/1.29, allocations: 11.73 kB / 1.407 GB, free: 17.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/1.29, allocations: 7.984 kB / 1.407 GB, free: 17.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000466/1.291, allocations: 0.5918 MB / 1.407 GB, free: 16.99 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.291, allocations: 0 / 1.407 GB, free: 16.99 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001405/1.292, allocations: 488.6 kB / 1.408 GB, free: 16.53 MB / 0.8386 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) * 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.002303/1.295, allocations: 2.082 MB / 1.41 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001876/1.297, allocations: 2.323 MB / 1.412 GB, free: 12.92 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.297, allocations: 4 kB / 1.412 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002645/1.297, allocations: 335.3 kB / 1.412 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/1.297, allocations: 37.17 kB / 1.412 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/1.299, allocations: 1.777 MB / 1.414 GB, free: 10.78 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004947/1.3, allocations: 0.9884 MB / 1.415 GB, free: 9.77 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000194/1.3, allocations: 55.38 kB / 1.415 GB, free: 9.719 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/1.3, allocations: 272.3 kB / 1.415 GB, free: 9.664 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.3, allocations: 0 / 1.415 GB, free: 9.664 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04245/1.343, allocations: 16.09 MB / 1.431 GB, free: 9.609 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/1.343, allocations: 230.9 kB / 1.431 GB, free: 9.324 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.463/3.806, allocations: 6.562 kB / 1.431 GB, free: 9.32 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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_1borehole_5meters_res.mat does not exist to compare? outputFormat=mat