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.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,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",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.342/2.342, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001068/0.001068, allocations: 191.9 kB / 0.4902 GB, free: 2.234 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.655/1.655, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0009185/0.0009185, allocations: 96.19 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004727, allocations: 10.62 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3553, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2004/0.5557, allocations: 155.3 MB / 1.381 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.5561, allocations: 103.9 kB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02505/0.5811, allocations: 9.36 MB / 1.39 GB, free: 4.645 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5812, allocations: 0 / 1.39 GB, free: 4.645 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.5812, allocations: 8 kB / 1.39 GB, free: 4.637 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001012/0.5822, allocations: 0.5141 MB / 1.391 GB, free: 4.074 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.5823, allocations: 8.562 kB / 1.391 GB, free: 4.066 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.5824, allocations: 58.44 kB / 1.391 GB, free: 4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.783e-05/0.5825, allocations: 19.81 kB / 1.391 GB, free: 3.98 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.5827, allocations: 178.8 kB / 1.391 GB, free: 3.766 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.5827, allocations: 19.94 kB / 1.391 GB, free: 3.746 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.084e-05/0.5828, allocations: 23.92 kB / 1.391 GB, free: 3.723 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006149/0.5834, allocations: 329.2 kB / 1.391 GB, free: 3.395 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.5834, allocations: 7.953 kB / 1.391 GB, free: 3.387 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/0.5834, allocations: 8 kB / 1.391 GB, free: 3.379 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.5835, allocations: 4 kB / 1.391 GB, free: 3.375 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004317/0.5878, allocations: 2.922 MB / 1.394 GB, free: 460 kB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005887/0.5884, allocations: 393.1 kB / 1.395 GB, free: 16 kB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007934/0.5892, allocations: 0.4923 MB / 1.395 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001801/0.591, allocations: 1.458 MB / 1.397 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.5911, allocations: 42.55 kB / 1.397 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=43): time 2.615e-06/0.5911, allocations: 0 / 1.397 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of matching and sorting (n=43): time 0.001402/0.5925, allocations: 0.7592 MB / 1.397 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.5925, allocations: 59.39 kB / 1.397 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.5927, allocations: 127.7 kB / 1.397 GB, free: 12.74 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.5927, allocations: 29.7 kB / 1.398 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.5928, allocations: 93.14 kB / 1.398 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.593, allocations: 149.9 kB / 1.398 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.408e-05/0.593, allocations: 4 kB / 1.398 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.5931, allocations: 330.8 kB / 1.398 GB, free: 12.13 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000389/0.5935, allocations: 215.7 kB / 1.398 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.5939, allocations: 209.2 kB / 1.398 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003833/0.5943, allocations: 252.4 kB / 1.399 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.5943, allocations: 0 / 1.399 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008748/0.5952, allocations: 0.5361 MB / 1.399 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.5952, allocations: 4 kB / 1.399 GB, free: 10.92 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.5952, allocations: 4 kB / 1.399 GB, free: 10.92 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.5952, allocations: 3.953 kB / 1.399 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.5956, allocations: 95.89 kB / 1.399 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.5956, allocations: 4 kB / 1.399 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.269e-05/0.5957, allocations: 27.78 kB / 1.399 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-05/0.5957, allocations: 19.98 kB / 1.399 GB, free: 10.77 MB / 0.9011 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 (43): * Single equations (assignments): 43 * 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 0.000204/0.596, allocations: 161.8 kB / 1.4 GB, free: 10.6 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.596, allocations: 19.72 kB / 1.4 GB, free: 10.58 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/0.5976, allocations: 0.8997 MB / 1.4 GB, free: 9.703 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.5977, allocations: 11.92 kB / 1.4 GB, free: 9.691 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.5977, allocations: 7.953 kB / 1.4 GB, free: 9.684 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.5977, allocations: 3.984 kB / 1.4 GB, free: 9.68 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005256/0.5982, allocations: 401.1 kB / 1.401 GB, free: 9.238 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.5982, allocations: 7.938 kB / 1.401 GB, free: 9.23 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/0.5985, allocations: 95.89 kB / 1.401 GB, free: 9.137 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.5985, allocations: 0 / 1.401 GB, free: 9.137 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.513e-05/0.5986, allocations: 23.98 kB / 1.401 GB, free: 9.113 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.5986, allocations: 0 / 1.401 GB, free: 9.113 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5986, allocations: 0 / 1.401 GB, free: 9.113 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009595/0.5996, allocations: 0.6037 MB / 1.402 GB, free: 8.488 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 7.188e-05/0.5997, allocations: 96.8 kB / 1.402 GB, free: 8.375 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.267e-05/0.5997, allocations: 8 kB / 1.402 GB, free: 8.367 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.669e-05/0.5998, allocations: 4 kB / 1.402 GB, free: 8.363 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/0.5999, allocations: 39.95 kB / 1.402 GB, free: 8.324 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/0.5999, allocations: 24 kB / 1.402 GB, free: 8.301 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 8.422e-05/0.6, allocations: 116.2 kB / 1.402 GB, free: 8.188 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6, allocations: 4 kB / 1.402 GB, free: 8.184 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000755/0.6008, allocations: 211.8 kB / 1.402 GB, free: 7.977 MB / 0.9011 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 (44): * Single equations (assignments): 44 * 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.001994/0.6028, allocations: 1.316 MB / 1.403 GB, free: 6.629 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0008271/0.6036, allocations: 0.4916 MB / 1.404 GB, free: 6.137 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.6036, allocations: 3.938 kB / 1.404 GB, free: 6.133 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003881/0.604, allocations: 288.7 kB / 1.404 GB, free: 5.852 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.6043, allocations: 39.92 kB / 1.404 GB, free: 5.812 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.6057, allocations: 0.7913 MB / 1.405 GB, free: 4.984 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.606, allocations: 0.7617 MB / 1.406 GB, free: 4.195 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0005922/0.6066, allocations: 346 kB / 1.406 GB, free: 3.895 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.6068, allocations: 91.41 kB / 1.406 GB, free: 3.805 MB / 0.9011 GB Notification: Performance of SimCode: time 2.184e-06/0.6069, allocations: 0 / 1.406 GB, free: 3.805 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.6291, allocations: 7.325 MB / 1.413 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000265/0.6294, allocations: 267 kB / 1.413 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.499, allocations: 3.938 kB / 1.413 GB, free: 12.45 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.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_res.mat does not exist to compare? outputFormat=mat