Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") [: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.767/1.767, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.0009616/0.0009616, allocations: 185.2 kB / 487 MB, free: 5.34 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.133/1.133, allocations: 221.3 MB / 0.7819 GB, free: 1.391 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.0008534/0.0008533, allocations: 102.6 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.404e-06/7.414e-06, allocations: 7.938 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1876, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.492/0.6797, allocations: 149.4 MB / 1.351 GB, free: 16 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/0.68, allocations: 76.28 kB / 1.351 GB, free: 16 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.009777/0.6897, allocations: 3.673 MB / 1.355 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.6898, allocations: 1.125 kB / 1.355 GB, free: 15.86 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.0002707/0.6901, allocations: 381 kB / 1.355 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.6901, allocations: 10.31 kB / 1.355 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.6902, allocations: 75.28 kB / 1.355 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.6903, allocations: 242.1 kB / 1.355 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.6903, allocations: 150.6 kB / 1.356 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.6904, allocations: 151.5 kB / 1.356 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.526e-05/0.6904, allocations: 158.5 kB / 1.356 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.279e-05/0.6904, allocations: 103.4 kB / 1.356 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.6905, allocations: 75.28 kB / 1.356 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.6905, allocations: 152.1 kB / 1.356 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.6905, allocations: 154.1 kB / 1.356 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.6907, allocations: 424.8 kB / 1.357 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.563e-05/0.6908, allocations: 174.4 kB / 1.357 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.6908, allocations: 88.61 kB / 1.357 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.6908, allocations: 76.45 kB / 1.357 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.6909, allocations: 106.7 kB / 1.357 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.6909, allocations: 8.781 kB / 1.357 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 7.386e-05/0.6909, allocations: 28.17 kB / 1.357 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.691, allocations: 55.34 kB / 1.357 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.876e-05/0.691, allocations: 87.62 kB / 1.357 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.6911, allocations: 25.7 kB / 1.357 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.58e-05/0.6911, allocations: 82.44 kB / 1.357 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.6911, allocations: 0 / 1.357 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-07/0.6911, allocations: 0.625 kB / 1.357 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.326e-05/0.6911, allocations: 319.4 kB / 1.358 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-06/0.6912, allocations: 3.938 kB / 1.358 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-06/0.6912, allocations: 1.344 kB / 1.358 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.384e-05/0.6912, allocations: 75.28 kB / 1.358 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/0.6912, allocations: 75.28 kB / 1.358 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.99e-05/0.6913, allocations: 33.17 kB / 1.358 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.6913, allocations: 5.906 kB / 1.358 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.6913, allocations: 76.83 kB / 1.358 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.498e-05/0.6913, allocations: 159.9 kB / 1.358 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.37e-05/0.6914, allocations: 76.03 kB / 1.358 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.456e-05/0.6914, allocations: 153.4 kB / 1.358 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.514e-05/0.6914, allocations: 83.22 kB / 1.358 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.6915, allocations: 76.66 kB / 1.359 GB, free: 11.88 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 (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 prepare postOptimizeDAE: time 6.311e-05/0.6915, allocations: 260.3 kB / 1.359 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.6916, allocations: 103.4 kB / 1.359 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.6916, allocations: 118.8 kB / 1.359 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.863e-05/0.6916, allocations: 182.4 kB / 1.359 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.117e-05/0.6917, allocations: 178.9 kB / 1.359 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-05/0.6917, allocations: 180.2 kB / 1.359 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.6918, allocations: 386.1 kB / 1.36 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.6918, allocations: 103.1 kB / 1.36 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.373e-05/0.6919, allocations: 106.3 kB / 1.36 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.153e-05/0.6919, allocations: 182.1 kB / 1.36 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.6919, allocations: 177.9 kB / 1.36 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-05/0.6919, allocations: 181.5 kB / 1.361 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.514e-05/0.692, allocations: 181.6 kB / 1.361 GB, free: 25.49 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001217/0.6922, allocations: 313 kB / 1.361 GB, free: 25.17 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/0.6922, allocations: 181.4 kB / 1.361 GB, free: 24.97 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.89e-05/0.6923, allocations: 178.7 kB / 1.361 GB, free: 24.79 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.669e-05/0.6924, allocations: 110.2 kB / 1.362 GB, free: 24.68 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.6925, allocations: 185.8 kB / 1.362 GB, free: 24.49 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.89e-05/0.6925, allocations: 102 kB / 1.362 GB, free: 24.38 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.944e-05/0.6925, allocations: 81.44 kB / 1.362 GB, free: 24.31 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002999/0.6928, allocations: 46.95 kB / 1.362 GB, free: 24.29 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.0004501/0.6933, allocations: 336 kB / 1.362 GB, free: 24.07 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 2.637e-05/0.6933, allocations: 1.031 kB / 1.362 GB, free: 24.07 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.6933, allocations: 0 / 1.362 GB, free: 24.07 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.6933, allocations: 0 / 1.362 GB, free: 24.07 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.6936, allocations: 0.5162 MB / 1.363 GB, free: 23.55 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001387/0.6938, allocations: 127.5 kB / 1.363 GB, free: 23.41 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.694, allocations: 0.6824 MB / 1.364 GB, free: 22.71 MB / 0.823 GB Notification: Performance of SimCode: time 2.31e-07/0.694, allocations: 0 / 1.364 GB, free: 22.71 MB / 0.823 GB Notification: Performance of Templates: time 0.002794/0.6968, allocations: 0.9793 MB / 1.364 GB, free: 22.56 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches