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.244/2.244, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001069/0.001069, allocations: 184.8 kB / 487.4 MB, free: 5.027 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.71/1.71, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 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.0009791/0.0009789, allocations: 95.89 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 4.016e-05/4.041e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2618, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9012/1.163, allocations: 163.6 MB / 1.366 GB, free: 18.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/1.163, allocations: 108.9 kB / 1.366 GB, free: 18.09 MB / 0.823 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.05837/1.222, allocations: 20.79 MB / 1.386 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.094e-06/1.222, allocations: 0 / 1.386 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.102e-05/1.222, allocations: 3.938 kB / 1.386 GB, free: 28.19 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001503/1.223, allocations: 0.8217 MB / 1.387 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 8.575e-05/1.223, allocations: 11.5 kB / 1.387 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/1.224, allocations: 54.48 kB / 1.387 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006147/1.224, allocations: 0.5971 MB / 1.388 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/1.224, allocations: 0 / 1.388 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/1.224, allocations: 0 / 1.388 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001848/1.225, allocations: 124.2 kB / 1.388 GB, free: 27.11 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/1.225, allocations: 178.3 kB / 1.388 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/1.225, allocations: 0 / 1.388 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/1.225, allocations: 0 / 1.388 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/1.225, allocations: 7.891 kB / 1.388 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004939/1.225, allocations: 467.1 kB / 1.388 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/1.225, allocations: 134.9 kB / 1.389 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/1.226, allocations: 132.3 kB / 1.389 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/1.226, allocations: 3.844 kB / 1.389 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/1.226, allocations: 30.56 kB / 1.389 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/1.226, allocations: 0 / 1.389 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0005583/1.226, allocations: 328.9 kB / 1.389 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.862e-05/1.226, allocations: 51.41 kB / 1.389 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005582/1.227, allocations: 0.5904 MB / 1.39 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/1.227, allocations: 25.7 kB / 1.39 GB, free: 26.26 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/1.227, allocations: 232.8 kB / 1.39 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/1.227, allocations: 3.875 kB / 1.39 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.443e-05/1.227, allocations: 0 / 1.39 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.227, allocations: 367.7 kB / 1.39 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/1.227, allocations: 119 kB / 1.39 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/1.228, allocations: 122.1 kB / 1.39 GB, free: 25.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/1.228, allocations: 123.9 kB / 1.391 GB, free: 25.74 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.228, allocations: 0 / 1.391 GB, free: 25.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004642/1.228, allocations: 335.4 kB / 1.391 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/1.228, allocations: 3.812 kB / 1.391 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.264e-05/1.228, allocations: 11.56 kB / 1.391 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/1.228, allocations: 0 / 1.391 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.064e-06/1.228, allocations: 4 kB / 1.391 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/1.228, allocations: 0 / 1.391 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/1.229, allocations: 38.53 kB / 1.391 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/1.229, allocations: 23.19 kB / 1.391 GB, free: 25.61 MB / 0.8386 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 () * 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 9.254e-05/1.229, allocations: 108.9 kB / 1.391 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004315/1.229, allocations: 340.9 kB / 1.391 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/1.229, allocations: 50.47 kB / 1.391 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009081/1.23, allocations: 481.5 kB / 1.392 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/1.23, allocations: 0 / 1.392 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.23, allocations: 0 / 1.392 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/1.23, allocations: 3.984 kB / 1.392 GB, free: 25.22 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003677/1.231, allocations: 370 kB / 1.392 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.288e-05/1.231, allocations: 11.66 kB / 1.392 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.02e-07/1.231, allocations: 0 / 1.392 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.231, allocations: 64 / 1.392 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/1.231, allocations: 15.7 kB / 1.392 GB, free: 25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.231, allocations: 0 / 1.392 GB, free: 25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.231, allocations: 3.938 kB / 1.392 GB, free: 25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004565/1.231, allocations: 355.3 kB / 1.393 GB, free: 24.85 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003522/1.231, allocations: 337.1 kB / 1.393 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/1.232, allocations: 3.844 kB / 1.393 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/1.232, allocations: 33.94 kB / 1.393 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/1.232, allocations: 7.875 kB / 1.393 GB, free: 24.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/1.232, allocations: 27.06 kB / 1.393 GB, free: 24.66 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004396/1.232, allocations: 0.4962 MB / 1.394 GB, free: 24.51 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/1.232, allocations: 0 / 1.394 GB, free: 24.51 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001518/1.234, allocations: 492.6 kB / 1.394 GB, free: 24.36 MB / 0.8386 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 () * 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.00295/1.237, allocations: 1.594 MB / 1.396 GB, free: 23.39 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003725/1.237, allocations: 270.1 kB / 1.396 GB, free: 23.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.237, allocations: 0 / 1.396 GB, free: 23.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000168/1.237, allocations: 157.6 kB / 1.396 GB, free: 23.24 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/1.238, allocations: 34.59 kB / 1.396 GB, free: 23.24 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/1.239, allocations: 0.9744 MB / 1.397 GB, free: 22.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/1.24, allocations: 0.8364 MB / 1.398 GB, free: 22 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001124/1.241, allocations: 424.1 kB / 1.398 GB, free: 21.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005393/1.242, allocations: 369.5 kB / 1.399 GB, free: 21.76 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/1.242, allocations: 0 / 1.399 GB, free: 21.76 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04672/1.288, allocations: 19.07 MB / 1.417 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000283/1.289, allocations: 262.5 kB / 1.417 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/3.724, allocations: 1.125 kB / 1.417 GB, free: 4.598 MB / 0.8386 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