Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.69/1.69, allocations: 390.4 MB / 397.7 MB, free: 10.69 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.0009411/0.0009412, allocations: 181.7 kB / 490.8 MB, free: 11.21 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.039/1.039, allocations: 221.4 MB / 0.7863 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007665/0.0007665, allocations: 86.22 kB / 0.9264 GB, free: 4.559 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 7.213e-06/7.233e-06, allocations: 4 kB / 1.072 GB, free: 15.59 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4568/0.4568, allocations: 143 MB / 1.212 GB, free: 156 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.5805, allocations: 149.4 MB / 1.357 GB, free: 42.25 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001782/0.5807, allocations: 84.72 kB / 1.358 GB, free: 42.16 MB / 0.8855 GB Notification: Performance of FrontEnd: time 0.007555/0.5883, allocations: 3.271 MB / 1.361 GB, free: 38.93 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.5883, allocations: 0 / 1.361 GB, free: 38.93 MB / 0.8855 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.0001601/0.5884, allocations: 351.2 kB / 1.361 GB, free: 38.54 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.699e-05/0.5885, allocations: 9 kB / 1.361 GB, free: 38.54 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.5885, allocations: 79.22 kB / 1.361 GB, free: 38.46 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.703e-05/0.5886, allocations: 256.4 kB / 1.361 GB, free: 38.17 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.5886, allocations: 150.6 kB / 1.362 GB, free: 38.02 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.5887, allocations: 151.5 kB / 1.362 GB, free: 37.88 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.011e-05/0.5887, allocations: 155.6 kB / 1.362 GB, free: 37.72 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.928e-05/0.5887, allocations: 101.8 kB / 1.362 GB, free: 37.62 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.5887, allocations: 79.28 kB / 1.362 GB, free: 37.54 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.5888, allocations: 151.7 kB / 1.362 GB, free: 37.39 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.5888, allocations: 151.2 kB / 1.362 GB, free: 37.24 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001417/0.5889, allocations: 439.9 kB / 1.363 GB, free: 36.78 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 3.208e-05/0.589, allocations: 170.2 kB / 1.363 GB, free: 36.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.411e-05/0.589, allocations: 81.2 kB / 1.363 GB, free: 36.52 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.589, allocations: 75.28 kB / 1.363 GB, free: 36.45 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.381e-05/0.589, allocations: 107.2 kB / 1.363 GB, free: 36.33 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/0.589, allocations: 0.875 kB / 1.363 GB, free: 36.33 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 5.747e-05/0.5891, allocations: 29.7 kB / 1.363 GB, free: 36.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.296e-05/0.5891, allocations: 56.12 kB / 1.363 GB, free: 36.23 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.222e-05/0.5892, allocations: 105.6 kB / 1.363 GB, free: 36.12 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.5892, allocations: 26.42 kB / 1.363 GB, free: 36.09 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.753e-05/0.5892, allocations: 84.8 kB / 1.363 GB, free: 36 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.162e-06/0.5892, allocations: 0 / 1.363 GB, free: 36 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.342e-06/0.5892, allocations: 0.6562 kB / 1.363 GB, free: 36 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 3.071e-05/0.5893, allocations: 311.4 kB / 1.364 GB, free: 35.69 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.121e-05/0.5893, allocations: 4.562 kB / 1.364 GB, free: 35.69 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.833e-05/0.5893, allocations: 13.08 kB / 1.364 GB, free: 35.68 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.541e-05/0.5893, allocations: 4 kB / 1.364 GB, free: 35.67 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5893, allocations: 0 / 1.364 GB, free: 35.67 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.827e-05/0.5894, allocations: 42.5 kB / 1.364 GB, free: 35.62 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.835e-06/0.5894, allocations: 8.75 kB / 1.364 GB, free: 35.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.5894, allocations: 0 / 1.364 GB, free: 35.62 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.607e-06/0.5894, allocations: 0.7188 kB / 1.364 GB, free: 35.62 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-07/0.5894, allocations: 0 / 1.364 GB, free: 35.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.5895, allocations: 4.562 kB / 1.364 GB, free: 35.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.84e-05/0.5895, allocations: 2.312 kB / 1.364 GB, free: 35.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.5895, allocations: 6.141 kB / 1.364 GB, free: 35.61 MB / 0.8855 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.087e-05/0.5896, allocations: 181.4 kB / 1.364 GB, free: 35.43 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.5896, allocations: 113.7 kB / 1.364 GB, free: 35.31 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.876e-05/0.5896, allocations: 113.1 kB / 1.364 GB, free: 35.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/0.5897, allocations: 181.7 kB / 1.364 GB, free: 35.01 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.906e-05/0.5897, allocations: 176.9 kB / 1.365 GB, free: 34.83 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.821e-05/0.5897, allocations: 178 kB / 1.365 GB, free: 34.65 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.129e-05/0.5898, allocations: 389.7 kB / 1.365 GB, free: 34.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.5898, allocations: 101.6 kB / 1.365 GB, free: 34.12 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.178e-05/0.5898, allocations: 111.9 kB / 1.365 GB, free: 34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.785e-05/0.5899, allocations: 180.2 kB / 1.365 GB, free: 33.82 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.5899, allocations: 177.2 kB / 1.366 GB, free: 33.64 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.921e-05/0.5899, allocations: 180.8 kB / 1.366 GB, free: 33.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.97e-05/0.5899, allocations: 189.6 kB / 1.366 GB, free: 33.27 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.646e-05/0.59, allocations: 297 kB / 1.366 GB, free: 32.95 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/0.59, allocations: 194.7 kB / 1.366 GB, free: 32.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.5901, allocations: 181.3 kB / 1.367 GB, free: 32.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.785e-05/0.5901, allocations: 107.1 kB / 1.367 GB, free: 32.45 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.5902, allocations: 186.1 kB / 1.367 GB, free: 32.26 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.5902, allocations: 101 kB / 1.367 GB, free: 32.15 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.915e-05/0.5902, allocations: 83.25 kB / 1.367 GB, free: 32.07 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001912/0.5904, allocations: 4 kB / 1.367 GB, free: 32.07 MB / 0.8855 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.0001334/0.5905, allocations: 191.7 kB / 1.367 GB, free: 31.88 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.679e-05/0.5906, allocations: 16.72 kB / 1.367 GB, free: 31.86 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.5906, allocations: 0.5625 kB / 1.367 GB, free: 31.86 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-06/0.5906, allocations: 0 / 1.367 GB, free: 31.86 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.5908, allocations: 0.5232 MB / 1.368 GB, free: 31.34 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000111/0.5909, allocations: 127.2 kB / 1.368 GB, free: 31.19 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.52e-05/0.591, allocations: 0.6896 MB / 1.369 GB, free: 30.48 MB / 0.8855 GB Notification: Performance of SimCode: time 2.3e-07/0.591, allocations: 0 / 1.369 GB, free: 30.48 MB / 0.8855 GB Notification: Performance of Templates: time 0.001594/0.5926, allocations: 380 kB / 1.369 GB, free: 30.16 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches