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.0008174/0.0008176, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0008779/0.0008781, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.458/2.458, allocations: 409.4 MB / 0.684 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004917/0.000492, allocations: 15.98 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7346/0.7352, allocations: 146.8 MB / 0.9812 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0007538/0.736, allocations: 280.8 kB / 0.9815 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.7371, allocations: 0.7728 MB / 0.9822 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.755e-05/0.7372, allocations: 8 kB / 0.9822 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.13e-05/0.7372, allocations: 0 / 0.9822 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.941e-06/0.7372, allocations: 0 / 0.9822 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.7375, allocations: 4 kB / 0.9822 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.918e-05/0.7375, allocations: 0 / 0.9822 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.33e-05/0.7376, allocations: 3.984 kB / 0.9822 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.675e-05/0.7376, allocations: 4 kB / 0.9822 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.7378, allocations: 23.92 kB / 0.9822 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.206e-06/0.7378, allocations: 4 kB / 0.9823 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.619e-06/0.7378, allocations: 0 / 0.9823 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.564e-06/0.7378, allocations: 0 / 0.9823 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.7378, allocations: 29.69 kB / 0.9823 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 2.555e-05/0.7379, allocations: 3.938 kB / 0.9823 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.7379, allocations: 0 / 0.9823 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7379, allocations: 0 / 0.9823 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.7379, allocations: 0 / 0.9823 GB, free: 5.133 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.0002783/0.7382, allocations: 307.4 kB / 0.9826 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.7382, allocations: 12.03 kB / 0.9826 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.7383, allocations: 30.56 kB / 0.9826 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.227e-05/0.7383, allocations: 0 / 0.9826 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.7384, allocations: 163.1 kB / 0.9828 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.7384, allocations: 0 / 0.9828 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-06/0.7384, allocations: 0 / 0.9828 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.7385, allocations: 37.66 kB / 0.9828 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.7386, allocations: 0 / 0.9828 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.7386, allocations: 0 / 0.9828 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.7386, allocations: 4 kB / 0.9828 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.303e-05/0.7386, allocations: 3.938 kB / 0.9828 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.739, allocations: 383.4 kB / 0.9832 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.433e-05/0.7391, allocations: 169.1 kB / 0.9833 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.917e-05/0.7391, allocations: 80.14 kB / 0.9834 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.7391, allocations: 83.31 kB / 0.9835 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.395e-05/0.7392, allocations: 105.8 kB / 0.9836 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 2.755e-06/0.7392, allocations: 0 / 0.9836 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.291e-05/0.7393, allocations: 31.94 kB / 0.9836 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.7394, allocations: 126.7 kB / 0.9838 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.312e-05/0.7394, allocations: 97.86 kB / 0.9838 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.7395, allocations: 29.83 kB / 0.9839 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.7395, allocations: 80.14 kB / 0.984 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-06/0.7395, allocations: 0 / 0.984 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-06/0.7395, allocations: 0 / 0.984 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.7396, allocations: 318.8 kB / 0.9843 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.508e-06/0.7397, allocations: 0 / 0.9843 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-06/0.7397, allocations: 7.938 kB / 0.9843 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.808e-05/0.7397, allocations: 0 / 0.9843 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7397, allocations: 0 / 0.9843 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001033/0.7398, allocations: 45.66 kB / 0.9843 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.7398, allocations: 8 kB / 0.9843 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.7398, allocations: 0 / 0.9843 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.7399, allocations: 0 / 0.9843 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.116e-05/0.7399, allocations: 0 / 0.9843 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.7399, allocations: 0 / 0.9843 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.259e-05/0.7399, allocations: 0 / 0.9843 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.74, allocations: 4 kB / 0.9843 GB, free: 2.816 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.000102/0.7401, allocations: 189.1 kB / 0.9845 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/0.7401, allocations: 105 kB / 0.9846 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.911e-05/0.7402, allocations: 112 kB / 0.9847 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.091e-05/0.7402, allocations: 180.3 kB / 0.9849 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-05/0.7403, allocations: 184.2 kB / 0.9851 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.258e-05/0.7404, allocations: 180.2 kB / 0.9852 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.7406, allocations: 401.2 kB / 0.9856 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.088e-05/0.7406, allocations: 104.9 kB / 0.9857 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.199e-05/0.7407, allocations: 105 kB / 0.9858 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.055e-05/0.7407, allocations: 184.2 kB / 0.986 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.352e-05/0.7408, allocations: 184.2 kB / 0.9862 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.539e-05/0.7409, allocations: 180.2 kB / 0.9863 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.407e-05/0.7409, allocations: 180.3 kB / 0.9865 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.741, allocations: 307.8 kB / 0.9868 GB, free: 112 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-05/0.7411, allocations: 182.1 kB / 0.987 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.064e-05/0.7412, allocations: 184.2 kB / 0.9871 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.7413, allocations: 113.2 kB / 0.9873 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.7414, allocations: 184.2 kB / 0.9874 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.7414, allocations: 104.9 kB / 0.9875 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.302e-05/0.7414, allocations: 79.28 kB / 0.9876 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7414, allocations: 4 kB / 0.9876 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002288/0.7417, allocations: 0 / 0.9876 GB, free: 15.22 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.0003802/0.7421, allocations: 0.8128 MB / 0.9884 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 5.867e-05/0.7421, allocations: 3.938 kB / 0.9884 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.7421, allocations: 0 / 0.9884 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.7421, allocations: 7.938 kB / 0.9884 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.7425, allocations: 0.53 MB / 0.9889 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.7428, allocations: 171.7 kB / 0.9891 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.7431, allocations: 0.6731 MB / 0.9898 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.361e-05/0.7431, allocations: 0 / 0.9898 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.813e-05/0.7431, allocations: 7.438 kB / 0.9898 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of SimCode: time 4.81e-07/0.7431, allocations: 4 kB / 0.9898 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01077/0.7539, allocations: 0.7648 MB / 0.9905 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000343/0.7543, allocations: 258.3 kB / 0.9908 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/2.381, allocations: 0 / 0.9908 GB, free: 12.04 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