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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.279/2.279, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 184.8 kB / 491.2 MB, free: 1.59 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 221.5 MB / 0.7868 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 91.94 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.166e-05/2.159e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2897, allocations: 143 MB / 1.212 GB, free: 39.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.008/1.298, allocations: 151.5 MB / 1.36 GB, free: 17.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/1.298, allocations: 108.9 kB / 1.36 GB, free: 17.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01133/1.309, allocations: 3.804 MB / 1.364 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.573e-06/1.31, allocations: 0 / 1.364 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.141e-06/1.31, allocations: 0 / 1.364 GB, free: 32.92 MB / 0.8386 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.0003443/1.31, allocations: 397.9 kB / 1.365 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/1.31, allocations: 11.02 kB / 1.365 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/1.31, allocations: 7.781 kB / 1.365 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.488e-05/1.31, allocations: 173.9 kB / 1.365 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/1.31, allocations: 0 / 1.365 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/1.31, allocations: 0 / 1.365 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.746e-05/1.31, allocations: 40.27 kB / 1.365 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.49e-05/1.31, allocations: 61.38 kB / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/1.31, allocations: 7.875 kB / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/1.31, allocations: 0 / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/1.31, allocations: 7.719 kB / 1.365 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/1.311, allocations: 158.7 kB / 1.365 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.739e-05/1.311, allocations: 56.73 kB / 1.365 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.168e-05/1.311, allocations: 44.34 kB / 1.365 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/1.311, allocations: 4 kB / 1.365 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/1.311, allocations: 30.56 kB / 1.365 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/1.311, allocations: 0 / 1.365 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002072/1.311, allocations: 112.8 kB / 1.365 GB, free: 32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/1.311, allocations: 51.41 kB / 1.365 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.117e-05/1.311, allocations: 118 kB / 1.365 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/1.311, allocations: 25.7 kB / 1.365 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/1.311, allocations: 95.3 kB / 1.366 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/1.311, allocations: 33.48 kB / 1.366 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/1.311, allocations: 0 / 1.366 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.349e-05/1.311, allocations: 321.7 kB / 1.366 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.35e-05/1.311, allocations: 32.52 kB / 1.366 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.809e-05/1.311, allocations: 32.08 kB / 1.366 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.394e-05/1.311, allocations: 38.95 kB / 1.366 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.311, allocations: 3.953 kB / 1.366 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001229/1.312, allocations: 111.6 kB / 1.366 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/1.312, allocations: 11.09 kB / 1.366 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.312, allocations: 0 / 1.366 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/1.312, allocations: 96 / 1.366 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.515e-06/1.312, allocations: 3.938 kB / 1.366 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/1.312, allocations: 3.938 kB / 1.366 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/1.312, allocations: 3.875 kB / 1.366 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/1.312, allocations: 3.969 kB / 1.366 GB, free: 31.34 MB / 0.8386 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 () * 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.012e-05/1.312, allocations: 101 kB / 1.366 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001096/1.312, allocations: 118.6 kB / 1.366 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-06/1.312, allocations: 7.75 kB / 1.366 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.036e-05/1.312, allocations: 15.28 kB / 1.366 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/1.312, allocations: 10.67 kB / 1.366 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/1.312, allocations: 0 / 1.366 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/1.312, allocations: 3.984 kB / 1.366 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/1.312, allocations: 155.4 kB / 1.366 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/1.312, allocations: 0 / 1.366 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.71e-07/1.312, allocations: 0 / 1.366 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/1.312, allocations: 0 / 1.366 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/1.312, allocations: 3.844 kB / 1.366 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.312, allocations: 2.859 kB / 1.366 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.312, allocations: 4 kB / 1.366 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/1.312, allocations: 137.1 kB / 1.367 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/1.312, allocations: 92.28 kB / 1.367 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/1.312, allocations: 0 / 1.367 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.189e-05/1.312, allocations: 0 / 1.367 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/1.312, allocations: 0 / 1.367 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/1.312, allocations: 3.844 kB / 1.367 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.267e-05/1.312, allocations: 99.89 kB / 1.367 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.312, allocations: 7.875 kB / 1.367 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002936/1.313, allocations: 82.97 kB / 1.367 GB, free: 30.74 MB / 0.8386 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 () * 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.0005473/1.313, allocations: 0.7456 MB / 1.368 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001026/1.313, allocations: 68.84 kB / 1.368 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.313, allocations: 4.094 kB / 1.368 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.754e-05/1.313, allocations: 36.38 kB / 1.368 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001066/1.314, allocations: 0 / 1.368 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/1.314, allocations: 198.7 kB / 1.368 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/1.314, allocations: 0.6957 MB / 1.369 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.24e-05/1.314, allocations: 8.75 kB / 1.369 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/1.314, allocations: 23.03 kB / 1.369 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of SimCode: time 7.61e-07/1.314, allocations: 0 / 1.369 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/1.341, allocations: 2.275 MB / 1.371 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000299/1.341, allocations: 230.5 kB / 1.371 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/3.049, allocations: 2.25 kB / 1.371 GB, free: 28.85 MB / 0.8386 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) 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