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_100boreholes.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_100boreholes,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",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.0008207/0.0008208, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005227/0.005227, allocations: 168.6 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.32/2.32, allocations: 390.9 MB / 0.6664 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004245/0.0004246, allocations: 20 kB / 0.8161 GB, free: 13.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7596/0.7601, allocations: 142.4 MB / 0.9552 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001347/0.7615, allocations: 1.129 MB / 0.9563 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004226/0.7657, allocations: 3.154 MB / 0.9594 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.363e-05/0.7658, allocations: 3.938 kB / 0.9594 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.7659, allocations: 9.797 kB / 0.9594 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.7661, allocations: 31.31 kB / 0.9594 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.768, allocations: 0.7705 MB / 0.9602 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.7681, allocations: 110.7 kB / 0.9603 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.559e-05/0.7682, allocations: 2.75 kB / 0.9603 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.873e-05/0.7683, allocations: 47.02 kB / 0.9603 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000297/0.7686, allocations: 225.6 kB / 0.9605 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.7686, allocations: 13.59 kB / 0.9606 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/0.7706, allocations: 1.399 MB / 0.9619 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006081/0.7712, allocations: 0.6748 MB / 0.9626 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003021/0.7715, allocations: 474.4 kB / 0.963 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.7734, allocations: 1.774 MB / 0.9648 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.7734, allocations: 3.938 kB / 0.9648 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7735, allocations: 0 / 0.9648 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.7735, allocations: 1.031 kB / 0.9648 GB, free: 1.457 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.01107/0.7845, allocations: 1.591 MB / 0.9663 GB, free: 200 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.7846, allocations: 12.72 kB / 0.9663 GB, free: 196 kB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.907e-05/0.7847, allocations: 36.72 kB / 0.9664 GB, free: 152 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003851/0.7851, allocations: 135.3 kB / 0.9665 GB, free: 64 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006163/0.7857, allocations: 0.5236 MB / 0.967 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.7857, allocations: 7.562 kB / 0.967 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.7858, allocations: 4.5 kB / 0.967 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/0.7863, allocations: 391.2 kB / 0.9674 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.7863, allocations: 7.828 kB / 0.9674 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.7863, allocations: 0.9688 kB / 0.9674 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.7863, allocations: 1.125 kB / 0.9674 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004991/0.7868, allocations: 430.2 kB / 0.9678 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008865/0.7877, allocations: 0.8147 MB / 0.9686 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006149/0.7883, allocations: 0.5654 MB / 0.9692 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003811/0.7887, allocations: 332.8 kB / 0.9695 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/0.7898, allocations: 1.046 MB / 0.9705 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004553/0.7902, allocations: 406.7 kB / 0.9709 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.7902, allocations: 3.938 kB / 0.9709 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001519/0.7918, allocations: 1.342 MB / 0.9722 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.7918, allocations: 84.02 kB / 0.9723 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/0.7938, allocations: 1.842 MB / 0.9741 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/0.7938, allocations: 29.7 kB / 0.9741 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000358/0.7942, allocations: 477.3 kB / 0.9746 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.7943, allocations: 23.83 kB / 0.9746 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/0.7945, allocations: 295.6 kB / 0.9749 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.82e-05/0.7946, allocations: 301.1 kB / 0.9752 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.7959, allocations: 1.51 MB / 0.9766 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.7972, allocations: 1.648 MB / 0.9782 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00687/0.8041, allocations: 3.694 MB / 0.9819 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.8042, allocations: 0 / 0.9819 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004663/0.8088, allocations: 4.32 MB / 0.9861 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.8089, allocations: 5.25 kB / 0.9861 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.8089, allocations: 4 kB / 0.9861 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.8089, allocations: 0 / 0.9861 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.8091, allocations: 23.95 kB / 0.9861 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.8091, allocations: 0 / 0.9861 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000802/0.8099, allocations: 236.2 kB / 0.9863 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/0.8099, allocations: 23.98 kB / 0.9864 GB, free: 14.82 MB / 0.7481 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 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005915/0.8105, allocations: 361.6 kB / 0.9867 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.454e-05/0.8106, allocations: 118.1 kB / 0.9868 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003528/0.811, allocations: 153 kB / 0.987 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.811, allocations: 0 / 0.987 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.811, allocations: 0 / 0.987 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.811, allocations: 3.984 kB / 0.987 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006972/0.8117, allocations: 0.6793 MB / 0.9876 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.8117, allocations: 3.938 kB / 0.9876 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.548e-05/0.8118, allocations: 8 kB / 0.9876 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.8118, allocations: 3.984 kB / 0.9876 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.8118, allocations: 0 / 0.9876 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.927e-06/0.8119, allocations: 8.031 kB / 0.9876 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.8119, allocations: 0 / 0.9876 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009461/0.8128, allocations: 1.059 MB / 0.9887 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.813, allocations: 203 kB / 0.9889 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.643e-05/0.8131, allocations: 0 / 0.9889 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.8133, allocations: 8 kB / 0.9889 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.8133, allocations: 7.984 kB / 0.9889 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.322e-05/0.8134, allocations: 15.98 kB / 0.9889 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001217/0.8146, allocations: 1.104 MB / 0.99 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8146, allocations: 0 / 0.99 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001423/0.816, allocations: 435.8 kB / 0.9904 GB, free: 10.52 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002404/0.8184, allocations: 1.978 MB / 0.9923 GB, free: 8.512 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002396/0.8209, allocations: 2.652 MB / 0.9949 GB, free: 5.852 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.8209, allocations: 0 / 0.9949 GB, free: 5.852 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.8212, allocations: 339.7 kB / 0.9952 GB, free: 5.52 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.8217, allocations: 56.12 kB / 0.9953 GB, free: 5.461 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.277/1.099, allocations: 36.61 MB / 1.031 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007533/1.099, allocations: 1.161 MB / 1.032 GB, free: 15.43 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002776/1.1, allocations: 32.55 kB / 1.032 GB, free: 15.39 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004473/1.1, allocations: 427.3 kB / 1.033 GB, free: 14.98 MB / 0.795 GB Notification: Performance of SimCode: time 1.683e-06/1.1, allocations: 0 / 1.033 GB, free: 14.98 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09442/1.195, allocations: 59.19 MB / 1.09 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002402/1.195, allocations: 288.7 kB / 1.091 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.552/3.747, allocations: 1.562 kB / 1.091 GB, free: 3.594 MB / 0.8419 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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_100boreholes_res.mat does not exist to compare? outputFormat=mat