Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001025/0.001025, allocations: 92.78 kB / 15.36 MB, free: 0.7383 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.008195/0.008195, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.433/1.433, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.542/2.542, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003455, allocations: 12 kB / 0.873 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6347/0.6351, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001277/0.6364, allocations: 0.9769 MB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006897/0.6433, allocations: 4.677 MB / 1.029 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.623e-05/0.6433, allocations: 0 / 1.029 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.298e-05/0.6434, allocations: 4 kB / 1.029 GB, free: 10.13 MB / 0.7794 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.003186/0.6466, allocations: 1.193 MB / 1.03 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 7.063e-05/0.6467, allocations: 31.91 kB / 1.03 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.014e-05/0.6467, allocations: 27.97 kB / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.361e-05/0.6468, allocations: 0 / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.91e-05/0.6468, allocations: 4 kB / 1.03 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.638e-05/0.6469, allocations: 66.55 kB / 1.03 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.6469, allocations: 4 kB / 1.03 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003369/0.6503, allocations: 2.25 MB / 1.032 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001976/0.6505, allocations: 242.1 kB / 1.032 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003694/0.6509, allocations: 312.5 kB / 1.033 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003321/0.6542, allocations: 2.263 MB / 1.035 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6542, allocations: 4 kB / 1.035 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6542, allocations: 0 / 1.035 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.6542, allocations: 0 / 1.035 GB, free: 3.734 MB / 0.7794 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.002118/0.6564, allocations: 1.211 MB / 1.036 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.6564, allocations: 8.031 kB / 1.036 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.6565, allocations: 38.69 kB / 1.036 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.6566, allocations: 40.38 kB / 1.036 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007666/0.6574, allocations: 0.6364 MB / 1.037 GB, free: 1.703 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.6574, allocations: 4.375 kB / 1.037 GB, free: 1.699 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.577e-06/0.6574, allocations: 7.875 kB / 1.037 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.6577, allocations: 169.6 kB / 1.037 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.6577, allocations: 0 / 1.037 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.6577, allocations: 4 kB / 1.037 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.6577, allocations: 0 / 1.037 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002201/0.6579, allocations: 275.9 kB / 1.037 GB, free: 1.246 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006167/0.6585, allocations: 0.5365 MB / 1.038 GB, free: 0.6602 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.6587, allocations: 166.4 kB / 1.038 GB, free: 500 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.6588, allocations: 144.9 kB / 1.038 GB, free: 352 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.302e-06/0.6588, allocations: 0 / 1.038 GB, free: 352 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.6588, allocations: 34.56 kB / 1.038 GB, free: 308 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.6589, allocations: 0 / 1.038 GB, free: 308 kB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0005378/0.6594, allocations: 497.1 kB / 1.039 GB, free: 15.8 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.6594, allocations: 59.28 kB / 1.039 GB, free: 15.73 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009438/0.6604, allocations: 0.6942 MB / 1.039 GB, free: 15.03 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.6604, allocations: 25.83 kB / 1.039 GB, free: 15 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.6606, allocations: 232.1 kB / 1.04 GB, free: 14.77 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.6606, allocations: 3.906 kB / 1.04 GB, free: 14.77 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/0.6606, allocations: 9.719 kB / 1.04 GB, free: 14.75 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.6608, allocations: 366.8 kB / 1.04 GB, free: 14.38 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.6609, allocations: 139.9 kB / 1.04 GB, free: 14.25 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.738e-05/0.661, allocations: 143.9 kB / 1.04 GB, free: 14.11 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.6612, allocations: 284.8 kB / 1.04 GB, free: 13.82 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6612, allocations: 4.062 kB / 1.04 GB, free: 13.82 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003923/0.6616, allocations: 364.9 kB / 1.041 GB, free: 13.46 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.6616, allocations: 6.031 kB / 1.041 GB, free: 13.45 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.6617, allocations: 0 / 1.041 GB, free: 13.45 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.6617, allocations: 0 / 1.041 GB, free: 13.45 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.321e-05/0.6617, allocations: 4 kB / 1.041 GB, free: 13.45 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.6617, allocations: 0 / 1.041 GB, free: 13.45 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.662, allocations: 28 kB / 1.041 GB, free: 13.42 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.662, allocations: 0 / 1.041 GB, free: 13.42 MB / 0.795 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.0001705/0.6621, allocations: 218.2 kB / 1.041 GB, free: 13.2 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.6623, allocations: 43.44 kB / 1.041 GB, free: 13.16 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003463/0.6626, allocations: 373 kB / 1.041 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.6626, allocations: 0 / 1.041 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.6626, allocations: 4 kB / 1.041 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.6626, allocations: 0 / 1.041 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004125/0.6631, allocations: 441.5 kB / 1.042 GB, free: 12.3 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.6631, allocations: 0 / 1.042 GB, free: 12.3 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.425e-06/0.6631, allocations: 0 / 1.042 GB, free: 12.3 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.6631, allocations: 7.938 kB / 1.042 GB, free: 12.29 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.6631, allocations: 7.969 kB / 1.042 GB, free: 12.28 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.6631, allocations: 0 / 1.042 GB, free: 12.28 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6631, allocations: 3.984 kB / 1.042 GB, free: 12.28 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/0.6635, allocations: 376.4 kB / 1.042 GB, free: 11.89 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003594/0.6639, allocations: 340.3 kB / 1.043 GB, free: 11.54 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.664, allocations: 0 / 1.043 GB, free: 11.54 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.6642, allocations: 28 kB / 1.043 GB, free: 11.51 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.6642, allocations: 15.95 kB / 1.043 GB, free: 11.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.6643, allocations: 0 / 1.043 GB, free: 11.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007557/0.665, allocations: 0.5339 MB / 1.043 GB, free: 10.96 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.665, allocations: 0 / 1.043 GB, free: 10.96 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001498/0.6665, allocations: 0.5778 MB / 1.044 GB, free: 10.39 MB / 0.795 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.003138/0.6697, allocations: 1.727 MB / 1.045 GB, free: 8.738 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002553/0.6699, allocations: 287.8 kB / 1.046 GB, free: 8.457 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.67, allocations: 0 / 1.046 GB, free: 8.457 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.6701, allocations: 165.6 kB / 1.046 GB, free: 8.289 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.6704, allocations: 34.31 kB / 1.046 GB, free: 8.254 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009339/0.6798, allocations: 7.458 MB / 1.053 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.6802, allocations: 0.8197 MB / 1.054 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001343/0.6815, allocations: 449.8 kB / 1.054 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007092/0.6823, allocations: 383.1 kB / 1.055 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of SimCode: time 8.02e-07/0.6823, allocations: 0 / 1.055 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04748/0.7298, allocations: 24.95 MB / 1.079 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/0.73, allocations: 329.5 kB / 1.079 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.484/3.214, allocations: 0 / 1.079 GB, free: 5.98 MB / 0.8262 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat does not exist to compare? outputFormat=mat