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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001617/0.001617, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.002168/0.002168, allocations: 191.8 kB / 16.25 MB, free: 6.641 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.372/1.372, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.441/2.441, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 59.91 kB / 0.8689 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5408/0.5422, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002114/0.5444, allocations: 1.329 MB / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.006039/0.5504, allocations: 4.512 MB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.994e-05/0.5505, allocations: 0 / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.059e-05/0.5505, allocations: 4 kB / 1.023 GB, free: 12.84 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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.003886/0.5544, allocations: 1.339 MB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 9.699e-05/0.5545, allocations: 31.91 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.134e-05/0.5546, allocations: 15.98 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.194e-05/0.5547, allocations: 0 / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.216e-05/0.5547, allocations: 7.984 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.807e-05/0.5548, allocations: 66.5 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.5548, allocations: 4 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003525/0.5583, allocations: 2.246 MB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002265/0.5586, allocations: 242.1 kB / 1.027 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003804/0.559, allocations: 290.8 kB / 1.027 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003975/0.563, allocations: 2.201 MB / 1.029 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.563, allocations: 3.984 kB / 1.029 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.495e-06/0.563, allocations: 0 / 1.029 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.471e-05/0.563, allocations: 8 kB / 1.029 GB, free: 6.391 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.002555/0.5656, allocations: 1.491 MB / 1.03 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.5657, allocations: 11.97 kB / 1.03 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.336e-05/0.5657, allocations: 34.73 kB / 1.03 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002362/0.566, allocations: 44.38 kB / 1.03 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006882/0.5667, allocations: 0.6286 MB / 1.031 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.5667, allocations: 384 / 1.031 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.5667, allocations: 3.938 kB / 1.031 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.5669, allocations: 173.6 kB / 1.031 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.5669, allocations: 4 kB / 1.031 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-06/0.5669, allocations: 0 / 1.031 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.5669, allocations: 0 / 1.031 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.5671, allocations: 279.9 kB / 1.032 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006181/0.5678, allocations: 0.5365 MB / 1.032 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.5679, allocations: 158.5 kB / 1.032 GB, free: 2.875 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.568, allocations: 148.9 kB / 1.032 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.568, allocations: 7.938 kB / 1.032 GB, free: 2.719 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.5681, allocations: 38.55 kB / 1.032 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.5681, allocations: 3.938 kB / 1.032 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0006062/0.5687, allocations: 496.9 kB / 1.033 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.5687, allocations: 51.41 kB / 1.033 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009359/0.5697, allocations: 0.6942 MB / 1.034 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.5697, allocations: 25.7 kB / 1.034 GB, free: 1.379 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.5698, allocations: 224.2 kB / 1.034 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.5699, allocations: 8 kB / 1.034 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.5699, allocations: 13.7 kB / 1.034 GB, free: 1.129 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.57, allocations: 362.8 kB / 1.034 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.928e-05/0.5701, allocations: 139.9 kB / 1.034 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.884e-05/0.5702, allocations: 147.9 kB / 1.034 GB, free: 496 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.5705, allocations: 284.8 kB / 1.035 GB, free: 208 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5705, allocations: 0 / 1.035 GB, free: 208 kB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004462/0.5709, allocations: 365 kB / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.5709, allocations: 4 kB / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.571, allocations: 0 / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.571, allocations: 4 kB / 1.035 GB, free: 15.83 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.96e-05/0.5711, allocations: 0 / 1.035 GB, free: 15.83 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.5711, allocations: 0 / 1.035 GB, free: 15.83 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.5713, allocations: 28 kB / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.5713, allocations: 7.984 kB / 1.035 GB, free: 15.8 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.0001643/0.5715, allocations: 206.2 kB / 1.035 GB, free: 15.59 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.5717, allocations: 51.41 kB / 1.035 GB, free: 15.54 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/0.572, allocations: 373 kB / 1.036 GB, free: 15.16 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.572, allocations: 0 / 1.036 GB, free: 15.16 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.572, allocations: 0 / 1.036 GB, free: 15.16 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.572, allocations: 7.938 kB / 1.036 GB, free: 15.15 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004076/0.5725, allocations: 437.5 kB / 1.036 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.5725, allocations: 4 kB / 1.036 GB, free: 14.67 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-06/0.5725, allocations: 3.984 kB / 1.036 GB, free: 14.67 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.5725, allocations: 0 / 1.036 GB, free: 14.67 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.5725, allocations: 0 / 1.036 GB, free: 14.67 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5725, allocations: 4.031 kB / 1.036 GB, free: 14.66 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5725, allocations: 0 / 1.036 GB, free: 14.66 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004311/0.5729, allocations: 396.2 kB / 1.037 GB, free: 14.26 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003475/0.5733, allocations: 332.3 kB / 1.037 GB, free: 13.91 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.5735, allocations: 3.938 kB / 1.037 GB, free: 13.91 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.5737, allocations: 32 kB / 1.037 GB, free: 13.88 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/0.5737, allocations: 4 kB / 1.037 GB, free: 13.88 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.5737, allocations: 4.031 kB / 1.037 GB, free: 13.87 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007315/0.5745, allocations: 0.5339 MB / 1.037 GB, free: 13.34 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5745, allocations: 0 / 1.037 GB, free: 13.34 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001453/0.5759, allocations: 0.57 MB / 1.038 GB, free: 12.77 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.003095/0.579, allocations: 1.734 MB / 1.04 GB, free: 11.12 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002789/0.5793, allocations: 287.8 kB / 1.04 GB, free: 10.84 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5793, allocations: 0 / 1.04 GB, free: 10.84 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.5795, allocations: 169.6 kB / 1.04 GB, free: 10.66 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.5798, allocations: 34.31 kB / 1.04 GB, free: 10.63 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009017/0.5889, allocations: 7.451 MB / 1.047 GB, free: 3.094 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.5893, allocations: 0.8236 MB / 1.048 GB, free: 2.246 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001309/0.5906, allocations: 448.5 kB / 1.049 GB, free: 1.844 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006855/0.5913, allocations: 375.2 kB / 1.049 GB, free: 1.477 MB / 0.795 GB Notification: Performance of SimCode: time 8.32e-07/0.5913, allocations: 4 kB / 1.049 GB, free: 1.473 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04282/0.6341, allocations: 25.52 MB / 1.074 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002378/0.6344, allocations: 331.4 kB / 1.074 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.375/3.01, allocations: 0 / 1.074 GB, free: 7.793 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