Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [: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.722/1.722, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.0009204/0.0009203, allocations: 193.2 kB / 490.8 MB, free: 1.93 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.079/1.079, allocations: 221.4 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.0007996/0.0007996, allocations: 98.61 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.873e-06/6.903e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1673, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.459/0.6263, allocations: 151.7 MB / 1.36 GB, free: 17.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/0.6265, allocations: 82.34 kB / 1.36 GB, free: 17.09 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01785/0.6444, allocations: 7.032 MB / 1.367 GB, free: 16.74 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.6444, allocations: 1.156 kB / 1.367 GB, free: 16.74 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.0002632/0.6447, allocations: 393 kB / 1.367 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.6447, allocations: 12.62 kB / 1.367 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.884e-05/0.6448, allocations: 79.48 kB / 1.367 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.6449, allocations: 241.4 kB / 1.367 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.527e-05/0.6449, allocations: 150.6 kB / 1.368 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/0.645, allocations: 160.9 kB / 1.368 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.823e-05/0.645, allocations: 150.6 kB / 1.368 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.935e-05/0.6451, allocations: 106.4 kB / 1.368 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.6451, allocations: 75.28 kB / 1.368 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.317e-05/0.6452, allocations: 150.6 kB / 1.368 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-05/0.6452, allocations: 151.8 kB / 1.368 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.6454, allocations: 439 kB / 1.369 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.335e-05/0.6455, allocations: 174.3 kB / 1.369 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.341e-05/0.6455, allocations: 87.62 kB / 1.369 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.6455, allocations: 75.28 kB / 1.369 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.6455, allocations: 106.9 kB / 1.369 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.6455, allocations: 0.9688 kB / 1.369 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.693e-05/0.6456, allocations: 33.38 kB / 1.369 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.187e-05/0.6456, allocations: 51.41 kB / 1.369 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.216e-05/0.6457, allocations: 95.33 kB / 1.369 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.767e-06/0.6457, allocations: 27.14 kB / 1.369 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.76e-05/0.6457, allocations: 87.98 kB / 1.369 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.142e-06/0.6457, allocations: 1.406 kB / 1.369 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-06/0.6458, allocations: 0 / 1.369 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.162e-05/0.6458, allocations: 317.2 kB / 1.37 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.415e-06/0.6458, allocations: 1.406 kB / 1.37 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.579e-05/0.6459, allocations: 28.81 kB / 1.37 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.646, allocations: 17.64 kB / 1.37 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.646, allocations: 0 / 1.37 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001577/0.6462, allocations: 65.03 kB / 1.37 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.6462, allocations: 5.312 kB / 1.37 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.6462, allocations: 5.375 kB / 1.37 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.6462, allocations: 3.062 kB / 1.37 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.315e-05/0.6462, allocations: 4.719 kB / 1.37 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.6463, allocations: 7.844 kB / 1.37 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.638e-05/0.6463, allocations: 4.234 kB / 1.37 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.6464, allocations: 8.344 kB / 1.37 GB, free: 29.47 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.282e-05/0.6464, allocations: 178.4 kB / 1.37 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.6465, allocations: 110 kB / 1.37 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/0.6465, allocations: 115 kB / 1.37 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.748e-05/0.6466, allocations: 182.1 kB / 1.37 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.584e-05/0.6466, allocations: 180.2 kB / 1.371 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.773e-05/0.6466, allocations: 178.4 kB / 1.371 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.6468, allocations: 383.3 kB / 1.371 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-05/0.6468, allocations: 110.2 kB / 1.371 GB, free: 28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.957e-05/0.6468, allocations: 103.4 kB / 1.371 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-05/0.6469, allocations: 181.3 kB / 1.371 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/0.6469, allocations: 183 kB / 1.372 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.826e-05/0.6469, allocations: 183 kB / 1.372 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.638e-05/0.647, allocations: 176.3 kB / 1.372 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.673e-05/0.6471, allocations: 309.8 kB / 1.372 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.6471, allocations: 184 kB / 1.372 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.512e-05/0.6472, allocations: 186.5 kB / 1.373 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.882e-05/0.6472, allocations: 102.6 kB / 1.373 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.6473, allocations: 181.9 kB / 1.373 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.6473, allocations: 109.9 kB / 1.373 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.737e-05/0.6473, allocations: 79.66 kB / 1.373 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003197/0.6477, allocations: 111.5 kB / 1.373 GB, free: 25.95 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.0006606/0.6483, allocations: 468.8 kB / 1.374 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.559e-05/0.6484, allocations: 10.19 kB / 1.374 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.6484, allocations: 0.9688 kB / 1.374 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.61e-07/0.6484, allocations: 0 / 1.374 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.6486, allocations: 0.5246 MB / 1.374 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001217/0.6488, allocations: 125 kB / 1.374 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.6489, allocations: 0.6897 MB / 1.375 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/0.6489, allocations: 0 / 1.375 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of Templates: time 0.004025/0.653, allocations: 2.227 MB / 1.377 GB, free: 24.07 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches