Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",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.37/2.37, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001424/0.001425, allocations: 190.6 kB / 0.4902 GB, free: 2.223 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.497/1.497, 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.000901/0.0009008, allocations: 96.33 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.000374, allocations: 10.41 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2802, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2134/0.4936, allocations: 173.5 MB / 1.399 GB, free: 11.86 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/0.494, allocations: 111.9 kB / 1.399 GB, free: 11.75 MB / 0.9011 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Utilities/Streams.mo:207:5-207:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Utilities/Streams.mo:208:5-208:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. Notification: Performance of FrontEnd - DAE generated: time 0.6283/1.122, allocations: 29.21 MB / 1.427 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.525e-06/1.122, allocations: 0 / 1.427 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.979e-06/1.122, allocations: 6.125 kB / 1.427 GB, free: 177.1 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.002781/1.125, allocations: 1.314 MB / 1.429 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/1.125, allocations: 9.469 kB / 1.429 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.766e-05/1.125, allocations: 38.05 kB / 1.429 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/1.125, allocations: 55.61 kB / 1.429 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008931/1.126, allocations: 0.6107 MB / 1.429 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/1.126, allocations: 0.6562 kB / 1.429 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/1.126, allocations: 2 kB / 1.429 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/1.127, allocations: 174.2 kB / 1.43 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/1.127, allocations: 2.062 kB / 1.43 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/1.127, allocations: 6.516 kB / 1.43 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/1.127, allocations: 0.6094 kB / 1.43 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/1.127, allocations: 125.2 kB / 1.43 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000643/1.127, allocations: 493.2 kB / 1.43 GB, free: 176 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/1.128, allocations: 143 kB / 1.43 GB, free: 176 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/1.128, allocations: 0.75 kB / 1.43 GB, free: 176 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/1.128, allocations: 34.78 kB / 1.43 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/1.128, allocations: 0 / 1.43 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1): time 0.0007927/1.129, allocations: 450.3 kB / 1.431 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/1.129, allocations: 55.25 kB / 1.431 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008462/1.129, allocations: 0.6274 MB / 1.431 GB, free: 175.7 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/1.13, allocations: 28.02 kB / 1.431 GB, free: 175.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/1.13, allocations: 231.5 kB / 1.432 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/1.13, allocations: 0.75 kB / 1.432 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/1.13, allocations: 0.8125 kB / 1.432 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.947e-05/1.13, allocations: 366.5 kB / 1.432 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/1.13, allocations: 120.3 kB / 1.432 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/1.13, allocations: 123.7 kB / 1.432 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/1.13, allocations: 122 kB / 1.432 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.13, allocations: 0 / 1.432 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0005517/1.131, allocations: 330.4 kB / 1.433 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/1.131, allocations: 11.94 kB / 1.433 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.79e-05/1.131, allocations: 7.656 kB / 1.433 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/1.131, allocations: 2.656 kB / 1.433 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.81e-07/1.131, allocations: 0 / 1.433 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/1.131, allocations: 0.6094 kB / 1.433 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/1.131, allocations: 40.19 kB / 1.433 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/1.131, allocations: 27.91 kB / 1.433 GB, free: 175.2 MB / 0.9167 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 (1): * Single equations (assignments): 0 * Array equations: 0 * 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.0002033/1.132, allocations: 206 kB / 1.433 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/1.132, allocations: 51.33 kB / 1.433 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/1.133, allocations: 486.8 kB / 1.433 GB, free: 175 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/1.133, allocations: 0 / 1.433 GB, free: 175 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.133, allocations: 1.094 kB / 1.433 GB, free: 175 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/1.133, allocations: 4.672 kB / 1.433 GB, free: 175 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005143/1.133, allocations: 392.9 kB / 1.434 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.373e-05/1.133, allocations: 11.39 kB / 1.434 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.553e-06/1.133, allocations: 0.6562 kB / 1.434 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/1.133, allocations: 1.906 kB / 1.434 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/1.134, allocations: 5.344 kB / 1.434 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.134, allocations: 0.75 kB / 1.434 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.134, allocations: 0 / 1.434 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006078/1.134, allocations: 363.1 kB / 1.434 GB, free: 174.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006576/1.135, allocations: 340.5 kB / 1.435 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/1.135, allocations: 5.484 kB / 1.435 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/1.135, allocations: 33.41 kB / 1.435 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/1.135, allocations: 7.391 kB / 1.435 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/1.135, allocations: 24.94 kB / 1.435 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007149/1.136, allocations: 0.5369 MB / 1.435 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.41e-07/1.136, allocations: 0 / 1.435 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002319/1.138, allocations: 0.7066 MB / 1.436 GB, free: 174.4 MB / 0.9167 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 (1): * Single equations (assignments): 0 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.003955/1.142, allocations: 1.836 MB / 1.438 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005002/1.143, allocations: 276.4 kB / 1.438 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.143, allocations: 0 / 1.438 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002587/1.143, allocations: 156.3 kB / 1.438 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/1.143, allocations: 35.56 kB / 1.438 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006014/1.149, allocations: 3.834 MB / 1.442 GB, free: 172.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/1.15, allocations: 0.8297 MB / 1.443 GB, free: 171.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00123/1.151, allocations: 435 kB / 1.443 GB, free: 171.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006596/1.152, allocations: 374.1 kB / 1.443 GB, free: 171.9 MB / 0.9167 GB Notification: Performance of SimCode: time 7.21e-07/1.152, allocations: 3.828 kB / 1.443 GB, free: 171.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0489/1.2, allocations: 24.9 MB / 1.468 GB, free: 169.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/1.201, allocations: 303.1 kB / 1.468 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.676/3.877, allocations: 0 / 1.468 GB, free: 169.6 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat does not exist to compare? outputFormat=mat