Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.153/2.153, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.00112/0.00112, allocations: 169.1 kB / 498.1 MB, free: 5.723 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.349/1.349, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0008424/0.0008424, allocations: 98.81 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003323, allocations: 14.25 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2569, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1823/0.4392, allocations: 164.3 MB / 1.383 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.4395, allocations: 107.9 kB / 1.384 GB, free: 13.5 MB / 0.8855 GB [/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.06143/0.501, allocations: 20.96 MB / 1.404 GB, free: 8.5 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.054e-06/0.501, allocations: 0 / 1.404 GB, free: 8.5 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.501, allocations: 8 kB / 1.404 GB, free: 8.492 MB / 0.9011 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.002549/0.5035, allocations: 1.203 MB / 1.405 GB, free: 7.238 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.5036, allocations: 12.03 kB / 1.405 GB, free: 7.227 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.333e-05/0.5036, allocations: 34.52 kB / 1.405 GB, free: 7.184 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.5038, allocations: 47.44 kB / 1.405 GB, free: 7.137 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009293/0.5047, allocations: 0.6005 MB / 1.406 GB, free: 6.496 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.669e-06/0.5047, allocations: 0 / 1.406 GB, free: 6.496 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.5048, allocations: 0 / 1.406 GB, free: 6.496 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.5051, allocations: 177.5 kB / 1.406 GB, free: 6.316 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.5051, allocations: 0 / 1.406 GB, free: 6.316 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.5051, allocations: 0 / 1.406 GB, free: 6.316 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.5051, allocations: 11.94 kB / 1.406 GB, free: 6.305 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.5053, allocations: 119.8 kB / 1.406 GB, free: 6.188 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005947/0.5059, allocations: 489.4 kB / 1.407 GB, free: 5.66 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.5061, allocations: 138.5 kB / 1.407 GB, free: 5.516 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.5061, allocations: 0 / 1.407 GB, free: 5.516 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.5061, allocations: 38.5 kB / 1.407 GB, free: 5.469 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.5062, allocations: 0 / 1.407 GB, free: 5.469 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0007554/0.5069, allocations: 448.9 kB / 1.407 GB, free: 5.023 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.507, allocations: 55.36 kB / 1.407 GB, free: 4.957 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007742/0.5077, allocations: 0.6231 MB / 1.408 GB, free: 4.324 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.5078, allocations: 25.7 kB / 1.408 GB, free: 4.293 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.5079, allocations: 228.1 kB / 1.408 GB, free: 4.066 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.508, allocations: 7.891 kB / 1.408 GB, free: 4.059 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.34e-05/0.508, allocations: 8.125 kB / 1.408 GB, free: 4.051 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.5081, allocations: 362.8 kB / 1.408 GB, free: 3.688 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.5083, allocations: 119.9 kB / 1.409 GB, free: 3.57 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.5085, allocations: 123.9 kB / 1.409 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.5087, allocations: 123.9 kB / 1.409 GB, free: 3.328 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5087, allocations: 3.938 kB / 1.409 GB, free: 3.324 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0005392/0.5092, allocations: 324.9 kB / 1.409 GB, free: 3 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.5092, allocations: 4 kB / 1.409 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.282e-05/0.5093, allocations: 20.08 kB / 1.409 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.5093, allocations: 3.938 kB / 1.409 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-07/0.5093, allocations: 0 / 1.409 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.5093, allocations: 0 / 1.409 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.5095, allocations: 43.94 kB / 1.409 GB, free: 2.93 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.5096, allocations: 24 kB / 1.409 GB, free: 2.906 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 (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.0001998/0.5098, allocations: 205.5 kB / 1.409 GB, free: 2.695 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.5099, allocations: 51.42 kB / 1.409 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.5109, allocations: 488.7 kB / 1.41 GB, free: 2.16 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.511, allocations: 0 / 1.41 GB, free: 2.16 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.511, allocations: 4 kB / 1.41 GB, free: 2.156 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.511, allocations: 4 kB / 1.41 GB, free: 2.152 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004326/0.5114, allocations: 393.4 kB / 1.41 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.233e-05/0.5115, allocations: 8 kB / 1.41 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.5115, allocations: 0 / 1.41 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.5115, allocations: 0 / 1.41 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.5115, allocations: 8 kB / 1.41 GB, free: 1.703 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5115, allocations: 0 / 1.41 GB, free: 1.703 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.5115, allocations: 0 / 1.41 GB, free: 1.703 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000522/0.512, allocations: 360.3 kB / 1.411 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006165/0.5127, allocations: 336.3 kB / 1.411 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.5128, allocations: 8 kB / 1.411 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.513, allocations: 35.94 kB / 1.411 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.513, allocations: 15.92 kB / 1.411 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.5131, allocations: 24 kB / 1.411 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0006182/0.5137, allocations: 0.526 MB / 1.412 GB, free: 388 kB / 0.9011 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5137, allocations: 4.031 kB / 1.412 GB, free: 384 kB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001319/0.515, allocations: 491.3 kB / 1.412 GB, free: 15.89 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.002452/0.5175, allocations: 1.586 MB / 1.414 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004318/0.5179, allocations: 281.4 kB / 1.414 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5179, allocations: 0 / 1.414 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.5181, allocations: 149.6 kB / 1.414 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.5184, allocations: 40.33 kB / 1.414 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005113/0.5235, allocations: 3.753 MB / 1.418 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.5238, allocations: 0.8278 MB / 1.419 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001273/0.5251, allocations: 428 kB / 1.419 GB, free: 8.848 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006368/0.5258, allocations: 363.2 kB / 1.419 GB, free: 8.492 MB / 0.9167 GB Notification: Performance of SimCode: time 2.61e-07/0.5258, allocations: 0 / 1.419 GB, free: 8.492 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4501/0.9759, allocations: 20.83 MB / 1.44 GB, free: 187.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.9761, allocations: 297.9 kB / 1.44 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.303/3.279, allocations: 0 / 1.44 GB, free: 187.2 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat does not exist to compare? outputFormat=mat