Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_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.0009966/0.0009969, 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.0009879/0.0009879, 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 1.395/1.395, 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 9.1.1-maint.9.1.x/package.mo): time 2.42/2.42, allocations: 390.3 MB / 0.6653 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004004, allocations: 8 kB / 0.8147 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8142/0.8146, allocations: 142.3 MB / 0.9536 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001349/0.816, allocations: 0.9628 MB / 0.9546 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.8174, allocations: 0.8238 MB / 0.9554 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.8174, allocations: 0 / 0.9554 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.8175, allocations: 0 / 0.9554 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.812e-05/0.8175, allocations: 27.89 kB / 0.9554 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007711/0.8183, allocations: 169.4 kB / 0.9556 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.697e-05/0.8184, allocations: 20.67 kB / 0.9556 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.8185, allocations: 0 / 0.9556 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4e-05/0.8185, allocations: 22.55 kB / 0.9556 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.8186, allocations: 35.67 kB / 0.9556 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.947e-06/0.8186, allocations: 0 / 0.9556 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004419/0.8191, allocations: 220.4 kB / 0.9559 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.479e-05/0.8191, allocations: 22.23 kB / 0.9559 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.8192, allocations: 31.95 kB / 0.9559 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.8195, allocations: 160.4 kB / 0.9561 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.8195, allocations: 4 kB / 0.9561 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8195, allocations: 0.9375 kB / 0.9561 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.8195, allocations: 0 / 0.9561 GB, free: 6.316 MB / 0.7169 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.0003669/0.8199, allocations: 381 kB / 0.9564 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.8199, allocations: 9.406 kB / 0.9564 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.145e-05/0.8199, allocations: 33.25 kB / 0.9565 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.82, allocations: 9.297 kB / 0.9565 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.986e-05/0.8201, allocations: 171.1 kB / 0.9566 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.8201, allocations: 0 / 0.9566 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-06/0.8201, allocations: 5.312 kB / 0.9566 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.8202, allocations: 63.33 kB / 0.9567 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.8203, allocations: 0 / 0.9567 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.8203, allocations: 5.141 kB / 0.9567 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.582e-05/0.8203, allocations: 9.906 kB / 0.9567 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.939e-05/0.8204, allocations: 32.31 kB / 0.9567 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.8205, allocations: 169.1 kB / 0.9569 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.363e-05/0.8206, allocations: 50.2 kB / 0.957 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-06/0.8206, allocations: 4 kB / 0.957 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.8206, allocations: 35.92 kB / 0.957 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.8206, allocations: 3.938 kB / 0.957 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0002395/0.8209, allocations: 207.6 kB / 0.9572 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.8209, allocations: 51.41 kB / 0.9572 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.614e-05/0.821, allocations: 134 kB / 0.9574 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.821, allocations: 33.62 kB / 0.9574 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.882e-05/0.821, allocations: 97.44 kB / 0.9575 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.8211, allocations: 26.33 kB / 0.9575 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.8211, allocations: 0 / 0.9575 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.692e-05/0.8211, allocations: 317.9 kB / 0.9578 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.815e-05/0.8212, allocations: 29.48 kB / 0.9579 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.546e-05/0.8212, allocations: 29.11 kB / 0.9579 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.138e-05/0.8213, allocations: 36.55 kB / 0.9579 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8213, allocations: 0 / 0.9579 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001068/0.8214, allocations: 97.77 kB / 0.958 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.8214, allocations: 4.375 kB / 0.958 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.8214, allocations: 5.5 kB / 0.958 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.8214, allocations: 0 / 0.958 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-06/0.8214, allocations: 4 kB / 0.958 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.8214, allocations: 0.9062 kB / 0.958 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.996e-05/0.8215, allocations: 5.188 kB / 0.958 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.8215, allocations: 5.453 kB / 0.958 GB, free: 4.418 MB / 0.7169 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 6.366e-05/0.8215, allocations: 120.3 kB / 0.9581 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.8216, allocations: 6.156 kB / 0.9582 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.538e-05/0.8216, allocations: 14.8 kB / 0.9582 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.8216, allocations: 14.22 kB / 0.9582 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.8216, allocations: 0 / 0.9582 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.8216, allocations: 1.25 kB / 0.9582 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.8217, allocations: 177.6 kB / 0.9584 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.8217, allocations: 0 / 0.9584 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.313e-06/0.8217, allocations: 1.75 kB / 0.9584 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.8218, allocations: 0 / 0.9584 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.8218, allocations: 0 / 0.9584 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.8218, allocations: 1.781 kB / 0.9584 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.8218, allocations: 3.984 kB / 0.9584 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.8219, allocations: 129.4 kB / 0.9585 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.8219, allocations: 83.23 kB / 0.9586 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.8219, allocations: 6.125 kB / 0.9586 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.22e-05/0.822, allocations: 0 / 0.9586 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.822, allocations: 4 kB / 0.9586 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.822, allocations: 7.344 kB / 0.9586 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.834e-05/0.822, allocations: 107.1 kB / 0.9587 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.822, allocations: 0 / 0.9587 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000351/0.8224, allocations: 74.38 kB / 0.9588 GB, free: 3.762 MB / 0.7169 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.0005178/0.8229, allocations: 0.7332 MB / 0.9595 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.823, allocations: 66.77 kB / 0.9595 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.823, allocations: 0.7812 kB / 0.9595 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.495e-05/0.8231, allocations: 40.23 kB / 0.9596 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/0.8232, allocations: 1.375 kB / 0.9596 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004709/0.8237, allocations: 259.2 kB / 0.9598 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.8238, allocations: 0.7026 MB / 0.9605 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.579e-05/0.8238, allocations: 7.781 kB / 0.9605 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.8239, allocations: 20.77 kB / 0.9605 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of SimCode: time 1.9e-07/0.8239, allocations: 5.219 kB / 0.9605 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01366/0.8376, allocations: 2.616 MB / 0.9631 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/0.8378, allocations: 261.9 kB / 0.9633 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/2.535, allocations: 0 / 0.9633 GB, free: 0.6055 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat does not exist to compare? outputFormat=mat