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.001106/0.001106, 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.001216/0.001216, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.351/1.351, allocations: 222.9 MB / 239.8 MB, free: 4.637 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.413/2.413, allocations: 437 MB / 0.71 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 71.83 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5979/0.5991, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002324/0.6015, allocations: 1.324 MB / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.006838/0.6083, allocations: 4.778 MB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.777e-05/0.6084, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.655e-05/0.6085, allocations: 3.938 kB / 1.023 GB, free: 12.68 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.003078/0.6116, allocations: 1.178 MB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 7.154e-05/0.6116, allocations: 27.91 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.504e-05/0.6117, allocations: 35.95 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.6118, allocations: 4 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.286e-05/0.6118, allocations: 8 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.607e-05/0.6119, allocations: 62.56 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.6119, allocations: 3.938 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003097/0.615, allocations: 2.242 MB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.6152, allocations: 246.1 kB / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003544/0.6156, allocations: 286.8 kB / 1.027 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002775/0.6184, allocations: 2.259 MB / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.6184, allocations: 4 kB / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.22e-07/0.6184, allocations: 0 / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.6184, allocations: 0 / 1.029 GB, free: 6.328 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.002159/0.6206, allocations: 1.499 MB / 1.03 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.6206, allocations: 8.031 kB / 1.03 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.6207, allocations: 38.69 kB / 1.03 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/0.6209, allocations: 44.38 kB / 1.03 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007589/0.6216, allocations: 0.6286 MB / 1.031 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.6216, allocations: 4.375 kB / 1.031 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.6217, allocations: 3.938 kB / 1.031 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.6219, allocations: 173.6 kB / 1.031 GB, free: 3.828 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.6219, allocations: 0 / 1.031 GB, free: 3.828 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.6219, allocations: 4 kB / 1.031 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.6219, allocations: 3.984 kB / 1.031 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.6221, allocations: 283.9 kB / 1.032 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005937/0.6227, allocations: 0.5327 MB / 1.032 GB, free: 2.961 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.6229, allocations: 162.4 kB / 1.032 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.623, allocations: 148.9 kB / 1.032 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.623, allocations: 0 / 1.032 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.623, allocations: 38.5 kB / 1.032 GB, free: 2.598 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.623, allocations: 0 / 1.032 GB, free: 2.598 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0006624/0.6237, allocations: 496.9 kB / 1.033 GB, free: 2.105 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.6237, allocations: 59.34 kB / 1.033 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008437/0.6246, allocations: 0.6903 MB / 1.034 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.6246, allocations: 33.64 kB / 1.034 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.6248, allocations: 224.1 kB / 1.034 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.6248, allocations: 8 kB / 1.034 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.6248, allocations: 13.84 kB / 1.034 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.625, allocations: 366.8 kB / 1.034 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.6251, allocations: 136 kB / 1.034 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.788e-05/0.6253, allocations: 143.9 kB / 1.034 GB, free: 416 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.6255, allocations: 284.8 kB / 1.035 GB, free: 128 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.6255, allocations: 3.984 kB / 1.035 GB, free: 124 kB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000425/0.6259, allocations: 357 kB / 1.035 GB, free: 15.76 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.6259, allocations: 8.094 kB / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.626, allocations: 0 / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.626, allocations: 4 kB / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.507e-05/0.626, allocations: 3.984 kB / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.6261, allocations: 0 / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.6263, allocations: 28 kB / 1.035 GB, free: 15.72 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.6263, allocations: 4 kB / 1.035 GB, free: 15.71 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.0001779/0.6265, allocations: 210.2 kB / 1.035 GB, free: 15.5 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.6266, allocations: 43.44 kB / 1.035 GB, free: 15.46 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003465/0.627, allocations: 377 kB / 1.036 GB, free: 15.08 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.627, allocations: 0 / 1.036 GB, free: 15.08 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.627, allocations: 0 / 1.036 GB, free: 15.08 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.627, allocations: 0 / 1.036 GB, free: 15.08 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.6274, allocations: 441.4 kB / 1.036 GB, free: 14.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.6274, allocations: 0 / 1.036 GB, free: 14.6 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-06/0.6274, allocations: 7.938 kB / 1.036 GB, free: 14.59 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.6274, allocations: 0 / 1.036 GB, free: 14.59 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.6275, allocations: 4 kB / 1.036 GB, free: 14.59 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.6275, allocations: 4 kB / 1.036 GB, free: 14.59 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.6275, allocations: 4.031 kB / 1.036 GB, free: 14.58 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004266/0.6279, allocations: 380.4 kB / 1.037 GB, free: 14.19 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004168/0.6283, allocations: 340.2 kB / 1.037 GB, free: 13.84 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.6285, allocations: 0 / 1.037 GB, free: 13.84 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.6287, allocations: 28 kB / 1.037 GB, free: 13.81 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.978e-05/0.6287, allocations: 4 kB / 1.037 GB, free: 13.81 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.6287, allocations: 0 / 1.037 GB, free: 13.81 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007172/0.6294, allocations: 0.5416 MB / 1.037 GB, free: 13.27 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6294, allocations: 3.938 kB / 1.037 GB, free: 13.27 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001851/0.6313, allocations: 0.5739 MB / 1.038 GB, free: 12.69 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.003019/0.6343, allocations: 1.742 MB / 1.04 GB, free: 11.03 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002768/0.6346, allocations: 283.9 kB / 1.04 GB, free: 10.75 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.6346, allocations: 0 / 1.04 GB, free: 10.75 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.6348, allocations: 169.6 kB / 1.04 GB, free: 10.58 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.6351, allocations: 35.95 kB / 1.04 GB, free: 10.55 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009006/0.6442, allocations: 7.451 MB / 1.047 GB, free: 3.012 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.6446, allocations: 0.8197 MB / 1.048 GB, free: 2.168 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00125/0.6458, allocations: 446 kB / 1.049 GB, free: 1.77 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000652/0.6465, allocations: 371.2 kB / 1.049 GB, free: 1.406 MB / 0.795 GB Notification: Performance of SimCode: time 4.21e-07/0.6465, allocations: 0 / 1.049 GB, free: 1.406 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.34/2.986, allocations: 25.32 MB / 1.074 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003329/2.987, allocations: 335.9 kB / 1.074 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.031/6.017, allocations: 0 / 1.074 GB, free: 7.91 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