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.0009648/0.0009648, allocations: 84.38 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.001195/0.001195, 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.382/1.382, allocations: 223.2 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.477/2.477, allocations: 409.4 MB / 0.684 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005132/0.0005136, allocations: 12 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7074/0.708, allocations: 146.8 MB / 0.9812 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001282/0.7093, allocations: 0.9769 MB / 0.9821 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.7106, allocations: 0.822 MB / 0.9829 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.189e-05/0.7106, allocations: 4 kB / 0.9829 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.7106, allocations: 3.938 kB / 0.9829 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.7108, allocations: 27.95 kB / 0.983 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005939/0.7114, allocations: 187.6 kB / 0.9831 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.561e-05/0.7114, allocations: 19.97 kB / 0.9832 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.7115, allocations: 0 / 0.9832 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.339e-05/0.7115, allocations: 19.98 kB / 0.9832 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.7117, allocations: 47.92 kB / 0.9832 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.7117, allocations: 0 / 0.9832 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.712, allocations: 247.5 kB / 0.9835 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.375e-05/0.7121, allocations: 15.98 kB / 0.9835 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.7121, allocations: 33.64 kB / 0.9835 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.7123, allocations: 154 kB / 0.9837 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.7123, allocations: 4 kB / 0.9837 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7123, allocations: 0 / 0.9837 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.7123, allocations: 4 kB / 0.9837 GB, free: 3.691 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.0003508/0.7127, allocations: 375.1 kB / 0.984 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.7127, allocations: 11.98 kB / 0.984 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.163e-05/0.7128, allocations: 38.56 kB / 0.9841 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.198e-05/0.7128, allocations: 3.906 kB / 0.9841 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.7129, allocations: 178.8 kB / 0.9842 GB, free: 3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.7129, allocations: 4 kB / 0.9843 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.7129, allocations: 7.984 kB / 0.9843 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.7131, allocations: 57.64 kB / 0.9843 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.7131, allocations: 0 / 0.9843 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.7131, allocations: 0 / 0.9843 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/0.7131, allocations: 15.98 kB / 0.9843 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.217e-05/0.7131, allocations: 20 kB / 0.9843 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001981/0.7134, allocations: 177.6 kB / 0.9845 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.302e-05/0.7134, allocations: 54.59 kB / 0.9846 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.554e-05/0.7135, allocations: 40.88 kB / 0.9846 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-06/0.7135, allocations: 0 / 0.9846 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.7135, allocations: 38.5 kB / 0.9846 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.7135, allocations: 0 / 0.9846 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0001974/0.7137, allocations: 137.5 kB / 0.9848 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.7138, allocations: 51.41 kB / 0.9848 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.258e-05/0.7139, allocations: 129.8 kB / 0.9849 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.7139, allocations: 25.7 kB / 0.985 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.7139, allocations: 100.2 kB / 0.9851 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.714, allocations: 23.56 kB / 0.9851 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.714, allocations: 0 / 0.9851 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.7141, allocations: 318.8 kB / 0.9854 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.92e-05/0.7141, allocations: 31.98 kB / 0.9854 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.897e-05/0.7142, allocations: 27.98 kB / 0.9855 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.343e-05/0.7142, allocations: 31.98 kB / 0.9855 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7142, allocations: 3.938 kB / 0.9855 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001086/0.7143, allocations: 97.61 kB / 0.9856 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.7144, allocations: 4 kB / 0.9856 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.7144, allocations: 3.984 kB / 0.9856 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.7144, allocations: 7.953 kB / 0.9856 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.353e-06/0.7144, allocations: 0 / 0.9856 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.7144, allocations: 0 / 0.9856 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.051e-05/0.7144, allocations: 7.844 kB / 0.9856 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.7145, allocations: 4 kB / 0.9856 GB, free: 1.477 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.0001072/0.7146, allocations: 121.8 kB / 0.9857 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.7146, allocations: 7.938 kB / 0.9857 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.486e-05/0.7146, allocations: 12.31 kB / 0.9857 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/0.7146, allocations: 19.94 kB / 0.9858 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7146, allocations: 0 / 0.9858 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.7147, allocations: 384 / 0.9858 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.7148, allocations: 169.7 kB / 0.9859 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.7148, allocations: 4 kB / 0.9859 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.7148, allocations: 0 / 0.9859 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.7148, allocations: 3.938 kB / 0.9859 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.7148, allocations: 4 kB / 0.9859 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.7148, allocations: 3.938 kB / 0.9859 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.7149, allocations: 7.953 kB / 0.9859 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.715, allocations: 125 kB / 0.9861 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.7151, allocations: 89 kB / 0.9862 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.7151, allocations: 3.984 kB / 0.9862 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.233e-05/0.7151, allocations: 4 kB / 0.9862 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.7151, allocations: 0 / 0.9862 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.7151, allocations: 7.953 kB / 0.9862 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.051e-05/0.7152, allocations: 103.3 kB / 0.9863 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7152, allocations: 0 / 0.9863 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002875/0.7155, allocations: 71.92 kB / 0.9863 GB, free: 0.6328 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.0006347/0.7161, allocations: 0.7217 MB / 0.987 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.7163, allocations: 67.97 kB / 0.9871 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7163, allocations: 4.094 kB / 0.9871 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.444e-05/0.7163, allocations: 35.98 kB / 0.9871 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.7165, allocations: 1.531 kB / 0.9871 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005037/0.717, allocations: 270.8 kB / 0.9874 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.7173, allocations: 0.7005 MB / 0.9881 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.921e-05/0.7173, allocations: 10.73 kB / 0.9881 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.7174, allocations: 19.44 kB / 0.9881 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.7174, allocations: 3.938 kB / 0.9881 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01276/0.7301, allocations: 2.63 MB / 0.9907 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/0.7304, allocations: 271 kB / 0.9909 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.405, allocations: 0 / 0.9909 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