Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.209/2.209, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001031/0.001031, allocations: 186.5 kB / 0.4902 GB, free: 2.211 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.443/1.443, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.0009066/0.0009062, allocations: 89.09 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003447, allocations: 11.41 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2806, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1804/0.4611, allocations: 151.5 MB / 1.377 GB, free: 1.871 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003428/0.4615, allocations: 111.9 kB / 1.377 GB, free: 1.762 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009028/0.4705, allocations: 1.561 MB / 1.379 GB, free: 204 kB / 0.8698 GB Notification: Performance of FrontEnd: time 3.296e-06/0.4705, allocations: 0 / 1.379 GB, free: 204 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.4706, allocations: 4 kB / 1.379 GB, free: 200 kB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003794/0.4709, allocations: 336.2 kB / 1.379 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.471, allocations: 12.52 kB / 1.379 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.713e-05/0.471, allocations: 34.56 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.302e-05/0.4711, allocations: 3.906 kB / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.4712, allocations: 175 kB / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.4712, allocations: 8 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.4713, allocations: 3.938 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.4714, allocations: 37.69 kB / 1.38 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.4714, allocations: 0 / 1.38 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.4714, allocations: 11.92 kB / 1.38 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.4714, allocations: 0 / 1.38 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.674e-05/0.4715, allocations: 15.98 kB / 1.38 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.4717, allocations: 161.6 kB / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.219e-05/0.4717, allocations: 38.61 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00062/0.4724, allocations: 153.1 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.4724, allocations: 38.55 kB / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.4724, allocations: 0 / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.00017/0.4726, allocations: 61.59 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.4726, allocations: 51.41 kB / 1.38 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.097e-05/0.4727, allocations: 93 kB / 1.38 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.4727, allocations: 25.7 kB / 1.38 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.476e-05/0.4728, allocations: 84.14 kB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.4728, allocations: 11.89 kB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.4728, allocations: 0 / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.4729, allocations: 314.8 kB / 1.381 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.32e-05/0.473, allocations: 8 kB / 1.381 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.549e-05/0.473, allocations: 19.88 kB / 1.381 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.527e-05/0.473, allocations: 7.984 kB / 1.381 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.473, allocations: 0 / 1.381 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.892e-05/0.4731, allocations: 57.59 kB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.4731, allocations: 4 kB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4732, allocations: 0 / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.4732, allocations: 4 kB / 1.381 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.95e-05/0.4732, allocations: 4.25 kB / 1.381 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.4732, allocations: 0 / 1.381 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.89e-05/0.4733, allocations: 8 kB / 1.381 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.4733, allocations: 4 kB / 1.381 GB, free: 14.21 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 8.441e-05/0.4734, allocations: 109.8 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/0.4734, allocations: 7.938 kB / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.4735, allocations: 69.11 kB / 1.381 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.4735, allocations: 0 / 1.381 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.4736, allocations: 4 kB / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4736, allocations: 0 / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.4737, allocations: 161.5 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.4737, allocations: 7.984 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.218e-05/0.4738, allocations: 12 kB / 1.381 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4738, allocations: 0 / 1.381 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.4738, allocations: 4.375 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4738, allocations: 0 / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4738, allocations: 0 / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.4739, allocations: 78.73 kB / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.474, allocations: 96.98 kB / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.474, allocations: 0 / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.397e-05/0.474, allocations: 4 kB / 1.381 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.474, allocations: 4 kB / 1.381 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.4741, allocations: 0 / 1.381 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.36e-05/0.4741, allocations: 87.27 kB / 1.381 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4741, allocations: 0 / 1.381 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002202/0.4743, allocations: 24 kB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0005566/0.4749, allocations: 0.6598 MB / 1.382 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.403e-05/0.475, allocations: 19.98 kB / 1.382 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.475, allocations: 0 / 1.382 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.315e-05/0.4751, allocations: 12 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.4752, allocations: 11.98 kB / 1.382 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.4756, allocations: 172.2 kB / 1.382 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.4759, allocations: 0.6809 MB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.85e-05/0.4759, allocations: 8.359 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/0.476, allocations: 15.44 kB / 1.383 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of SimCode: time 3.21e-07/0.476, allocations: 0 / 1.383 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.4925, allocations: 1.848 MB / 1.385 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003664/0.4929, allocations: 275.9 kB / 1.385 GB, free: 9.809 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.526/2.019, allocations: 0 / 1.385 GB, free: 9.809 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_SteadyState_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_SteadyState.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState_res.mat does not exist to compare? outputFormat=mat