Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") [: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.746/1.746, 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.0008859/0.0008859, allocations: 181.3 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.112/1.112, allocations: 221.4 MB / 0.7863 GB, free: 13.7 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.0007739/0.0007739, allocations: 96.97 kB / 0.9264 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.37e-06/5.39e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1649, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4503/0.6152, allocations: 149.6 MB / 1.358 GB, free: 17.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001808/0.6154, allocations: 80.3 kB / 1.358 GB, free: 17.25 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01035/0.6257, allocations: 4.51 MB / 1.362 GB, free: 17.02 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.6258, allocations: 1.156 kB / 1.362 GB, free: 17.02 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.0002069/0.626, allocations: 353.3 kB / 1.362 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.847e-05/0.626, allocations: 8.344 kB / 1.362 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.998e-05/0.6261, allocations: 76.44 kB / 1.363 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.129e-05/0.6261, allocations: 245.1 kB / 1.363 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/0.6262, allocations: 155.2 kB / 1.363 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/0.6262, allocations: 152.9 kB / 1.363 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.025e-05/0.6263, allocations: 154.5 kB / 1.363 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.637e-05/0.6263, allocations: 102.3 kB / 1.363 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.6263, allocations: 75.28 kB / 1.363 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.651e-05/0.6264, allocations: 155.8 kB / 1.364 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.49e-05/0.6264, allocations: 152 kB / 1.364 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.6266, allocations: 436 kB / 1.364 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.272e-05/0.6267, allocations: 177.6 kB / 1.364 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.354e-05/0.6267, allocations: 84.14 kB / 1.364 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.6268, allocations: 76.73 kB / 1.364 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.6268, allocations: 106.9 kB / 1.365 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.6268, allocations: 0 / 1.365 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.217e-05/0.6269, allocations: 27.95 kB / 1.365 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.53e-05/0.6269, allocations: 52.77 kB / 1.365 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.589e-05/0.627, allocations: 104.9 kB / 1.365 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/0.627, allocations: 25.7 kB / 1.365 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.627, allocations: 81.17 kB / 1.365 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-06/0.627, allocations: 3 kB / 1.365 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.593e-06/0.627, allocations: 0 / 1.365 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.747e-05/0.6271, allocations: 313.6 kB / 1.365 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.238e-05/0.6271, allocations: 6.75 kB / 1.365 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.979e-05/0.6271, allocations: 9.5 kB / 1.365 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.901e-05/0.6272, allocations: 8 kB / 1.365 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.6272, allocations: 8.031 kB / 1.365 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.366e-05/0.6272, allocations: 37.97 kB / 1.365 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.6273, allocations: 6.859 kB / 1.365 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.6273, allocations: 0 / 1.365 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.6273, allocations: 0 / 1.365 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-06/0.6273, allocations: 5.125 kB / 1.365 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.6273, allocations: 3.938 kB / 1.365 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.069e-05/0.6274, allocations: 2.906 kB / 1.365 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.6274, allocations: 1.125 kB / 1.365 GB, free: 29.8 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 (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 6.247e-05/0.6274, allocations: 181.8 kB / 1.365 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/0.6275, allocations: 111.9 kB / 1.365 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.6275, allocations: 114.6 kB / 1.366 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.69e-05/0.6276, allocations: 177.3 kB / 1.366 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-05/0.6276, allocations: 183.4 kB / 1.366 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.512e-05/0.6277, allocations: 180.3 kB / 1.366 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.6278, allocations: 384.2 kB / 1.366 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.071e-05/0.6278, allocations: 104.9 kB / 1.367 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.126e-05/0.6278, allocations: 103.5 kB / 1.367 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.543e-05/0.6279, allocations: 177.8 kB / 1.367 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/0.6279, allocations: 181.6 kB / 1.367 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.522e-05/0.628, allocations: 188 kB / 1.367 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.8e-05/0.628, allocations: 177.4 kB / 1.367 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.97e-05/0.6281, allocations: 304.8 kB / 1.368 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/0.6281, allocations: 188.3 kB / 1.368 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.6282, allocations: 187.2 kB / 1.368 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.481e-05/0.6283, allocations: 102.5 kB / 1.368 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.6283, allocations: 184.9 kB / 1.368 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.6283, allocations: 106.1 kB / 1.368 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.039e-05/0.6284, allocations: 85.59 kB / 1.368 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000212/0.6286, allocations: 4.469 kB / 1.368 GB, free: 26.3 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.0001559/0.6287, allocations: 187.6 kB / 1.369 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.857e-05/0.6288, allocations: 13.91 kB / 1.369 GB, free: 26.13 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.6288, allocations: 0 / 1.369 GB, free: 26.13 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.6288, allocations: 0 / 1.369 GB, free: 26.13 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.6291, allocations: 0.5165 MB / 1.369 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001606/0.6293, allocations: 135.8 kB / 1.369 GB, free: 25.47 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.6295, allocations: 0.6862 MB / 1.37 GB, free: 24.77 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/0.6295, allocations: 3.938 kB / 1.37 GB, free: 24.76 MB / 0.8386 GB Notification: Performance of Templates: time 0.001915/0.6314, allocations: 396.6 kB / 1.37 GB, free: 24.73 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches