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.0009509/0.0009508, allocations: 85.94 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.001144/0.001144, 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.351/1.351, allocations: 223.3 MB / 240 MB, free: 5.414 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.309/2.309, allocations: 390.4 MB / 0.6655 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004704, allocations: 12 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6629/0.6634, allocations: 142.3 MB / 0.9539 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.00117/0.6646, allocations: 0.9766 MB / 0.9548 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.6657, allocations: 0.8235 MB / 0.9556 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.175e-05/0.6658, allocations: 0 / 0.9556 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.368e-05/0.6658, allocations: 5.781 kB / 0.9556 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.6659, allocations: 30.48 kB / 0.9557 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005673/0.6665, allocations: 187.5 kB / 0.9559 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.588e-05/0.6666, allocations: 25.12 kB / 0.9559 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.6666, allocations: 1 kB / 0.9559 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.31e-05/0.6667, allocations: 13.89 kB / 0.9559 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.6668, allocations: 53.48 kB / 0.9559 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/0.6668, allocations: 0 / 0.9559 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003203/0.6671, allocations: 238 kB / 0.9562 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.622e-05/0.6672, allocations: 21.8 kB / 0.9562 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.896e-05/0.6672, allocations: 32.17 kB / 0.9562 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.6674, allocations: 156.9 kB / 0.9564 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6674, allocations: 0 / 0.9564 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6674, allocations: 3.938 kB / 0.9564 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.6674, allocations: 0 / 0.9564 GB, free: 6.281 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.000271/0.6677, allocations: 378.7 kB / 0.9567 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.6677, allocations: 8.25 kB / 0.9567 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.63e-05/0.6678, allocations: 35.97 kB / 0.9568 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.175e-05/0.6678, allocations: 10.3 kB / 0.9568 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.64e-05/0.6679, allocations: 178.9 kB / 0.957 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.6679, allocations: 0.875 kB / 0.957 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.6679, allocations: 1.344 kB / 0.957 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.977e-05/0.668, allocations: 59.53 kB / 0.957 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.668, allocations: 0 / 0.957 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.668, allocations: 7.922 kB / 0.957 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.068e-05/0.6681, allocations: 14.39 kB / 0.957 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.501e-05/0.6681, allocations: 24.64 kB / 0.9571 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.6683, allocations: 177.1 kB / 0.9572 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.584e-05/0.6683, allocations: 49.84 kB / 0.9573 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.802e-05/0.6684, allocations: 38.97 kB / 0.9573 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.172e-06/0.6684, allocations: 0 / 0.9573 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.336e-05/0.6684, allocations: 35.75 kB / 0.9574 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 8.22e-07/0.6684, allocations: 0 / 0.9574 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.000188/0.6686, allocations: 125.8 kB / 0.9575 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.6686, allocations: 60.81 kB / 0.9575 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.969e-05/0.6687, allocations: 134.3 kB / 0.9577 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.141e-06/0.6687, allocations: 25.7 kB / 0.9577 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.338e-05/0.6688, allocations: 89.91 kB / 0.9578 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.6688, allocations: 31.25 kB / 0.9578 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-06/0.6688, allocations: 0 / 0.9578 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.44e-05/0.6688, allocations: 318.3 kB / 0.9581 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.822e-05/0.6689, allocations: 29.83 kB / 0.9581 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.483e-05/0.6689, allocations: 27.64 kB / 0.9582 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.843e-05/0.669, allocations: 37.08 kB / 0.9582 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.669, allocations: 0 / 0.9582 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001007/0.6691, allocations: 101.3 kB / 0.9583 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.6691, allocations: 5.344 kB / 0.9583 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.6691, allocations: 5.5 kB / 0.9583 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.6691, allocations: 3.984 kB / 0.9583 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.173e-06/0.6691, allocations: 0 / 0.9583 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.6691, allocations: 0 / 0.9583 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.704e-05/0.6691, allocations: 9.891 kB / 0.9583 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.6692, allocations: 1.75 kB / 0.9583 GB, free: 4.457 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 5.933e-05/0.6692, allocations: 123.6 kB / 0.9584 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.6692, allocations: 6.469 kB / 0.9584 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.224e-05/0.6693, allocations: 6.781 kB / 0.9584 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.851e-05/0.6693, allocations: 14.92 kB / 0.9585 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.6693, allocations: 0 / 0.9585 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.6693, allocations: 0 / 0.9585 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.808e-05/0.6694, allocations: 178.3 kB / 0.9586 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6694, allocations: 0 / 0.9586 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.8e-07/0.6694, allocations: 0 / 0.9586 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.6694, allocations: 1.031 kB / 0.9586 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.6694, allocations: 5.375 kB / 0.9586 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.6694, allocations: 0 / 0.9586 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6694, allocations: 4 kB / 0.9586 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.6696, allocations: 135.1 kB / 0.9588 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.9e-05/0.6696, allocations: 87.12 kB / 0.9589 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.6696, allocations: 0 / 0.9589 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.046e-05/0.6696, allocations: 1.094 kB / 0.9589 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.6696, allocations: 5.062 kB / 0.9589 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.6697, allocations: 2.25 kB / 0.9589 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.421e-05/0.6697, allocations: 103.9 kB / 0.959 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6697, allocations: 0 / 0.959 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002901/0.67, allocations: 73.08 kB / 0.959 GB, free: 3.805 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.0004284/0.6704, allocations: 0.7417 MB / 0.9598 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.997e-05/0.6705, allocations: 66.72 kB / 0.9598 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6706, allocations: 1.125 kB / 0.9598 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.342e-05/0.6706, allocations: 36.17 kB / 0.9599 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.6707, allocations: 6.672 kB / 0.9599 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.6712, allocations: 270.3 kB / 0.9601 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.6713, allocations: 0.697 MB / 0.9608 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.434e-05/0.6713, allocations: 4.125 kB / 0.9608 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.6714, allocations: 20.81 kB / 0.9608 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6714, allocations: 1.375 kB / 0.9608 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01302/0.6844, allocations: 2.633 MB / 0.9634 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/0.6846, allocations: 279.4 kB / 0.9637 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.399, allocations: 1.062 kB / 0.9637 GB, free: 0.6094 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