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/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_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.247/2.247, allocations: 387.4 MB / 394.9 MB, free: 13.32 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.001027/0.001027, allocations: 184.8 kB / 487.4 MB, free: 5.02 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.543/1.543, allocations: 221.5 MB / 0.7824 GB, free: 0.8984 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.000895/0.0008949, allocations: 103.8 kB / 0.9219 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.028e-05/2.031e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.258, allocations: 142.4 MB / 1.206 GB, free: 43.78 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8415/1.1, allocations: 163.6 MB / 1.366 GB, free: 18.19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/1.1, allocations: 115.9 kB / 1.366 GB, free: 18.19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09416/1.194, allocations: 25.17 MB / 1.391 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.472e-06/1.194, allocations: 0 / 1.391 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.28e-05/1.194, allocations: 22.66 kB / 1.391 GB, free: 26.09 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.002153/1.196, allocations: 1.339 MB / 1.392 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/1.196, allocations: 11.47 kB / 1.392 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003799/1.197, allocations: 167.9 kB / 1.392 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007729/1.198, allocations: 0.642 MB / 1.393 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/1.198, allocations: 0 / 1.393 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.669e-05/1.198, allocations: 26.88 kB / 1.393 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002555/1.198, allocations: 427.6 kB / 1.393 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/1.198, allocations: 375 kB / 1.393 GB, free: 24.42 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/1.198, allocations: 4 kB / 1.393 GB, free: 24.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/1.198, allocations: 3.984 kB / 1.393 GB, free: 24.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/1.198, allocations: 11.75 kB / 1.393 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007134/1.199, allocations: 0.9268 MB / 1.394 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/1.199, allocations: 0.5559 MB / 1.395 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/1.199, allocations: 326.5 kB / 1.395 GB, free: 23.71 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007361/1.2, allocations: 1.037 MB / 1.396 GB, free: 22.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000236/1.2, allocations: 403 kB / 1.397 GB, free: 22.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.733e-06/1.2, allocations: 0 / 1.397 GB, free: 22.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0007001/1.201, allocations: 1.023 MB / 1.398 GB, free: 22.16 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/1.201, allocations: 80.92 kB / 1.398 GB, free: 22.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/1.202, allocations: 1.528 MB / 1.399 GB, free: 21.56 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.708e-05/1.202, allocations: 29.55 kB / 1.399 GB, free: 21.53 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/1.203, allocations: 485.4 kB / 1.4 GB, free: 21.34 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/1.203, allocations: 15.42 kB / 1.4 GB, free: 21.33 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.346e-05/1.203, allocations: 3.844 kB / 1.4 GB, free: 21.33 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.203, allocations: 409 kB / 1.4 GB, free: 21 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/1.204, allocations: 1.451 MB / 1.401 GB, free: 20.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/1.205, allocations: 1.586 MB / 1.403 GB, free: 20.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/1.207, allocations: 1.845 MB / 1.405 GB, free: 19.22 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/1.207, allocations: 0 / 1.405 GB, free: 19.22 MB / 0.8386 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003486/1.21, allocations: 3.96 MB / 1.409 GB, free: 16.08 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.21, allocations: 4 kB / 1.409 GB, free: 16.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.523e-05/1.21, allocations: 20 kB / 1.409 GB, free: 16.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/1.21, allocations: 8.031 kB / 1.409 GB, free: 16.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/1.211, allocations: 149.8 kB / 1.409 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/1.211, allocations: 3.938 kB / 1.409 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007471/1.212, allocations: 236.3 kB / 1.409 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.525e-05/1.212, allocations: 94.11 kB / 1.409 GB, free: 15.59 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.0001289/1.212, allocations: 116.8 kB / 1.409 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007178/1.213, allocations: 1.013 MB / 1.41 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.53e-05/1.213, allocations: 126.1 kB / 1.41 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009339/1.214, allocations: 0.9849 MB / 1.411 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/1.214, allocations: 0 / 1.411 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.214, allocations: 0 / 1.411 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/1.214, allocations: 0 / 1.411 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005931/1.214, allocations: 0.6588 MB / 1.412 GB, free: 12.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/1.214, allocations: 3.938 kB / 1.412 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.654e-05/1.214, allocations: 15.92 kB / 1.412 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/1.214, allocations: 0 / 1.412 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/1.214, allocations: 4.031 kB / 1.412 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/1.214, allocations: 4 kB / 1.412 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.214, allocations: 3.984 kB / 1.412 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008408/1.215, allocations: 1.055 MB / 1.413 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/1.215, allocations: 207.1 kB / 1.413 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/1.216, allocations: 4 kB / 1.413 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/1.216, allocations: 4 kB / 1.413 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/1.216, allocations: 7.984 kB / 1.413 GB, free: 11.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/1.216, allocations: 15.92 kB / 1.413 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0009488/1.217, allocations: 1.009 MB / 1.414 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2e-07/1.217, allocations: 0 / 1.414 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00151/1.218, allocations: 0.5076 MB / 1.415 GB, free: 10.12 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.002564/1.221, allocations: 2.143 MB / 1.417 GB, free: 7.992 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001896/1.223, allocations: 2.48 MB / 1.419 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.223, allocations: 0 / 1.419 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002632/1.223, allocations: 334 kB / 1.42 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/1.224, allocations: 65.36 kB / 1.42 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003391/1.227, allocations: 2.529 MB / 1.422 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006825/1.228, allocations: 1.179 MB / 1.423 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003947/1.228, allocations: 130.8 kB / 1.423 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003903/1.229, allocations: 471.8 kB / 1.424 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of SimCode: time 6.91e-07/1.229, allocations: 0 / 1.424 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04522/1.274, allocations: 22.93 MB / 1.446 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/1.274, allocations: 220.2 kB / 1.446 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.845/4.119, allocations: 1.203 kB / 1.446 GB, free: 10.79 MB / 0.8698 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/linux/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