Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.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.AggregationWeightingFactors,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",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.001993/0.001993, allocations: 99.86 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.002878/0.002878, allocations: 177.3 kB / 15.94 MB, free: 228 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.721/2.721, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.911/4.911, allocations: 409.2 MB / 0.6838 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006948/0.0006949, allocations: 16 kB / 0.8375 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542/1.543, allocations: 146.8 MB / 0.9809 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002051/1.545, allocations: 0.9691 MB / 0.9818 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002128/1.547, allocations: 0.8181 MB / 0.9826 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.451e-05/1.547, allocations: 0 / 0.9826 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.942e-05/1.547, allocations: 0 / 0.9826 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001536/1.547, allocations: 27.95 kB / 0.9827 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009853/1.548, allocations: 183.6 kB / 0.9829 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.637e-05/1.548, allocations: 19.91 kB / 0.9829 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.6e-05/1.548, allocations: 0 / 0.9829 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.296e-05/1.548, allocations: 11.98 kB / 0.9829 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/1.549, allocations: 35.95 kB / 0.9829 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/1.549, allocations: 3.938 kB / 0.9829 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006472/1.549, allocations: 235.6 kB / 0.9831 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.308e-05/1.549, allocations: 11.98 kB / 0.9832 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.052e-05/1.549, allocations: 33.64 kB / 0.9832 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003198/1.55, allocations: 154 kB / 0.9833 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.55, allocations: 0 / 0.9833 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.647e-06/1.55, allocations: 0 / 0.9833 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.84e-06/1.55, allocations: 4 kB / 0.9833 GB, free: 3.734 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005872/1.55, allocations: 379.1 kB / 0.9837 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.375e-05/1.55, allocations: 11.98 kB / 0.9837 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.954e-05/1.55, allocations: 34.56 kB / 0.9837 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/1.551, allocations: 7.906 kB / 0.9838 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/1.551, allocations: 178.8 kB / 0.9839 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/1.551, allocations: 4 kB / 0.9839 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/1.551, allocations: 0 / 0.9839 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/1.551, allocations: 61.58 kB / 0.984 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/1.551, allocations: 3.938 kB / 0.984 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/1.551, allocations: 0 / 0.984 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.865e-05/1.551, allocations: 15.98 kB / 0.984 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.164e-05/1.551, allocations: 24 kB / 0.984 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/1.551, allocations: 173.7 kB / 0.9842 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/1.552, allocations: 54.59 kB / 0.9842 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/1.552, allocations: 3.984 kB / 0.9842 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/1.552, allocations: 30.56 kB / 0.9843 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/1.552, allocations: 0 / 0.9843 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0004049/1.552, allocations: 222.7 kB / 0.9845 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/1.552, allocations: 51.41 kB / 0.9845 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/1.552, allocations: 133.9 kB / 0.9847 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/1.552, allocations: 25.7 kB / 0.9847 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.783e-05/1.552, allocations: 88.14 kB / 0.9848 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.597e-05/1.553, allocations: 31.83 kB / 0.9848 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/1.553, allocations: 0 / 0.9848 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002196/1.553, allocations: 318.8 kB / 0.9851 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.898e-05/1.553, allocations: 35.92 kB / 0.9851 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.076e-05/1.553, allocations: 20 kB / 0.9852 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.309e-05/1.553, allocations: 40 kB / 0.9852 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.553, allocations: 0 / 0.9852 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001701/1.553, allocations: 97.53 kB / 0.9853 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/1.553, allocations: 5.875 kB / 0.9853 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/1.553, allocations: 7.984 kB / 0.9853 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/1.553, allocations: 3.953 kB / 0.9853 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.917e-06/1.553, allocations: 4 kB / 0.9853 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/1.553, allocations: 0 / 0.9853 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.59e-05/1.553, allocations: 7.844 kB / 0.9853 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/1.553, allocations: 0 / 0.9853 GB, free: 1.461 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: 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): 0 * Array equations: 1 * 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.0001607/1.553, allocations: 125.9 kB / 0.9854 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/1.554, allocations: 7.906 kB / 0.9854 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/1.554, allocations: 4.375 kB / 0.9855 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.665e-05/1.554, allocations: 15.98 kB / 0.9855 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/1.554, allocations: 7.891 kB / 0.9855 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/1.554, allocations: 0 / 0.9855 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/1.554, allocations: 173.7 kB / 0.9856 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/1.554, allocations: 0 / 0.9856 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-07/1.554, allocations: 0 / 0.9856 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/1.554, allocations: 0 / 0.9856 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/1.554, allocations: 8 kB / 0.9856 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.554, allocations: 3.938 kB / 0.9857 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.554, allocations: 0 / 0.9857 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/1.554, allocations: 125 kB / 0.9858 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-05/1.554, allocations: 85.02 kB / 0.9859 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/1.554, allocations: 0 / 0.9859 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.647e-05/1.554, allocations: 0 / 0.9859 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/1.554, allocations: 3.984 kB / 0.9859 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/1.554, allocations: 8.031 kB / 0.9859 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001022/1.555, allocations: 107.2 kB / 0.986 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/1.555, allocations: 0 / 0.986 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005112/1.555, allocations: 79.91 kB / 0.986 GB, free: 0.6211 MB / 0.7325 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: 1 * 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.0009581/1.556, allocations: 0.7178 MB / 0.9867 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002977/1.556, allocations: 75.94 kB / 0.9868 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.556, allocations: 0 / 0.9868 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.759e-05/1.556, allocations: 35.98 kB / 0.9869 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/1.557, allocations: 0 / 0.9869 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007426/1.557, allocations: 271 kB / 0.9871 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/1.558, allocations: 0.7004 MB / 0.9878 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.214e-05/1.558, allocations: 7.125 kB / 0.9878 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.348e-05/1.558, allocations: 19.44 kB / 0.9878 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of SimCode: time 2.615e-06/1.558, allocations: 0 / 0.9878 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/1.582, allocations: 2.614 MB / 0.9904 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006273/1.582, allocations: 262.4 kB / 0.9906 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.031/4.613, allocations: 6.438 kB / 0.9906 GB, free: 11.98 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.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.AggregationWeightingFactors_res.mat does not exist to compare? outputFormat=mat