Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [: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 7.0.3-maint.7.0.x/package.mo): time 1.198/1.198, allocations: 249.4 MB / 256.7 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009751/0.0009751, allocations: 185.2 kB / 316 MB, free: 3.547 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.043/1.043, allocations: 205.1 MB / 0.5667 GB, free: 15.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000816/0.000816, allocations: 96.3 kB / 0.671 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.01e-06/5.12e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1403, allocations: 106.3 MB / 0.8846 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.413/0.5534, allocations: 133.8 MB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001695/0.5536, allocations: 73.27 kB / 1.015 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.0124/0.566, allocations: 4.115 MB / 1.019 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.566, allocations: 4 kB / 1.019 GB, free: 1.387 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007546/0.5668, allocations: 0.5838 MB / 1.02 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.5669, allocations: 8.031 kB / 1.02 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.504e-05/0.5669, allocations: 31.62 kB / 1.02 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.5673, allocations: 253.8 kB / 1.02 GB, free: 444 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.5673, allocations: 7.375 kB / 1.02 GB, free: 440 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/0.5673, allocations: 15.91 kB / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001117/0.5675, allocations: 41.61 kB / 1.02 GB, free: 392 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.5677, allocations: 142.5 kB / 1.02 GB, free: 268 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.5677, allocations: 0 / 1.02 GB, free: 268 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.5677, allocations: 0 / 1.02 GB, free: 268 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.5677, allocations: 0 / 1.02 GB, free: 268 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.5681, allocations: 307 kB / 1.021 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.5683, allocations: 114.9 kB / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.252e-05/0.5684, allocations: 52.97 kB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.5684, allocations: 3.938 kB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003055/0.5687, allocations: 175.1 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/0.5687, allocations: 0 / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0003289/0.5691, allocations: 173.4 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.5691, allocations: 59.34 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.5693, allocations: 248 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.764e-05/0.5694, allocations: 41.62 kB / 1.022 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.5694, allocations: 92.36 kB / 1.022 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.5695, allocations: 38.47 kB / 1.022 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.5695, allocations: 0 / 1.022 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.5696, allocations: 328.7 kB / 1.022 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.5698, allocations: 90.64 kB / 1.022 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.57, allocations: 140.6 kB / 1.022 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.5701, allocations: 69.75 kB / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5701, allocations: 0 / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004705/0.5706, allocations: 283.5 kB / 1.023 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.5706, allocations: 8 kB / 1.023 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.5706, allocations: 0 / 1.023 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.5707, allocations: 7.906 kB / 1.023 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.5708, allocations: 27.3 kB / 1.023 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.5708, allocations: 7.984 kB / 1.023 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/0.5712, allocations: 48 kB / 1.023 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-05/0.5713, allocations: 55.8 kB / 1.023 GB, free: 14.14 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001069/0.5714, allocations: 125.7 kB / 1.023 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.5714, allocations: 31.61 kB / 1.023 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.252e-05/0.5715, allocations: 33.09 kB / 1.023 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.5715, allocations: 0 / 1.023 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5715, allocations: 4 kB / 1.023 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5715, allocations: 4 kB / 1.023 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005616/0.5721, allocations: 488.5 kB / 1.023 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5721, allocations: 0 / 1.023 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.301e-05/0.5722, allocations: 7.984 kB / 1.023 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.5722, allocations: 0 / 1.023 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.5722, allocations: 15.92 kB / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.5722, allocations: 4 kB / 1.023 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5722, allocations: 0 / 1.023 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002695/0.5725, allocations: 263.2 kB / 1.024 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.5727, allocations: 162.7 kB / 1.024 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.636e-05/0.5727, allocations: 11.62 kB / 1.024 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.5729, allocations: 11.98 kB / 1.024 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.573, allocations: 15.3 kB / 1.024 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.583e-05/0.573, allocations: 31.3 kB / 1.024 GB, free: 13 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001375/0.5731, allocations: 202.5 kB / 1.024 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002954/0.5734, allocations: 44 kB / 1.024 GB, free: 12.79 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0001319/0.5736, allocations: 110.9 kB / 1.024 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003966/0.574, allocations: 263.6 kB / 1.024 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.574, allocations: 4.312 kB / 1.024 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.5741, allocations: 66.42 kB / 1.024 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.5743, allocations: 20.66 kB / 1.024 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005419/0.5749, allocations: 270.3 kB / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004027/0.5753, allocations: 0.8003 MB / 1.026 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of SimCode: time 2.21e-07/0.5753, allocations: 0 / 1.026 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of Templates: time 0.006522/0.5818, allocations: 4.302 MB / 1.03 GB, free: 7.027 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.daySampleStart,calTim.hour,calTim.hourSampleStart,calTim.minute,calTim.month,calTim.offset,calTim.outputUnixTimeStamp,calTim.timOff,calTim.timZon,calTim.weekDay,calTim.year,calTim.yearRef,calTim.zerTim,time