Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.79/1.79, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001002/0.001002, allocations: 180.9 kB / 487 MB, free: 5.395 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.124/1.124, allocations: 221.3 MB / 0.7819 GB, free: 1.41 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007941/0.0007942, allocations: 98.67 kB / 0.9213 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.492e-06/6.512e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1801, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4893/0.6694, allocations: 148.6 MB / 1.35 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/0.6697, allocations: 83.41 kB / 1.35 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.008465/0.6782, allocations: 3.274 MB / 1.354 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.6782, allocations: 9.312 kB / 1.354 GB, free: 15.2 MB / 0.8073 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.0002033/0.6784, allocations: 353.1 kB / 1.354 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.6784, allocations: 10.41 kB / 1.354 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.6785, allocations: 81.91 kB / 1.354 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.268e-05/0.6786, allocations: 237 kB / 1.354 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.6786, allocations: 150.6 kB / 1.354 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.6786, allocations: 152.1 kB / 1.355 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.295e-05/0.6787, allocations: 159.3 kB / 1.355 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.819e-05/0.6787, allocations: 105.9 kB / 1.355 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.6787, allocations: 75.28 kB / 1.355 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.6787, allocations: 159.4 kB / 1.355 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.6788, allocations: 151.2 kB / 1.355 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.6789, allocations: 434 kB / 1.356 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.194e-05/0.679, allocations: 173.1 kB / 1.356 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.371e-05/0.679, allocations: 80.14 kB / 1.356 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.679, allocations: 76.66 kB / 1.356 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.679, allocations: 114.4 kB / 1.356 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.679, allocations: 1.406 kB / 1.356 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.007e-05/0.6791, allocations: 32 kB / 1.356 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.225e-05/0.6791, allocations: 51.41 kB / 1.356 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.859e-05/0.6792, allocations: 97.45 kB / 1.356 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/0.6792, allocations: 25.7 kB / 1.356 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.979e-05/0.6792, allocations: 85.09 kB / 1.356 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.292e-06/0.6792, allocations: 0 / 1.356 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-06/0.6792, allocations: 4 kB / 1.356 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.296e-05/0.6793, allocations: 312.4 kB / 1.357 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.186e-05/0.6793, allocations: 4.828 kB / 1.357 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.662e-05/0.6793, allocations: 12.09 kB / 1.357 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.481e-05/0.6793, allocations: 4.75 kB / 1.357 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6793, allocations: 0 / 1.357 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.506e-05/0.6794, allocations: 43.61 kB / 1.357 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.6795, allocations: 5.469 kB / 1.357 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.6795, allocations: 4.031 kB / 1.357 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.6795, allocations: 5.156 kB / 1.357 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.6795, allocations: 0 / 1.357 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.6795, allocations: 0 / 1.357 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.036e-05/0.6796, allocations: 1.531 kB / 1.357 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.6796, allocations: 4.656 kB / 1.357 GB, free: 11.98 MB / 0.8073 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 4.679e-05/0.6796, allocations: 177.1 kB / 1.357 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.6797, allocations: 106.6 kB / 1.357 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.6797, allocations: 121.6 kB / 1.357 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/0.6797, allocations: 178.3 kB / 1.357 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.217e-05/0.6798, allocations: 186.1 kB / 1.357 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.918e-05/0.6798, allocations: 182 kB / 1.358 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.6799, allocations: 382.9 kB / 1.358 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.6799, allocations: 102.6 kB / 1.358 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.306e-05/0.6799, allocations: 114.4 kB / 1.358 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.908e-05/0.68, allocations: 178 kB / 1.358 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.68, allocations: 182 kB / 1.359 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.979e-05/0.68, allocations: 183.2 kB / 1.359 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.731e-05/0.68, allocations: 177.1 kB / 1.359 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.762e-05/0.6801, allocations: 309.5 kB / 1.359 GB, free: 25.35 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.779e-05/0.6802, allocations: 189 kB / 1.359 GB, free: 25.14 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.574e-05/0.6802, allocations: 178.5 kB / 1.359 GB, free: 24.96 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.333e-05/0.6803, allocations: 106.4 kB / 1.36 GB, free: 24.85 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.6804, allocations: 178.1 kB / 1.36 GB, free: 24.67 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-05/0.6804, allocations: 106.6 kB / 1.36 GB, free: 24.56 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.378e-05/0.6805, allocations: 84.91 kB / 1.36 GB, free: 24.49 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002056/0.6807, allocations: 5.031 kB / 1.36 GB, free: 24.49 MB / 0.823 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.0001902/0.6809, allocations: 181 kB / 1.36 GB, free: 24.33 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.319e-05/0.681, allocations: 14.2 kB / 1.36 GB, free: 24.32 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.681, allocations: 4.062 kB / 1.36 GB, free: 24.32 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.913e-06/0.681, allocations: 1.547 kB / 1.36 GB, free: 24.32 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.6812, allocations: 0.5234 MB / 1.361 GB, free: 23.79 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001606/0.6814, allocations: 123.6 kB / 1.361 GB, free: 23.66 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.6816, allocations: 0.6859 MB / 1.361 GB, free: 22.95 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.6816, allocations: 4 kB / 1.361 GB, free: 22.95 MB / 0.823 GB Notification: Performance of Templates: time 0.001893/0.6835, allocations: 399.1 kB / 1.362 GB, free: 22.89 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches