Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.341/2.341, allocations: 390.3 MB / 402.8 MB, free: 6.699 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 184.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.96/1.96, allocations: 221.3 MB / 0.7915 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009628/0.0009628, allocations: 83.97 kB / 0.9317 GB, free: 5.785 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.084e-05/3.088e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.235, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9167/1.152, allocations: 155.3 MB / 1.371 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/1.152, allocations: 109.5 kB / 1.371 GB, free: 14.78 MB / 0.8386 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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 FrontEnd - DAE generated: time 0.05457/1.207, allocations: 13.22 MB / 1.384 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.91e-07/1.207, allocations: 0 / 1.384 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.168e-05/1.207, allocations: 12 kB / 1.384 GB, free: 3.168 MB / 0.8386 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.001152/1.208, allocations: 1.011 MB / 1.385 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/1.208, allocations: 8.031 kB / 1.385 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.261e-05/1.208, allocations: 30.56 kB / 1.385 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/1.208, allocations: 118.4 kB / 1.385 GB, free: 2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008868/1.209, allocations: 0.5495 MB / 1.385 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/1.209, allocations: 0 / 1.385 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.033e-05/1.209, allocations: 4 kB / 1.385 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/1.21, allocations: 241.3 kB / 1.385 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/1.21, allocations: 0 / 1.385 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/1.21, allocations: 4 kB / 1.385 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/1.21, allocations: 3.938 kB / 1.385 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004872/1.21, allocations: 343.5 kB / 1.386 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005855/1.211, allocations: 0.6119 MB / 1.386 GB, free: 272 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/1.211, allocations: 190.6 kB / 1.387 GB, free: 72 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/1.211, allocations: 180.7 kB / 1.387 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.676e-05/1.211, allocations: 24.72 kB / 1.387 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/1.211, allocations: 37.94 kB / 1.387 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/1.211, allocations: 0 / 1.387 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0008496/1.212, allocations: 0.5074 MB / 1.387 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/1.212, allocations: 55.44 kB / 1.387 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/1.214, allocations: 1.207 MB / 1.389 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/1.214, allocations: 29.7 kB / 1.389 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/1.214, allocations: 458 kB / 1.389 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/1.214, allocations: 3.25 kB / 1.389 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/1.214, allocations: 4 kB / 1.389 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001312/1.214, allocations: 338.9 kB / 1.389 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007622/1.215, allocations: 0.685 MB / 1.39 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007604/1.216, allocations: 0.6888 MB / 1.391 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/1.217, allocations: 0.7151 MB / 1.391 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.217, allocations: 4 kB / 1.391 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003407/1.221, allocations: 1.627 MB / 1.393 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/1.221, allocations: 4 kB / 1.393 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000136/1.221, allocations: 28 kB / 1.393 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/1.221, allocations: 4 kB / 1.393 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/1.221, allocations: 11.97 kB / 1.393 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/1.221, allocations: 3.984 kB / 1.393 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007827/1.222, allocations: 78.78 kB / 1.393 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/1.222, allocations: 78.66 kB / 1.393 GB, free: 10.35 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 105 (cmp,labels[1],labels[2],labels[3],labels[4],labels[5],labels[6],labels[7],labels[8],labels[9],labels[10],labels[11],labels[12],labels[13],labels[14],labels[15],labels[16],labels[17],labels[18],labels[19],labels[20],labels[21],labels[22],labels[23],labels[24],labels[25],labels[26],labels[27],labels[28],labels[29],labels[30],labels[31],labels[32],labels[33],labels[34],labels[35],labels[36],labels[37],labels[38],labels[39],labels[40],labels[41],labels[42],labels[43],labels[44],labels[45],labels[46],labels[47],labels[48],labels[49],labels[50],labels[51],labels[52],labels[53],labels[54],labels[55],labels[56],labels[57],labels[58],labels[59],labels[60],labels[61],labels[62],labels[63],labels[64],labels[65],labels[66],labels[67],labels[68],labels[69],labels[70],labels[71],labels[72],labels[73],labels[74],labels[75],labels[76],labels[77],labels[78],labels[79],labels[80],labels[81],labels[82],labels[83],labels[84],labels[85],labels[86],labels[87],labels[88],labels[89],labels[90],labels[91],labels[92],labels[93],labels[94],labels[95],labels[96],labels[97],labels[98],labels[99],labels[100],cluSiz[1],cluSiz[2],cluSiz[3],cluSiz[4]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003287/1.222, allocations: 172.9 kB / 1.393 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/1.223, allocations: 110.5 kB / 1.393 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002504/1.225, allocations: 0.6851 MB / 1.394 GB, free: 9.43 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/1.225, allocations: 3.938 kB / 1.394 GB, free: 9.426 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.225, allocations: 0 / 1.394 GB, free: 9.426 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/1.225, allocations: 4.031 kB / 1.394 GB, free: 9.422 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008586/1.226, allocations: 0.5305 MB / 1.395 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.226, allocations: 0 / 1.395 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.939e-05/1.226, allocations: 23.95 kB / 1.395 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/1.226, allocations: 0 / 1.395 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.349e-05/1.226, allocations: 15.97 kB / 1.395 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.226, allocations: 0 / 1.395 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.226, allocations: 0 / 1.395 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/1.227, allocations: 0.5403 MB / 1.395 GB, free: 8.344 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003116/1.228, allocations: 179.6 kB / 1.395 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/1.228, allocations: 0 / 1.395 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004494/1.228, allocations: 0 / 1.395 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/1.228, allocations: 19.95 kB / 1.395 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.136e-05/1.229, allocations: 39.97 kB / 1.395 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001706/1.23, allocations: 0.9045 MB / 1.396 GB, free: 7.336 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.056e-06/1.23, allocations: 0 / 1.396 GB, free: 7.336 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00121/1.232, allocations: 251.2 kB / 1.397 GB, free: 7.094 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002589/1.234, allocations: 1.283 MB / 1.398 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001878/1.236, allocations: 1.091 MB / 1.399 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.236, allocations: 0 / 1.399 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004976/1.237, allocations: 187.7 kB / 1.399 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000473/1.237, allocations: 57.22 kB / 1.399 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003861/1.241, allocations: 1.596 MB / 1.401 GB, free: 3.184 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009361/1.242, allocations: 1.041 MB / 1.402 GB, free: 2.117 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0006931/1.243, allocations: 167.3 kB / 1.402 GB, free: 1.953 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006466/1.243, allocations: 384.9 kB / 1.402 GB, free: 1.852 MB / 0.8542 GB Notification: Performance of SimCode: time 6.51e-07/1.243, allocations: 0 / 1.402 GB, free: 1.852 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05074/1.294, allocations: 17.22 MB / 1.419 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003441/1.294, allocations: 271.4 kB / 1.419 GB, free: 492 kB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.554/3.848, allocations: 3.938 kB / 1.419 GB, free: 488 kB / 0.8698 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes_res.mat does not exist to compare? outputFormat=mat