Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,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.CalendarTimeMonths") [: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.182/1.182, allocations: 249.4 MB / 256.7 MB, free: 6.945 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.0009731/0.0009731, allocations: 188.4 kB / 316 MB, free: 3.555 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.05/1.05, allocations: 205.1 MB / 0.5667 GB, free: 15.64 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.0008607/0.000861, allocations: 83.39 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.969e-06/4.989e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1425, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4362/0.5787, allocations: 133.8 MB / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.579, allocations: 76.89 kB / 1.015 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01235/0.5914, allocations: 4.099 MB / 1.019 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.5914, allocations: 4 kB / 1.019 GB, free: 1.461 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.0007431/0.5922, allocations: 0.5916 MB / 1.02 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.5922, allocations: 8.031 kB / 1.02 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.173e-05/0.5923, allocations: 31.62 kB / 1.02 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.5926, allocations: 249.8 kB / 1.02 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.5926, allocations: 4 kB / 1.02 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.446e-05/0.5927, allocations: 23.52 kB / 1.02 GB, free: 496 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001133/0.5928, allocations: 37.98 kB / 1.02 GB, free: 468 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.593, allocations: 142.3 kB / 1.02 GB, free: 340 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.593, allocations: 0 / 1.02 GB, free: 340 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.5931, allocations: 3.25 kB / 1.02 GB, free: 340 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.5931, allocations: 0 / 1.02 GB, free: 340 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.5934, allocations: 301.9 kB / 1.021 GB, free: 48 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.5936, allocations: 110.6 kB / 1.021 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.413e-05/0.5937, allocations: 59.16 kB / 1.021 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.5937, allocations: 0 / 1.021 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003019/0.594, allocations: 182 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.372e-06/0.594, allocations: 0 / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0003373/0.5944, allocations: 169.1 kB / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.5944, allocations: 58.53 kB / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.5946, allocations: 244.9 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.983e-05/0.5947, allocations: 41.45 kB / 1.021 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.5947, allocations: 89.05 kB / 1.022 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.5948, allocations: 37.73 kB / 1.022 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.5948, allocations: 7.984 kB / 1.022 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.5949, allocations: 326.1 kB / 1.022 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.5951, allocations: 82.28 kB / 1.022 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.5953, allocations: 141.8 kB / 1.022 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.5954, allocations: 74.02 kB / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5955, allocations: 0.75 kB / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004751/0.5959, allocations: 278.3 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.596, allocations: 8 kB / 1.022 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.596, allocations: 0 / 1.022 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.596, allocations: 8.094 kB / 1.022 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.5961, allocations: 31.91 kB / 1.022 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.5961, allocations: 4 kB / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003635/0.5965, allocations: 51.81 kB / 1.023 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.31e-05/0.5966, allocations: 59.23 kB / 1.023 GB, free: 14.22 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.0001092/0.5967, allocations: 130.3 kB / 1.023 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.5968, allocations: 27.62 kB / 1.023 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.096e-05/0.5968, allocations: 31.78 kB / 1.023 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.5968, allocations: 0 / 1.023 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.5968, allocations: 0 / 1.023 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5968, allocations: 0 / 1.023 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005534/0.5974, allocations: 494 kB / 1.023 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.5974, allocations: 4 kB / 1.023 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/0.5975, allocations: 7.984 kB / 1.023 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5975, allocations: 0 / 1.023 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.5975, allocations: 15.8 kB / 1.023 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.5975, allocations: 0 / 1.023 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5975, allocations: 0.9375 kB / 1.023 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002654/0.5978, allocations: 272 kB / 1.024 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.5979, allocations: 161.6 kB / 1.024 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.625e-05/0.598, allocations: 6.875 kB / 1.024 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.5982, allocations: 11.98 kB / 1.024 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.5983, allocations: 15.17 kB / 1.024 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.5983, allocations: 31.97 kB / 1.024 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001423/0.5984, allocations: 197.3 kB / 1.024 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002919/0.5987, allocations: 51.98 kB / 1.024 GB, free: 12.86 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.0001363/0.5989, allocations: 115.1 kB / 1.024 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003874/0.5993, allocations: 268.9 kB / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.5993, allocations: 0 / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.754e-05/0.5994, allocations: 61.67 kB / 1.024 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.5996, allocations: 19.28 kB / 1.024 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005213/0.6002, allocations: 272.3 kB / 1.025 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004382/0.6006, allocations: 0.8006 MB / 1.025 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of SimCode: time 2.71e-07/0.6006, allocations: 0 / 1.025 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of Templates: time 0.006721/0.6073, allocations: 4.291 MB / 1.03 GB, free: 7.109 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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