Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.76/1.76, allocations: 390.4 MB / 397.7 MB, free: 11.32 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.001049/0.001049, allocations: 181.2 kB / 490.8 MB, free: 1.977 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.082/1.082, allocations: 221.3 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000815/0.000815, allocations: 91.84 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.962e-06/6.062e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.17, allocations: 143 MB / 1.212 GB, free: 40.16 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4544/0.6244, allocations: 150.2 MB / 1.358 GB, free: 17.51 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001856/0.6246, allocations: 80.31 kB / 1.358 GB, free: 17.51 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.00911/0.6338, allocations: 3.669 MB / 1.362 GB, free: 17.36 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.6338, allocations: 0 / 1.362 GB, free: 17.36 MB / 0.823 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.0002112/0.634, allocations: 381.6 kB / 1.362 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.634, allocations: 8.469 kB / 1.362 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.6341, allocations: 80.28 kB / 1.362 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.6342, allocations: 240.9 kB / 1.363 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.653e-05/0.6342, allocations: 155.5 kB / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.6343, allocations: 154.6 kB / 1.363 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.442e-05/0.6343, allocations: 152.1 kB / 1.363 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.545e-05/0.6344, allocations: 101 kB / 1.363 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.6344, allocations: 79.28 kB / 1.363 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.6344, allocations: 160.6 kB / 1.363 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.432e-05/0.6345, allocations: 150.6 kB / 1.363 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.6347, allocations: 424.8 kB / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.132e-05/0.6347, allocations: 174.3 kB / 1.364 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.536e-05/0.6347, allocations: 81.42 kB / 1.364 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.6348, allocations: 76.83 kB / 1.364 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.6348, allocations: 110.8 kB / 1.364 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.6348, allocations: 0 / 1.364 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.336e-05/0.6349, allocations: 30.83 kB / 1.364 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.307e-05/0.6349, allocations: 60.5 kB / 1.364 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.698e-05/0.6349, allocations: 88.28 kB / 1.364 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.907e-06/0.6349, allocations: 25.7 kB / 1.364 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.348e-05/0.635, allocations: 81.2 kB / 1.365 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.293e-06/0.635, allocations: 0 / 1.365 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-07/0.635, allocations: 0 / 1.365 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.419e-05/0.6351, allocations: 313.5 kB / 1.365 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-06/0.6351, allocations: 3.938 kB / 1.365 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.014e-06/0.6351, allocations: 4.125 kB / 1.365 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.805e-05/0.6351, allocations: 76.62 kB / 1.365 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.959e-05/0.6351, allocations: 75.28 kB / 1.365 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.38e-05/0.6352, allocations: 32.81 kB / 1.365 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.6352, allocations: 5.812 kB / 1.365 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.6352, allocations: 79.22 kB / 1.365 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.949e-05/0.6353, allocations: 157.1 kB / 1.365 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.076e-05/0.6353, allocations: 76.97 kB / 1.365 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-05/0.6354, allocations: 158.5 kB / 1.366 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.939e-05/0.6354, allocations: 78.44 kB / 1.366 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.6355, allocations: 75.28 kB / 1.366 GB, free: 29.38 MB / 0.8386 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 7.336e-05/0.6355, allocations: 260.9 kB / 1.366 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.6356, allocations: 106.7 kB / 1.366 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.6356, allocations: 113 kB / 1.366 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.1e-05/0.6357, allocations: 187.4 kB / 1.366 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.086e-05/0.6357, allocations: 182 kB / 1.366 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.591e-05/0.6357, allocations: 177.7 kB / 1.367 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.6359, allocations: 380.6 kB / 1.367 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.55e-05/0.6359, allocations: 107.6 kB / 1.367 GB, free: 27.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.023e-05/0.6359, allocations: 106.4 kB / 1.367 GB, free: 27.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.742e-05/0.636, allocations: 184.4 kB / 1.367 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.031e-05/0.636, allocations: 181.4 kB / 1.368 GB, free: 27.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.943e-05/0.6361, allocations: 178.5 kB / 1.368 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.69e-05/0.6361, allocations: 181.2 kB / 1.368 GB, free: 26.99 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.937e-05/0.6362, allocations: 313.7 kB / 1.368 GB, free: 26.67 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.6362, allocations: 184.3 kB / 1.368 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.861e-05/0.6363, allocations: 178.8 kB / 1.369 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.453e-05/0.6363, allocations: 102.1 kB / 1.369 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.6364, allocations: 187 kB / 1.369 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.6364, allocations: 106 kB / 1.369 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.834e-05/0.6364, allocations: 80.84 kB / 1.369 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002861/0.6367, allocations: 53.88 kB / 1.369 GB, free: 25.79 MB / 0.8386 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.0003685/0.6371, allocations: 325.3 kB / 1.369 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 2.51e-05/0.6371, allocations: 5.219 kB / 1.369 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.6372, allocations: 3.938 kB / 1.369 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.41e-07/0.6372, allocations: 0 / 1.369 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.6374, allocations: 0.5183 MB / 1.37 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001125/0.6375, allocations: 117.7 kB / 1.37 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.6377, allocations: 0.6863 MB / 1.371 GB, free: 24.21 MB / 0.8386 GB Notification: Performance of SimCode: time 7.52e-07/0.6377, allocations: 0 / 1.371 GB, free: 24.21 MB / 0.8386 GB Notification: Performance of Templates: time 0.002318/0.64, allocations: 0.9766 MB / 1.372 GB, free: 24.06 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches