Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nu_error|rCel_error",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nu_error|rCel_error",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.915/1.915, allocations: 387.2 MB / 394.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 181.9 kB / 487 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 221.3 MB / 0.7819 GB, free: 6.805 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009809/0.000981, allocations: 101.6 kB / 0.9213 GB, free: 43.71 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 1.01e-05/1.031e-05, allocations: 4 kB / 1.066 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7397/0.7397, allocations: 142.3 MB / 1.205 GB, free: 72.86 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1818/0.9216, allocations: 149.5 MB / 1.351 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/0.9219, allocations: 100.8 kB / 1.351 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.003631/0.9256, allocations: 1.019 MB / 1.352 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.9256, allocations: 9.094 kB / 1.352 GB, free: 12.65 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002795/0.9259, allocations: 338.2 kB / 1.353 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.9259, allocations: 9.062 kB / 1.353 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.926, allocations: 0.625 kB / 1.353 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.9262, allocations: 179 kB / 1.353 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.9262, allocations: 1.125 kB / 1.353 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.9262, allocations: 4 kB / 1.353 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.745e-05/0.9263, allocations: 4 kB / 1.353 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.976e-05/0.9263, allocations: 45.75 kB / 1.353 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.9263, allocations: 0 / 1.353 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.9264, allocations: 3.094 kB / 1.353 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.9264, allocations: 3.938 kB / 1.353 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.9265, allocations: 155 kB / 1.353 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.506e-05/0.9266, allocations: 33.16 kB / 1.353 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.517e-05/0.9266, allocations: 23.11 kB / 1.353 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.9267, allocations: 0.9375 kB / 1.353 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.9267, allocations: 35.34 kB / 1.353 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.9267, allocations: 0 / 1.353 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001296/0.9268, allocations: 50.56 kB / 1.353 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.9269, allocations: 77.64 kB / 1.353 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.402e-05/0.927, allocations: 121.8 kB / 1.353 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.927, allocations: 25.7 kB / 1.353 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.673e-05/0.927, allocations: 89.03 kB / 1.353 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.9271, allocations: 3.906 kB / 1.353 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-06/0.9271, allocations: 7.469 kB / 1.353 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.9272, allocations: 314.8 kB / 1.354 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.599e-05/0.9272, allocations: 24.64 kB / 1.354 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.93e-05/0.9273, allocations: 29.02 kB / 1.354 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.184e-05/0.9274, allocations: 39.59 kB / 1.354 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.9274, allocations: 0 / 1.354 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001332/0.9275, allocations: 106.2 kB / 1.354 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.9275, allocations: 8.062 kB / 1.354 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.9275, allocations: 0 / 1.354 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.9276, allocations: 3.906 kB / 1.354 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.761e-05/0.9276, allocations: 12.73 kB / 1.354 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.996e-06/0.9276, allocations: 3.75 kB / 1.354 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.702e-05/0.9277, allocations: 11.84 kB / 1.354 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.9277, allocations: 0 / 1.354 GB, free: 10.73 MB / 0.8542 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.928e-05/0.9278, allocations: 101 kB / 1.354 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.9278, allocations: 7.906 kB / 1.354 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.183e-05/0.9278, allocations: 7.469 kB / 1.354 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.9278, allocations: 0 / 1.354 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.9278, allocations: 0.8125 kB / 1.354 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.9278, allocations: 4 kB / 1.354 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.668e-05/0.9279, allocations: 142.1 kB / 1.354 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.9279, allocations: 4 kB / 1.354 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.882e-05/0.928, allocations: 3.938 kB / 1.354 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.928, allocations: 4.875 kB / 1.354 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.928, allocations: 3.984 kB / 1.354 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.928, allocations: 0 / 1.354 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.928, allocations: 0 / 1.354 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.169e-05/0.9281, allocations: 88.27 kB / 1.354 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.9281, allocations: 81.02 kB / 1.354 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.9281, allocations: 4.969 kB / 1.354 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.71e-05/0.9282, allocations: 0 / 1.354 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/0.9282, allocations: 3.984 kB / 1.354 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.9282, allocations: 4.031 kB / 1.354 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.742e-05/0.9283, allocations: 103.3 kB / 1.355 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004198/0.9287, allocations: 16.75 kB / 1.355 GB, free: 10.07 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * 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.0001894/0.9289, allocations: 123.1 kB / 1.355 GB, free: 9.945 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001307/0.929, allocations: 89.61 kB / 1.355 GB, free: 9.852 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.929, allocations: 0 / 1.355 GB, free: 9.852 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.158e-05/0.929, allocations: 4 kB / 1.355 GB, free: 9.848 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.9292, allocations: 5.625 kB / 1.355 GB, free: 9.844 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002183/0.9294, allocations: 95.08 kB / 1.355 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.9297, allocations: 0.6958 MB / 1.356 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of SimCode: time 2e-07/0.9297, allocations: 0 / 1.356 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of Templates: time 0.002549/0.9323, allocations: 0.5528 MB / 1.356 GB, free: 8.496 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches