Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") [: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.768/1.768, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0009117/0.0009117, allocations: 187 kB / 490.8 MB, free: 1.957 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.075/1.075, allocations: 221.4 MB / 0.7863 GB, free: 13.79 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.0008338/0.0008338, allocations: 84.69 kB / 0.9264 GB, free: 14.32 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.041e-06/6.061e-06, allocations: 0 / 1.072 GB, free: 164.7 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1728, allocations: 143 MB / 1.212 GB, free: 21.91 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4588/0.6317, allocations: 149.8 MB / 1.358 GB, free: 2.855 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001808/0.6319, allocations: 83.14 kB / 1.358 GB, free: 2.809 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.006783/0.6387, allocations: 2.72 MB / 1.361 GB, free: 0.8125 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.6387, allocations: 4 kB / 1.361 GB, free: 0.8086 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.0001967/0.6389, allocations: 346 kB / 1.361 GB, free: 440 kB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.779e-05/0.639, allocations: 8.031 kB / 1.361 GB, free: 432 kB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.639, allocations: 75.28 kB / 1.361 GB, free: 356 kB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.6391, allocations: 250.7 kB / 1.361 GB, free: 64 kB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.079e-05/0.6392, allocations: 150.6 kB / 1.361 GB, free: 15.91 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.541e-05/0.6392, allocations: 150.6 kB / 1.362 GB, free: 15.77 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.49e-05/0.6393, allocations: 155.8 kB / 1.362 GB, free: 15.61 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.695e-05/0.6393, allocations: 105 kB / 1.362 GB, free: 15.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.6394, allocations: 75.97 kB / 1.362 GB, free: 15.43 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.867e-05/0.6394, allocations: 154.2 kB / 1.362 GB, free: 15.28 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.534e-05/0.6395, allocations: 150.6 kB / 1.362 GB, free: 15.13 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/0.6397, allocations: 434.4 kB / 1.363 GB, free: 14.67 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.964e-05/0.6397, allocations: 176.4 kB / 1.363 GB, free: 14.49 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.909e-05/0.6398, allocations: 84.05 kB / 1.363 GB, free: 14.41 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.6398, allocations: 75.28 kB / 1.363 GB, free: 14.33 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.6398, allocations: 109.8 kB / 1.363 GB, free: 14.21 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.6398, allocations: 0 / 1.363 GB, free: 14.21 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 6.288e-05/0.6399, allocations: 37.69 kB / 1.363 GB, free: 14.17 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.6399, allocations: 51.41 kB / 1.363 GB, free: 14.11 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.095e-05/0.64, allocations: 92.5 kB / 1.363 GB, free: 14.02 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.437e-06/0.64, allocations: 25.7 kB / 1.363 GB, free: 13.98 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.64, allocations: 84.12 kB / 1.363 GB, free: 13.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.11e-07/0.64, allocations: 0 / 1.363 GB, free: 13.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-07/0.64, allocations: 0 / 1.363 GB, free: 13.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.931e-05/0.6401, allocations: 318.8 kB / 1.364 GB, free: 13.58 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.945e-06/0.6401, allocations: 0 / 1.364 GB, free: 13.58 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-06/0.6402, allocations: 0 / 1.364 GB, free: 13.58 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.14e-05/0.6402, allocations: 75.28 kB / 1.364 GB, free: 13.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.02e-05/0.6402, allocations: 75.28 kB / 1.364 GB, free: 13.43 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.137e-05/0.6403, allocations: 37.55 kB / 1.364 GB, free: 13.39 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/0.6403, allocations: 4 kB / 1.364 GB, free: 13.39 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.6403, allocations: 83.22 kB / 1.364 GB, free: 13.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.495e-05/0.6403, allocations: 158.6 kB / 1.364 GB, free: 13.15 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.782e-05/0.6404, allocations: 79.27 kB / 1.364 GB, free: 13.07 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-05/0.6404, allocations: 154.5 kB / 1.364 GB, free: 12.92 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.396e-05/0.6405, allocations: 75.47 kB / 1.364 GB, free: 12.84 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.6405, allocations: 79.28 kB / 1.364 GB, free: 12.77 MB / 0.823 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.576e-05/0.6406, allocations: 255.5 kB / 1.365 GB, free: 12.51 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.6407, allocations: 112.8 kB / 1.365 GB, free: 12.39 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.769e-05/0.6407, allocations: 117.2 kB / 1.365 GB, free: 12.27 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.437e-05/0.6408, allocations: 180 kB / 1.365 GB, free: 12.09 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.425e-05/0.6408, allocations: 180.2 kB / 1.365 GB, free: 11.91 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.186e-05/0.6408, allocations: 176.3 kB / 1.365 GB, free: 11.73 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.641, allocations: 385.8 kB / 1.366 GB, free: 11.31 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.625e-05/0.641, allocations: 104.9 kB / 1.366 GB, free: 11.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-05/0.6411, allocations: 101 kB / 1.366 GB, free: 11.09 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.252e-05/0.6411, allocations: 180.2 kB / 1.366 GB, free: 10.91 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-05/0.6412, allocations: 192.1 kB / 1.366 GB, free: 10.72 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.33e-05/0.6412, allocations: 188.5 kB / 1.366 GB, free: 10.53 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.859e-05/0.6413, allocations: 176.3 kB / 1.367 GB, free: 10.35 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.299e-05/0.6414, allocations: 303.8 kB / 1.367 GB, free: 10.03 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.6414, allocations: 186 kB / 1.367 GB, free: 9.824 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.46e-05/0.6415, allocations: 192.1 kB / 1.367 GB, free: 9.629 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.571e-05/0.6415, allocations: 101 kB / 1.367 GB, free: 9.523 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.6416, allocations: 180.2 kB / 1.368 GB, free: 9.34 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.6416, allocations: 108.9 kB / 1.368 GB, free: 9.227 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.972e-05/0.6417, allocations: 83.16 kB / 1.368 GB, free: 9.148 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002194/0.6419, allocations: 4 kB / 1.368 GB, free: 9.145 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.0001673/0.6421, allocations: 181.6 kB / 1.368 GB, free: 8.961 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 2.797e-05/0.6421, allocations: 4 kB / 1.368 GB, free: 8.957 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.6421, allocations: 0 / 1.368 GB, free: 8.957 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.21e-07/0.6421, allocations: 0 / 1.368 GB, free: 8.957 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.6423, allocations: 0.519 MB / 1.368 GB, free: 8.434 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001395/0.6425, allocations: 130.5 kB / 1.369 GB, free: 8.285 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.6427, allocations: 0.688 MB / 1.369 GB, free: 7.57 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.6427, allocations: 0 / 1.369 GB, free: 7.57 MB / 0.823 GB Notification: Performance of Templates: time 0.001551/0.6442, allocations: 309.5 kB / 1.37 GB, free: 7.309 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches