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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.271/2.271, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.00112/0.00112, allocations: 179.1 kB / 492.3 MB, free: 0.6094 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.475/1.475, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.000981/0.0009811, allocations: 87.91 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.456e-05/3.49e-05, allocations: 7.984 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2751, allocations: 142.3 MB / 1.213 GB, free: 38.35 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8908/1.166, allocations: 151.3 MB / 1.36 GB, free: 19.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/1.166, allocations: 108.9 kB / 1.36 GB, free: 19.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01145/1.178, allocations: 3.818 MB / 1.364 GB, free: 34.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.733e-06/1.178, allocations: 0 / 1.364 GB, free: 34.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.237e-06/1.178, allocations: 3.875 kB / 1.364 GB, free: 34.66 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.0003357/1.178, allocations: 392.8 kB / 1.365 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.178, allocations: 11.69 kB / 1.365 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.247e-05/1.178, allocations: 33.23 kB / 1.365 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/1.178, allocations: 7.781 kB / 1.365 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.676e-05/1.178, allocations: 170.8 kB / 1.365 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/1.178, allocations: 0.5625 kB / 1.365 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/1.178, allocations: 0 / 1.365 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/1.179, allocations: 72.17 kB / 1.365 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/1.179, allocations: 0 / 1.365 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/1.179, allocations: 3.938 kB / 1.365 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/1.179, allocations: 10.53 kB / 1.365 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.309e-05/1.179, allocations: 32.61 kB / 1.365 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/1.179, allocations: 188.2 kB / 1.365 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.016e-05/1.179, allocations: 57.78 kB / 1.365 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.382e-05/1.179, allocations: 51.03 kB / 1.365 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/1.179, allocations: 0 / 1.365 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/1.179, allocations: 34.41 kB / 1.365 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/1.179, allocations: 0 / 1.365 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.000232/1.179, allocations: 108.1 kB / 1.365 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/1.179, allocations: 55.34 kB / 1.365 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.719e-05/1.179, allocations: 122.4 kB / 1.365 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/1.179, allocations: 25.7 kB / 1.365 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/1.18, allocations: 90.31 kB / 1.366 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/1.18, allocations: 33.52 kB / 1.366 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/1.18, allocations: 0 / 1.366 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001009/1.18, allocations: 324.7 kB / 1.366 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-05/1.18, allocations: 32.3 kB / 1.366 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.087e-05/1.18, allocations: 35.91 kB / 1.366 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.513e-05/1.18, allocations: 40.7 kB / 1.366 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.18, allocations: 0 / 1.366 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001215/1.18, allocations: 116.8 kB / 1.366 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/1.18, allocations: 7.688 kB / 1.366 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/1.18, allocations: 0 / 1.366 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/1.18, allocations: 0 / 1.366 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.024e-06/1.18, allocations: 3.047 kB / 1.366 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/1.18, allocations: 0 / 1.366 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.932e-05/1.18, allocations: 0 / 1.366 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/1.18, allocations: 3.969 kB / 1.366 GB, free: 33.02 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 5.875e-05/1.18, allocations: 113.6 kB / 1.366 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/1.18, allocations: 7.891 kB / 1.366 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.735e-05/1.18, allocations: 8.375 kB / 1.366 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/1.18, allocations: 10.5 kB / 1.366 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.18, allocations: 0 / 1.366 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/1.18, allocations: 3.938 kB / 1.366 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/1.18, allocations: 184.3 kB / 1.366 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.18, allocations: 0 / 1.366 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/1.18, allocations: 0 / 1.366 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/1.18, allocations: 3.656 kB / 1.366 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/1.18, allocations: 4 kB / 1.366 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.18, allocations: 0 / 1.366 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.18, allocations: 0 / 1.366 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/1.181, allocations: 135.2 kB / 1.367 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/1.181, allocations: 88.81 kB / 1.367 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/1.181, allocations: 0 / 1.367 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.292e-05/1.181, allocations: 3.594 kB / 1.367 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/1.181, allocations: 10.14 kB / 1.367 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/1.181, allocations: 7.906 kB / 1.367 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.903e-05/1.181, allocations: 98.59 kB / 1.367 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.181, allocations: 3.781 kB / 1.367 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003196/1.181, allocations: 76.64 kB / 1.367 GB, free: 32.42 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.0005954/1.182, allocations: 0.7441 MB / 1.368 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.539e-05/1.182, allocations: 73.58 kB / 1.368 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.182, allocations: 0 / 1.368 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.464e-05/1.182, allocations: 35.52 kB / 1.368 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001009/1.182, allocations: 1.312 kB / 1.368 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003619/1.182, allocations: 216.3 kB / 1.368 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/1.183, allocations: 0.7004 MB / 1.369 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.648e-05/1.183, allocations: 11.97 kB / 1.369 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/1.183, allocations: 18.5 kB / 1.369 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of SimCode: time 3.2e-07/1.183, allocations: 0 / 1.369 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01354/1.196, allocations: 2.622 MB / 1.371 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/1.196, allocations: 225.6 kB / 1.371 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.894, allocations: 0 / 1.371 GB, free: 30.51 MB / 0.8386 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