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.278/2.278, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001271/0.001271, allocations: 172.8 kB / 487.4 MB, free: 5.051 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.52/1.52, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 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.0009508/0.0009506, allocations: 91.95 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.125e-05/2.126e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2674, allocations: 142.4 MB / 1.206 GB, free: 43.79 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.978/1.246, allocations: 168.1 MB / 1.37 GB, free: 18.12 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/1.246, allocations: 114.4 kB / 1.37 GB, free: 18.12 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09225/1.338, allocations: 29.9 MB / 1.4 GB, free: 23.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.293e-06/1.338, allocations: 3.938 kB / 1.4 GB, free: 23.42 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.825e-05/1.338, allocations: 15.38 kB / 1.4 GB, free: 23.42 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.001979/1.34, allocations: 1.045 MB / 1.401 GB, free: 22.62 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.34, allocations: 7.812 kB / 1.401 GB, free: 22.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003403/1.341, allocations: 112.7 kB / 1.401 GB, free: 22.55 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005224/1.341, allocations: 467.1 kB / 1.401 GB, free: 22.22 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/1.341, allocations: 3.719 kB / 1.401 GB, free: 22.22 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.134e-05/1.341, allocations: 23.08 kB / 1.401 GB, free: 22.22 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002543/1.341, allocations: 420.6 kB / 1.402 GB, free: 22.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/1.342, allocations: 382.9 kB / 1.402 GB, free: 22.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/1.342, allocations: 0 / 1.402 GB, free: 22.05 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/1.342, allocations: 11.55 kB / 1.402 GB, free: 22.05 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/1.342, allocations: 3.953 kB / 1.402 GB, free: 22.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005096/1.342, allocations: 0.7151 MB / 1.403 GB, free: 21.62 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003132/1.343, allocations: 0.5527 MB / 1.403 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/1.343, allocations: 327.8 kB / 1.403 GB, free: 21.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007509/1.344, allocations: 1.037 MB / 1.405 GB, free: 19.97 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/1.344, allocations: 394.7 kB / 1.405 GB, free: 19.58 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/1.344, allocations: 0 / 1.405 GB, free: 19.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0007074/1.345, allocations: 0.9783 MB / 1.406 GB, free: 18.61 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/1.345, allocations: 77.11 kB / 1.406 GB, free: 18.52 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007878/1.345, allocations: 1.061 MB / 1.407 GB, free: 17.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/1.345, allocations: 25.7 kB / 1.407 GB, free: 17.64 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/1.346, allocations: 291.4 kB / 1.407 GB, free: 17.43 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/1.346, allocations: 19.03 kB / 1.407 GB, free: 17.42 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/1.346, allocations: 0 / 1.407 GB, free: 17.42 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000168/1.346, allocations: 427 kB / 1.408 GB, free: 17.04 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008861/1.347, allocations: 1.194 MB / 1.409 GB, free: 16.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009449/1.348, allocations: 1.323 MB / 1.41 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/1.349, allocations: 1.587 MB / 1.412 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.349, allocations: 0 / 1.412 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003735/1.353, allocations: 3.383 MB / 1.415 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/1.353, allocations: 8 kB / 1.415 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/1.353, allocations: 0 / 1.415 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/1.353, allocations: 7.938 kB / 1.415 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006563/1.354, allocations: 146.1 kB / 1.415 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/1.354, allocations: 4 kB / 1.415 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005473/1.354, allocations: 232.3 kB / 1.415 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.538e-05/1.354, allocations: 58.11 kB / 1.415 GB, free: 11.21 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.0001481/1.355, allocations: 116.8 kB / 1.416 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007745/1.355, allocations: 0.9606 MB / 1.416 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/1.355, allocations: 74.67 kB / 1.417 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009907/1.356, allocations: 0.9357 MB / 1.417 GB, free: 9.141 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/1.356, allocations: 0 / 1.417 GB, free: 9.141 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.356, allocations: 4 kB / 1.417 GB, free: 9.137 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/1.356, allocations: 0 / 1.417 GB, free: 9.137 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/1.357, allocations: 0.4926 MB / 1.418 GB, free: 8.703 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.357, allocations: 0 / 1.418 GB, free: 8.703 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.06e-05/1.357, allocations: 4 kB / 1.418 GB, free: 8.699 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/1.357, allocations: 4 kB / 1.418 GB, free: 8.695 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/1.357, allocations: 7.984 kB / 1.418 GB, free: 8.688 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/1.357, allocations: 4.031 kB / 1.418 GB, free: 8.684 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.357, allocations: 4.234 kB / 1.418 GB, free: 8.68 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009322/1.358, allocations: 1.013 MB / 1.419 GB, free: 7.664 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/1.358, allocations: 159.8 kB / 1.419 GB, free: 7.488 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.786e-05/1.358, allocations: 4 kB / 1.419 GB, free: 7.484 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/1.358, allocations: 8 kB / 1.419 GB, free: 7.477 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/1.358, allocations: 3.984 kB / 1.419 GB, free: 7.473 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-05/1.359, allocations: 15.8 kB / 1.419 GB, free: 7.461 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006784/1.359, allocations: 0.641 MB / 1.42 GB, free: 6.945 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.359, allocations: 3.938 kB / 1.42 GB, free: 6.941 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002035/1.361, allocations: 492.2 kB / 1.42 GB, free: 6.477 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.003248/1.365, allocations: 2.179 MB / 1.422 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002173/1.367, allocations: 2.322 MB / 1.425 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.367, allocations: 7.938 kB / 1.425 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002779/1.367, allocations: 333.9 kB / 1.425 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/1.367, allocations: 59.77 kB / 1.425 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/1.37, allocations: 1.837 MB / 1.427 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006181/1.371, allocations: 1.008 MB / 1.428 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002122/1.371, allocations: 59.27 kB / 1.428 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/1.371, allocations: 297.4 kB / 1.428 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of SimCode: time 3.2e-07/1.371, allocations: 0 / 1.428 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04193/1.413, allocations: 17.93 MB / 1.446 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002425/1.414, allocations: 256 kB / 1.446 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.573/3.987, allocations: 0 / 1.446 GB, free: 13.24 MB / 0.8698 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