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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001216/0.001215, allocations: 168.7 kB / 15.95 MB, free: 204 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.353/1.353, allocations: 223.2 MB / 240 MB, free: 5.328 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.411/2.411, allocations: 390.4 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.000347, allocations: 12 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7106/0.711, allocations: 142.3 MB / 0.9539 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001243/0.7122, allocations: 1.114 MB / 0.955 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003447/0.7157, allocations: 2.813 MB / 0.9577 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.401e-05/0.7158, allocations: 1.094 kB / 0.9577 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.784e-05/0.7159, allocations: 9.078 kB / 0.9577 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.7161, allocations: 35.41 kB / 0.9578 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.7178, allocations: 0.7515 MB / 0.9585 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.7179, allocations: 92.19 kB / 0.9586 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.7179, allocations: 6.859 kB / 0.9586 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.652e-05/0.718, allocations: 35.23 kB / 0.9586 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.7182, allocations: 176.8 kB / 0.9588 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.43e-05/0.7183, allocations: 12.56 kB / 0.9588 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.72, allocations: 1.305 MB / 0.9601 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.7202, allocations: 257.2 kB / 0.9603 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.265e-05/0.7203, allocations: 114.7 kB / 0.9604 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.7214, allocations: 0.9707 MB / 0.9614 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7214, allocations: 1.094 kB / 0.9614 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.354e-06/0.7214, allocations: 0 / 0.9614 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.7214, allocations: 0 / 0.9614 GB, free: 2.953 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.006697/0.7281, allocations: 1.171 MB / 0.9625 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.7282, allocations: 9.062 kB / 0.9625 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.7282, allocations: 41.91 kB / 0.9626 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002899/0.7285, allocations: 98.5 kB / 0.9627 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.7288, allocations: 347.2 kB / 0.963 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.7288, allocations: 14.05 kB / 0.963 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.7289, allocations: 4.812 kB / 0.963 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004251/0.7293, allocations: 382.4 kB / 0.9634 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.7293, allocations: 0 / 0.9634 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.7294, allocations: 1.125 kB / 0.9634 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.7294, allocations: 5.031 kB / 0.9634 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004453/0.7298, allocations: 442.1 kB / 0.9638 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.7303, allocations: 0.6318 MB / 0.9644 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005562/0.7309, allocations: 0.565 MB / 0.965 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/0.7312, allocations: 332.6 kB / 0.9653 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008304/0.7321, allocations: 1.041 MB / 0.9663 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004271/0.7325, allocations: 402.7 kB / 0.9667 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.723e-06/0.7325, allocations: 0 / 0.9667 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001408/0.7339, allocations: 1.286 MB / 0.968 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.734, allocations: 84.45 kB / 0.968 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.7353, allocations: 1.199 MB / 0.9692 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.7353, allocations: 31.08 kB / 0.9692 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.7355, allocations: 256.6 kB / 0.9695 GB, free: 14 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.7355, allocations: 31.56 kB / 0.9695 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.7356, allocations: 1.438 kB / 0.9695 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.7357, allocations: 418.1 kB / 0.9699 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.737, allocations: 1.359 MB / 0.9712 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/0.7385, allocations: 1.498 MB / 0.9727 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.7401, allocations: 1.899 MB / 0.9746 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7401, allocations: 0 / 0.9746 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003775/0.7439, allocations: 3.938 MB / 0.9784 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.7439, allocations: 12 kB / 0.9784 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.744, allocations: 3.938 kB / 0.9784 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.744, allocations: 0 / 0.9784 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.7441, allocations: 19.92 kB / 0.9784 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.7441, allocations: 4 kB / 0.9784 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005504/0.7447, allocations: 228.2 kB / 0.9787 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.044e-05/0.7447, allocations: 23.98 kB / 0.9787 GB, free: 6.148 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.000297/0.745, allocations: 241.6 kB / 0.9789 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-05/0.7451, allocations: 70.78 kB / 0.979 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.7454, allocations: 74.83 kB / 0.9791 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.7454, allocations: 4 kB / 0.9791 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.7454, allocations: 0 / 0.9791 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.7454, allocations: 0 / 0.9791 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004421/0.7459, allocations: 0.4889 MB / 0.9795 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.7459, allocations: 32 / 0.9795 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.605e-05/0.7459, allocations: 15.98 kB / 0.9795 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.7459, allocations: 0 / 0.9795 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.746, allocations: 4 kB / 0.9796 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.746, allocations: 4 kB / 0.9796 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.746, allocations: 3.984 kB / 0.9796 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008582/0.7468, allocations: 1.002 MB / 0.9805 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.747, allocations: 155.9 kB / 0.9807 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.711e-05/0.747, allocations: 0 / 0.9807 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.7472, allocations: 11.98 kB / 0.9807 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.7472, allocations: 4 kB / 0.9807 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.763e-05/0.7472, allocations: 15.97 kB / 0.9807 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006792/0.7479, allocations: 0.6531 MB / 0.9814 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7479, allocations: 4 kB / 0.9814 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001171/0.7491, allocations: 395.9 kB / 0.9817 GB, free: 2.898 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.002271/0.7514, allocations: 1.927 MB / 0.9836 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002106/0.7535, allocations: 2.488 MB / 0.986 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7535, allocations: 0 / 0.986 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003248/0.7538, allocations: 347.8 kB / 0.9864 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.7541, allocations: 36.48 kB / 0.9864 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009642/0.7638, allocations: 9.58 MB / 0.9958 GB, free: 4.387 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.7643, allocations: 0.9643 MB / 0.9967 GB, free: 3.395 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001881/0.7645, allocations: 32.55 kB / 0.9967 GB, free: 3.359 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/0.7648, allocations: 263.3 kB / 0.997 GB, free: 3.102 MB / 0.7481 GB Notification: Performance of SimCode: time 7.21e-07/0.7648, allocations: 0 / 0.997 GB, free: 3.102 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/0.7984, allocations: 18.6 MB / 1.015 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/0.7986, allocations: 272.5 kB / 1.015 GB, free: 400 kB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/3.03, allocations: 4 kB / 1.015 GB, free: 396 kB / 0.7637 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