Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") [: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 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 249.4 MB / 256.7 MB, free: 7.051 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001407/0.001407, allocations: 192.4 kB / 316 MB, free: 3.547 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.2 MB / 0.5667 GB, free: 15.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 85.09 kB / 0.671 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.978e-06/1.002e-05, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2256, allocations: 106.3 MB / 0.8846 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7315/0.9572, allocations: 132.1 MB / 1.014 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.9575, allocations: 79.39 kB / 1.014 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.00978/0.9673, allocations: 3.258 MB / 1.017 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.9674, allocations: 0 / 1.017 GB, free: 4.184 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003334/0.9677, allocations: 361.6 kB / 1.017 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.9678, allocations: 8.031 kB / 1.017 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.945e-05/0.9679, allocations: 79.28 kB / 1.017 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.968, allocations: 242.3 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.433e-05/0.9681, allocations: 150.6 kB / 1.018 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.01e-05/0.9682, allocations: 150.6 kB / 1.018 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.366e-05/0.9683, allocations: 158.5 kB / 1.018 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.71e-05/0.9683, allocations: 104.9 kB / 1.018 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.9683, allocations: 75.28 kB / 1.018 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-05/0.9684, allocations: 154.6 kB / 1.018 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.374e-05/0.9685, allocations: 153.4 kB / 1.018 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.9688, allocations: 430.3 kB / 1.019 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.747e-05/0.9689, allocations: 169 kB / 1.019 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.517e-05/0.9689, allocations: 85.34 kB / 1.019 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.9689, allocations: 75.28 kB / 1.019 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001037/0.9691, allocations: 113.8 kB / 1.019 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/0.9691, allocations: 0 / 1.019 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.087e-05/0.9691, allocations: 25.7 kB / 1.019 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.9692, allocations: 51.41 kB / 1.019 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.9693, allocations: 107.6 kB / 1.019 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.9693, allocations: 25.7 kB / 1.019 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.9694, allocations: 80.14 kB / 1.019 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.9694, allocations: 0 / 1.019 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-06/0.9694, allocations: 0 / 1.019 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.9695, allocations: 318.8 kB / 1.02 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.385e-05/0.9695, allocations: 0 / 1.02 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.622e-05/0.9696, allocations: 19.36 kB / 1.02 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.465e-05/0.9696, allocations: 8.094 kB / 1.02 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.9696, allocations: 0 / 1.02 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001212/0.9697, allocations: 45.62 kB / 1.02 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.9697, allocations: 4 kB / 1.02 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.9698, allocations: 0 / 1.02 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.9698, allocations: 0 / 1.02 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.755e-06/0.9698, allocations: 0 / 1.02 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.9698, allocations: 4.484 kB / 1.02 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.146e-05/0.9699, allocations: 7.984 kB / 1.02 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.9699, allocations: 3.906 kB / 1.02 GB, free: 0.8516 MB / 0.6355 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 9.975e-05/0.97, allocations: 180.3 kB / 1.02 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.9701, allocations: 105 kB / 1.02 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.941e-05/0.9701, allocations: 115.8 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.009e-05/0.9702, allocations: 180.3 kB / 1.02 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-05/0.9703, allocations: 180.5 kB / 1.021 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.898e-05/0.9704, allocations: 188.3 kB / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.9706, allocations: 389.2 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.205e-05/0.9706, allocations: 101 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-05/0.9707, allocations: 104.9 kB / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.758e-05/0.9707, allocations: 180.2 kB / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.507e-05/0.9708, allocations: 176.3 kB / 1.022 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.946e-05/0.9709, allocations: 189.5 kB / 1.022 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.573e-05/0.971, allocations: 176.3 kB / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001496/0.9711, allocations: 311.1 kB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.139e-05/0.9712, allocations: 178.1 kB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.947e-05/0.9713, allocations: 180.3 kB / 1.023 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.23e-05/0.9714, allocations: 112.4 kB / 1.023 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.9715, allocations: 184.2 kB / 1.023 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.304e-05/0.9715, allocations: 101.3 kB / 1.023 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.085e-05/0.9716, allocations: 79.28 kB / 1.023 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000238/0.9718, allocations: 4 kB / 1.023 GB, free: 13.31 MB / 0.6511 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 (0): * Single equations (assignments): 0 * 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.0002766/0.9721, allocations: 191.8 kB / 1.023 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.9722, allocations: 15.94 kB / 1.023 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.9722, allocations: 0 / 1.023 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.9722, allocations: 0 / 1.023 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.9726, allocations: 0.5193 MB / 1.024 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002203/0.9728, allocations: 134.8 kB / 1.024 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.9731, allocations: 0.6841 MB / 1.025 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/0.9731, allocations: 3.938 kB / 1.025 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of Templates: time 0.00238/0.9755, allocations: 395.7 kB / 1.025 GB, free: 11.36 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches