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.335/2.335, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001765/0.001764, allocations: 190.9 kB / 492.3 MB, free: 0.6055 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.825/1.825, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.001064/0.001064, allocations: 106.6 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.93e-05/3.932e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2792, allocations: 142.3 MB / 1.213 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9485/1.228, allocations: 168.7 MB / 1.377 GB, free: 18.38 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/1.228, allocations: 114.3 kB / 1.377 GB, free: 18.35 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09784/1.326, allocations: 30.12 MB / 1.407 GB, free: 18.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.332e-06/1.326, allocations: 0 / 1.407 GB, free: 18.43 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.919e-05/1.326, allocations: 16 kB / 1.407 GB, free: 18.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.002202/1.328, allocations: 1.054 MB / 1.408 GB, free: 17.38 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/1.328, allocations: 8.031 kB / 1.408 GB, free: 17.37 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.022e-05/1.328, allocations: 30.56 kB / 1.408 GB, free: 17.33 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000343/1.329, allocations: 110.6 kB / 1.408 GB, free: 17.22 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006699/1.329, allocations: 469.6 kB / 1.408 GB, free: 16.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/1.329, allocations: 23.06 kB / 1.408 GB, free: 16.74 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.803e-05/1.33, allocations: 36.5 kB / 1.409 GB, free: 16.71 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/1.33, allocations: 381.6 kB / 1.409 GB, free: 16.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/1.33, allocations: 0 / 1.409 GB, free: 16.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/1.33, allocations: 3.312 kB / 1.409 GB, free: 16.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/1.33, allocations: 7.953 kB / 1.409 GB, free: 16.33 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002707/1.33, allocations: 431.1 kB / 1.409 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007074/1.331, allocations: 0.769 MB / 1.41 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005474/1.331, allocations: 0.558 MB / 1.411 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/1.332, allocations: 333.1 kB / 1.411 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/1.333, allocations: 1.04 MB / 1.412 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005885/1.334, allocations: 391.2 kB / 1.412 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 3.377e-06/1.334, allocations: 3.938 kB / 1.412 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.001542/1.335, allocations: 0.9745 MB / 1.413 GB, free: 11.72 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/1.335, allocations: 89 kB / 1.413 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/1.336, allocations: 1.119 MB / 1.414 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.476e-05/1.336, allocations: 39.7 kB / 1.414 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/1.337, allocations: 298 kB / 1.415 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/1.337, allocations: 23.52 kB / 1.415 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/1.337, allocations: 12.75 kB / 1.415 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000209/1.337, allocations: 424.2 kB / 1.415 GB, free: 10.08 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/1.338, allocations: 1.21 MB / 1.416 GB, free: 9.289 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/1.34, allocations: 1.342 MB / 1.418 GB, free: 8.395 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/1.341, allocations: 1.602 MB / 1.419 GB, free: 7.199 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/1.341, allocations: 0 / 1.419 GB, free: 7.199 MB / 0.8386 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.0044/1.346, allocations: 3.424 MB / 1.423 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/1.346, allocations: 7.938 kB / 1.423 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/1.346, allocations: 4 kB / 1.423 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/1.346, allocations: 8.031 kB / 1.423 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007178/1.347, allocations: 142.1 kB / 1.423 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.1e-05/1.347, allocations: 11.92 kB / 1.423 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007367/1.347, allocations: 245.9 kB / 1.423 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/1.348, allocations: 55.42 kB / 1.423 GB, free: 4.164 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.0001719/1.348, allocations: 130.3 kB / 1.423 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.968e-05/1.348, allocations: 74.69 kB / 1.423 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/1.349, allocations: 0.9463 MB / 1.424 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/1.349, allocations: 4 kB / 1.424 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.349, allocations: 0 / 1.424 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/1.349, allocations: 0 / 1.424 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/1.349, allocations: 0.5118 MB / 1.425 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/1.349, allocations: 4 kB / 1.425 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.24e-05/1.35, allocations: 7.984 kB / 1.425 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/1.35, allocations: 0 / 1.425 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/1.35, allocations: 7.188 kB / 1.425 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/1.35, allocations: 32 / 1.425 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.35, allocations: 4 kB / 1.425 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009515/1.351, allocations: 1.013 MB / 1.426 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/1.351, allocations: 159.7 kB / 1.426 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.822e-05/1.351, allocations: 0 / 1.426 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/1.351, allocations: 11.92 kB / 1.426 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/1.351, allocations: 15.8 kB / 1.426 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.113e-05/1.351, allocations: 11.98 kB / 1.426 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.00084/1.352, allocations: 0.6982 MB / 1.427 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.61e-07/1.352, allocations: 0 / 1.427 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002009/1.354, allocations: 0.4957 MB / 1.427 GB, free: 280 kB / 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.003232/1.357, allocations: 2.175 MB / 1.429 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002293/1.359, allocations: 2.351 MB / 1.431 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.359, allocations: 0 / 1.431 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003275/1.36, allocations: 330.5 kB / 1.432 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/1.36, allocations: 63.59 kB / 1.432 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00302/1.363, allocations: 1.85 MB / 1.434 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006757/1.364, allocations: 1.008 MB / 1.435 GB, free: 9.32 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002482/1.364, allocations: 63.28 kB / 1.435 GB, free: 9.258 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/1.364, allocations: 305.9 kB / 1.435 GB, free: 9.191 MB / 0.8542 GB Notification: Performance of SimCode: time 1.142e-06/1.364, allocations: 0 / 1.435 GB, free: 9.191 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04558/1.41, allocations: 19.67 MB / 1.454 GB, free: 5.758 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000361/1.41, allocations: 237.5 kB / 1.454 GB, free: 5.449 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.175/4.586, allocations: 0 / 1.454 GB, free: 5.449 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