Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.CountAggregationCells,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",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.001464/0.001464, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.002146/0.002146, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.695/2.695, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.784/4.784, allocations: 409.2 MB / 0.6838 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007858/0.000786, allocations: 8 kB / 0.8375 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421/1.422, allocations: 146.8 MB / 0.9809 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001037/1.423, allocations: 284.7 kB / 0.9812 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001458/1.425, allocations: 0.769 MB / 0.9819 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.189e-05/1.425, allocations: 0 / 0.9819 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.978e-05/1.425, allocations: 3.938 kB / 0.9819 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.025e-06/1.425, allocations: 0 / 0.9819 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003918/1.425, allocations: 15.97 kB / 0.9819 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.173e-05/1.425, allocations: 3.938 kB / 0.9819 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.271e-05/1.425, allocations: 0 / 0.9819 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.419e-05/1.425, allocations: 0 / 0.9819 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/1.426, allocations: 23.98 kB / 0.982 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/1.426, allocations: 0 / 0.982 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.29e-06/1.426, allocations: 0 / 0.982 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/1.426, allocations: 3.984 kB / 0.982 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/1.426, allocations: 25.7 kB / 0.982 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 4.404e-05/1.426, allocations: 0 / 0.982 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.426, allocations: 0 / 0.982 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.225e-06/1.426, allocations: 4 kB / 0.982 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.334e-06/1.426, allocations: 0 / 0.982 GB, free: 5.129 MB / 0.7325 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.0004512/1.426, allocations: 312.9 kB / 0.9823 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.908e-05/1.426, allocations: 8.094 kB / 0.9823 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.006e-05/1.426, allocations: 30.56 kB / 0.9823 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/1.426, allocations: 4 kB / 0.9823 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/1.427, allocations: 167 kB / 0.9825 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/1.427, allocations: 0 / 0.9825 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/1.427, allocations: 3.984 kB / 0.9825 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/1.427, allocations: 33.59 kB / 0.9825 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/1.427, allocations: 0 / 0.9825 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/1.427, allocations: 0 / 0.9825 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/1.427, allocations: 8 kB / 0.9825 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.806e-05/1.427, allocations: 0 / 0.9825 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005178/1.427, allocations: 379.4 kB / 0.9829 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/1.428, allocations: 177.1 kB / 0.9831 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/1.428, allocations: 75.28 kB / 0.9831 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.839e-05/1.428, allocations: 109.8 kB / 0.9832 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/1.428, allocations: 0 / 0.9832 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.864e-05/1.428, allocations: 32.14 kB / 0.9833 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/1.428, allocations: 126.7 kB / 0.9834 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/1.428, allocations: 93.86 kB / 0.9835 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/1.428, allocations: 25.7 kB / 0.9835 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/1.428, allocations: 84.27 kB / 0.9836 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-06/1.428, allocations: 0 / 0.9836 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/1.428, allocations: 0 / 0.9836 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002036/1.428, allocations: 314.8 kB / 0.9839 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.137e-05/1.428, allocations: 4 kB / 0.9839 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-06/1.428, allocations: 3.938 kB / 0.9839 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.338e-05/1.429, allocations: 7.938 kB / 0.9839 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.429, allocations: 0 / 0.9839 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000133/1.429, allocations: 37.66 kB / 0.9839 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/1.429, allocations: 8.094 kB / 0.984 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/1.429, allocations: 0 / 0.984 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/1.429, allocations: 0 / 0.984 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.375e-05/1.429, allocations: 0 / 0.984 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/1.429, allocations: 4 kB / 0.984 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.442e-05/1.429, allocations: 0 / 0.984 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/1.429, allocations: 3.984 kB / 0.984 GB, free: 2.891 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001731/1.429, allocations: 185.1 kB / 0.9841 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.986e-05/1.429, allocations: 112.9 kB / 0.9842 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.814e-05/1.429, allocations: 116.1 kB / 0.9844 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000123/1.429, allocations: 184.1 kB / 0.9845 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001056/1.43, allocations: 176.3 kB / 0.9847 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001134/1.43, allocations: 180.2 kB / 0.9849 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003713/1.43, allocations: 409.2 kB / 0.9853 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.905e-05/1.43, allocations: 105 kB / 0.9854 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.533e-05/1.43, allocations: 108.9 kB / 0.9855 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001093/1.43, allocations: 180.3 kB / 0.9856 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.895e-05/1.43, allocations: 180.2 kB / 0.9858 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001541/1.431, allocations: 180.2 kB / 0.986 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.25e-05/1.431, allocations: 180.3 kB / 0.9862 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/1.431, allocations: 307.8 kB / 0.9864 GB, free: 180 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/1.431, allocations: 178.1 kB / 0.9866 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/1.431, allocations: 184.2 kB / 0.9868 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/1.431, allocations: 104.9 kB / 0.9869 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/1.431, allocations: 196.5 kB / 0.9871 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.768e-05/1.432, allocations: 101 kB / 0.9872 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.567e-05/1.432, allocations: 79.28 kB / 0.9873 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/1.432, allocations: 0 / 0.9873 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002975/1.432, allocations: 0 / 0.9873 GB, free: 15.3 MB / 0.7481 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 (0): * Single equations (assignments): 0 * 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.0006682/1.433, allocations: 0.8167 MB / 0.988 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 8.477e-05/1.433, allocations: 4 kB / 0.9881 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.433, allocations: 0 / 0.9881 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/1.433, allocations: 0 / 0.9881 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/1.433, allocations: 0.5224 MB / 0.9886 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/1.434, allocations: 178 kB / 0.9887 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/1.434, allocations: 0.6809 MB / 0.9894 GB, free: 13 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.976e-05/1.434, allocations: 7.875 kB / 0.9894 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/1.434, allocations: 7.438 kB / 0.9894 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of SimCode: time 5.51e-07/1.434, allocations: 0 / 0.9894 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/1.453, allocations: 0.7507 MB / 0.9901 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004631/1.453, allocations: 259.6 kB / 0.9904 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.962/4.415, allocations: 0 / 0.9904 GB, free: 12.13 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat does not exist to compare? outputFormat=mat