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.001105/0.001105, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001105/0.001105, allocations: 193.5 kB / 16.14 MB, free: 6.645 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.327/1.327, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.332/2.332, allocations: 390.2 MB / 0.6643 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 63.91 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6482/0.6496, allocations: 140.4 MB / 0.9491 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002133/0.6518, allocations: 1.46 MB / 0.9505 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003856/0.6557, allocations: 3.22 MB / 0.9537 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.455e-05/0.6557, allocations: 1.344 kB / 0.9537 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.6559, allocations: 7.938 kB / 0.9537 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.6561, allocations: 28.12 kB / 0.9537 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.6577, allocations: 0.7781 MB / 0.9545 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.6578, allocations: 102.5 kB / 0.9546 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.6579, allocations: 14.95 kB / 0.9546 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.5e-05/0.6579, allocations: 40.08 kB / 0.9546 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002547/0.6582, allocations: 226 kB / 0.9548 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.6582, allocations: 12.38 kB / 0.9548 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001785/0.66, allocations: 1.404 MB / 0.9562 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000595/0.6606, allocations: 0.678 MB / 0.9569 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003469/0.661, allocations: 440.5 kB / 0.9573 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001965/0.6629, allocations: 1.778 MB / 0.959 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.663, allocations: 0 / 0.959 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/0.663, allocations: 1.062 kB / 0.959 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.663, allocations: 0 / 0.959 GB, free: 2.441 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.007938/0.6709, allocations: 1.689 MB / 0.9607 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.671, allocations: 17.42 kB / 0.9607 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.344e-05/0.671, allocations: 39.92 kB / 0.9607 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004094/0.6714, allocations: 140.6 kB / 0.9609 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.6719, allocations: 0.5229 MB / 0.9614 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.6719, allocations: 7.703 kB / 0.9614 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.672, allocations: 4.719 kB / 0.9614 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004495/0.6724, allocations: 394.8 kB / 0.9618 GB, free: 408 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.6724, allocations: 0 / 0.9618 GB, free: 408 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.6724, allocations: 5.125 kB / 0.9618 GB, free: 404 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.6725, allocations: 1.062 kB / 0.9618 GB, free: 404 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004679/0.6729, allocations: 434.2 kB / 0.9622 GB, free: 332 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000755/0.6737, allocations: 0.799 MB / 0.963 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006238/0.6743, allocations: 0.5703 MB / 0.9635 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003256/0.6747, allocations: 336.1 kB / 0.9638 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009998/0.6757, allocations: 1.039 MB / 0.9649 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004246/0.6761, allocations: 407.8 kB / 0.9652 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.6761, allocations: 0 / 0.9652 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.00142/0.6775, allocations: 1.346 MB / 0.9666 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.6776, allocations: 80.52 kB / 0.9666 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/0.6794, allocations: 1.846 MB / 0.9684 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.6795, allocations: 26.55 kB / 0.9685 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003369/0.6798, allocations: 480.6 kB / 0.9689 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.6799, allocations: 20.17 kB / 0.9689 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003208/0.6802, allocations: 347.6 kB / 0.9693 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.575e-05/0.6803, allocations: 305.2 kB / 0.9696 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.6816, allocations: 1.514 MB / 0.971 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.6829, allocations: 1.644 MB / 0.9727 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006894/0.6898, allocations: 3.694 MB / 0.9763 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.6898, allocations: 4 kB / 0.9763 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004181/0.694, allocations: 4.323 MB / 0.9805 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.6941, allocations: 7.938 kB / 0.9805 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.6941, allocations: 0 / 0.9805 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.6941, allocations: 4 kB / 0.9805 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.6942, allocations: 15.98 kB / 0.9805 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.6943, allocations: 0 / 0.9805 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006467/0.6949, allocations: 232.3 kB / 0.9807 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/0.695, allocations: 23.98 kB / 0.9808 GB, free: 0.9609 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 (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.0004458/0.6954, allocations: 365.5 kB / 0.9811 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.82e-05/0.6955, allocations: 130 kB / 0.9812 GB, free: 476 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/0.6959, allocations: 141.1 kB / 0.9814 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.6959, allocations: 4.031 kB / 0.9814 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.6959, allocations: 4 kB / 0.9814 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.6959, allocations: 0 / 0.9814 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006055/0.6965, allocations: 0.6756 MB / 0.982 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6965, allocations: 3.938 kB / 0.982 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-05/0.6966, allocations: 7.984 kB / 0.982 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.6966, allocations: 4 kB / 0.982 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.6966, allocations: 4 kB / 0.982 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.6966, allocations: 0 / 0.982 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.6966, allocations: 7.875 kB / 0.9821 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008695/0.6975, allocations: 1.055 MB / 0.9831 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.6977, allocations: 199.1 kB / 0.9833 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.332e-05/0.6978, allocations: 0 / 0.9833 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.698, allocations: 7.984 kB / 0.9833 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.698, allocations: 12 kB / 0.9833 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-05/0.6981, allocations: 15.97 kB / 0.9833 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001119/0.6992, allocations: 1.104 MB / 0.9844 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6992, allocations: 0 / 0.9844 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001238/0.7005, allocations: 435.8 kB / 0.9848 GB, free: 12.66 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.002256/0.7027, allocations: 1.974 MB / 0.9867 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002165/0.7049, allocations: 2.659 MB / 0.9893 GB, free: 7.984 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.7049, allocations: 0 / 0.9893 GB, free: 7.984 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003064/0.7052, allocations: 347.7 kB / 0.9897 GB, free: 7.645 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.7057, allocations: 42.55 kB / 0.9897 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2692/0.9748, allocations: 36.61 MB / 1.025 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009026/0.9758, allocations: 1.161 MB / 1.027 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002794/0.9761, allocations: 36.55 kB / 1.027 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004902/0.9766, allocations: 427.3 kB / 1.027 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of SimCode: time 1.202e-06/0.9766, allocations: 0 / 1.027 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09316/1.07, allocations: 59.37 MB / 1.085 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000247/1.07, allocations: 289.8 kB / 1.085 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.708/3.778, allocations: 8.203 kB / 1.085 GB, free: 5.523 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