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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001559/0.00156, allocations: 195 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.885/2.885, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.73 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2874, allocations: 157.4 MB / 1.052 GB, free: 8.586 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002218/0.2897, allocations: 1.327 MB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006283/0.2959, allocations: 4.507 MB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.249e-05/0.296, allocations: 0 / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.341e-05/0.2961, allocations: 0 / 1.058 GB, free: 2.719 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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. Notification: Performance of NFTyping.typeBindings: time 0.003843/0.2999, allocations: 1.346 MB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.251e-05/0.3, allocations: 31.97 kB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.319e-05/0.3001, allocations: 15.92 kB / 1.06 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.068e-05/0.3001, allocations: 4 kB / 1.06 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.144e-05/0.3002, allocations: 4 kB / 1.06 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.799e-05/0.3003, allocations: 70.48 kB / 1.06 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.158e-06/0.3003, allocations: 0 / 1.06 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00323/0.3035, allocations: 2.246 MB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001954/0.3037, allocations: 242.1 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004421/0.3042, allocations: 286.8 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00342/0.3076, allocations: 2.214 MB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3076, allocations: 0 / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3076, allocations: 0 / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.473e-05/0.3077, allocations: 0 / 1.064 GB, free: 12.27 MB / 0.8262 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.002764/0.3104, allocations: 1.492 MB / 1.066 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3105, allocations: 12.62 kB / 1.066 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.521e-05/0.3105, allocations: 30.75 kB / 1.066 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002465/0.3108, allocations: 44.38 kB / 1.066 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007609/0.3115, allocations: 0.6324 MB / 1.067 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3116, allocations: 4.375 kB / 1.067 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.3116, allocations: 3.938 kB / 1.067 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.3118, allocations: 169.6 kB / 1.067 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3118, allocations: 0 / 1.067 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.3118, allocations: 3.938 kB / 1.067 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.3118, allocations: 0 / 1.067 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.312, allocations: 287.9 kB / 1.067 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006223/0.3126, allocations: 0.5326 MB / 1.068 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.3128, allocations: 170.4 kB / 1.068 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.3129, allocations: 144.9 kB / 1.068 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-06/0.3129, allocations: 7.938 kB / 1.068 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.3129, allocations: 30.56 kB / 1.068 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.313, allocations: 0 / 1.068 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0005785/0.3135, allocations: 492.9 kB / 1.068 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.3136, allocations: 55.52 kB / 1.068 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009138/0.3145, allocations: 0.6981 MB / 1.069 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.3145, allocations: 25.7 kB / 1.069 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.3147, allocations: 228.1 kB / 1.069 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.3147, allocations: 3.938 kB / 1.069 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.3147, allocations: 17.72 kB / 1.069 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3149, allocations: 366.8 kB / 1.07 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.315, allocations: 139.9 kB / 1.07 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.588e-05/0.3151, allocations: 140 kB / 1.07 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.3153, allocations: 292.7 kB / 1.07 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3153, allocations: 0 / 1.07 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004332/0.3157, allocations: 361 kB / 1.071 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3158, allocations: 4 kB / 1.071 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3158, allocations: 0 / 1.071 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.3158, allocations: 0 / 1.071 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.831e-05/0.3159, allocations: 8 kB / 1.071 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3159, allocations: 0 / 1.071 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.3161, allocations: 32.09 kB / 1.071 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-06/0.3161, allocations: 0 / 1.071 GB, free: 5.664 MB / 0.8262 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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001657/0.3163, allocations: 219.2 kB / 1.071 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.3165, allocations: 43.34 kB / 1.071 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.3168, allocations: 376.9 kB / 1.071 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.3168, allocations: 0 / 1.071 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3168, allocations: 0 / 1.071 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3168, allocations: 3.984 kB / 1.071 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003968/0.3172, allocations: 437.5 kB / 1.072 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.3172, allocations: 4.031 kB / 1.072 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.3173, allocations: 0 / 1.072 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3173, allocations: 0 / 1.072 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.3173, allocations: 4 kB / 1.072 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3173, allocations: 0 / 1.072 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3173, allocations: 0 / 1.072 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004251/0.3177, allocations: 384.3 kB / 1.072 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/0.3181, allocations: 344.2 kB / 1.072 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.3183, allocations: 4.031 kB / 1.072 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.3185, allocations: 28 kB / 1.072 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.3185, allocations: 3.984 kB / 1.072 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.3185, allocations: 0 / 1.072 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007159/0.3193, allocations: 0.5339 MB / 1.073 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3193, allocations: 0 / 1.073 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001494/0.3208, allocations: 0.5583 MB / 1.073 GB, free: 2.66 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003331/0.3241, allocations: 1.752 MB / 1.075 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002624/0.3244, allocations: 287.8 kB / 1.075 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3244, allocations: 0 / 1.075 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.3245, allocations: 169.6 kB / 1.076 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.3249, allocations: 35.14 kB / 1.076 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009426/0.3343, allocations: 7.437 MB / 1.083 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.3347, allocations: 0.8158 MB / 1.084 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001275/0.336, allocations: 450.9 kB / 1.084 GB, free: 7.719 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006933/0.3367, allocations: 371.2 kB / 1.085 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of SimCode: time 4.5e-07/0.3367, allocations: 0 / 1.085 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04589/0.3826, allocations: 25.53 MB / 1.109 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002723/0.383, allocations: 337 kB / 1.11 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.55/2.933, allocations: 0 / 1.11 GB, free: 13.67 MB / 0.8731 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/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