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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001142/0.001142, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001146/0.001146, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.3/1.3, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.563/2.563, allocations: 461.8 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 71.8 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2613, allocations: 157.4 MB / 1.052 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002137/0.2635, allocations: 1.327 MB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006186/0.2697, allocations: 4.773 MB / 1.058 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.572e-05/0.2697, allocations: 4 kB / 1.058 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.007e-05/0.2698, allocations: 0 / 1.058 GB, free: 2.035 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‘. Notification: Performance of NFTyping.typeBindings: time 0.002862/0.2726, allocations: 1.196 MB / 1.059 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.173e-05/0.2727, allocations: 15.98 kB / 1.059 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.71e-05/0.2728, allocations: 35.91 kB / 1.059 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.2728, allocations: 3.984 kB / 1.059 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.086e-05/0.2728, allocations: 4 kB / 1.059 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.995e-05/0.2729, allocations: 74.48 kB / 1.059 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.418e-06/0.2729, allocations: 0 / 1.059 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00314/0.2761, allocations: 2.242 MB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.2763, allocations: 246.1 kB / 1.062 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003849/0.2767, allocations: 282.8 kB / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002807/0.2795, allocations: 2.265 MB / 1.064 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2795, allocations: 0 / 1.064 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.51e-07/0.2795, allocations: 0 / 1.064 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.2795, allocations: 0 / 1.064 GB, free: 11.68 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.001987/0.2815, allocations: 1.495 MB / 1.066 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.2816, allocations: 15.97 kB / 1.066 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.914e-05/0.2816, allocations: 30.75 kB / 1.066 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.2818, allocations: 44.38 kB / 1.066 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007/0.2825, allocations: 0.6364 MB / 1.067 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.2825, allocations: 384 / 1.067 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.2825, allocations: 7.938 kB / 1.067 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.2827, allocations: 169.6 kB / 1.067 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-06/0.2827, allocations: 0 / 1.067 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.2827, allocations: 0 / 1.067 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2827, allocations: 0 / 1.067 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.2829, allocations: 283.8 kB / 1.067 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005509/0.2835, allocations: 0.5365 MB / 1.068 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.2836, allocations: 170.5 kB / 1.068 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.587e-05/0.2837, allocations: 140.9 kB / 1.068 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.2837, allocations: 4 kB / 1.068 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.2838, allocations: 34.5 kB / 1.068 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.2838, allocations: 0 / 1.068 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.000537/0.2843, allocations: 496.9 kB / 1.068 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.2843, allocations: 51.41 kB / 1.068 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008584/0.2852, allocations: 0.6982 MB / 1.069 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.2852, allocations: 29.7 kB / 1.069 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.2854, allocations: 224.1 kB / 1.069 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.2854, allocations: 0 / 1.069 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.2854, allocations: 25.64 kB / 1.069 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.2856, allocations: 362.8 kB / 1.07 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.195e-05/0.2857, allocations: 139.9 kB / 1.07 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.642e-05/0.2858, allocations: 143.9 kB / 1.07 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.286, allocations: 288.8 kB / 1.07 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.286, allocations: 0 / 1.07 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004014/0.2864, allocations: 364.9 kB / 1.071 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.2864, allocations: 4 kB / 1.071 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.2864, allocations: 0 / 1.071 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.2864, allocations: 0 / 1.071 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.372e-05/0.2865, allocations: 4 kB / 1.071 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.2865, allocations: 0 / 1.071 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.2867, allocations: 28 kB / 1.071 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.2867, allocations: 0 / 1.071 GB, free: 5.074 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.000166/0.2869, allocations: 221.7 kB / 1.071 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.2871, allocations: 39.44 kB / 1.071 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003323/0.2874, allocations: 380.9 kB / 1.071 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2874, allocations: 0 / 1.071 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2874, allocations: 0 / 1.071 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2874, allocations: 0 / 1.071 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/0.2878, allocations: 437.5 kB / 1.072 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.2878, allocations: 0 / 1.072 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.2878, allocations: 32 / 1.072 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2879, allocations: 4 kB / 1.072 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.2879, allocations: 7.984 kB / 1.072 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2879, allocations: 0 / 1.072 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2879, allocations: 0 / 1.072 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.2883, allocations: 380.3 kB / 1.072 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004046/0.2887, allocations: 352.2 kB / 1.072 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.2889, allocations: 0 / 1.072 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.2891, allocations: 32.03 kB / 1.072 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.208e-05/0.2891, allocations: 3.938 kB / 1.072 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.2891, allocations: 0 / 1.072 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0006829/0.2898, allocations: 0.5339 MB / 1.073 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2898, allocations: 0 / 1.073 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0014/0.2912, allocations: 0.574 MB / 1.073 GB, free: 2.047 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.00274/0.294, allocations: 1.749 MB / 1.075 GB, free: 380 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002435/0.2942, allocations: 279.9 kB / 1.075 GB, free: 100 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2942, allocations: 0 / 1.075 GB, free: 100 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.2944, allocations: 173.6 kB / 1.076 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.2947, allocations: 34.31 kB / 1.076 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00857/0.3033, allocations: 7.443 MB / 1.083 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.3037, allocations: 0.82 MB / 1.084 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001221/0.3049, allocations: 448.8 kB / 1.084 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006424/0.3055, allocations: 379.2 kB / 1.085 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of SimCode: time 5.71e-07/0.3055, allocations: 0 / 1.085 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04269/0.3482, allocations: 25.32 MB / 1.109 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002333/0.3485, allocations: 326.7 kB / 1.11 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.283/2.631, allocations: 0 / 1.11 GB, free: 13.27 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