Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") [: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.171/1.171, allocations: 249.4 MB / 256.7 MB, free: 15.76 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000977/0.000977, allocations: 183.2 kB / 316 MB, free: 7.152 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.189/1.189, allocations: 205.1 MB / 0.5667 GB, free: 23.61 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.000925/0.000925, allocations: 97.56 kB / 0.671 GB, free: 0.8086 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 6.873e-06/6.913e-06, allocations: 4 kB / 0.7807 GB, free: 340 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3393, allocations: 106.3 MB / 0.8845 GB, free: 76.21 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1297/0.4691, allocations: 132.8 MB / 1.014 GB, free: 7.258 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001647/0.4693, allocations: 75.94 kB / 1.014 GB, free: 7.184 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.01208/0.4814, allocations: 4.1 MB / 1.018 GB, free: 3.086 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.4814, allocations: 7.938 kB / 1.018 GB, free: 3.078 MB / 0.6667 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.00072/0.4821, allocations: 0.5827 MB / 1.019 GB, free: 2.426 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.4822, allocations: 8.031 kB / 1.019 GB, free: 2.418 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.011e-05/0.4823, allocations: 35.61 kB / 1.019 GB, free: 2.383 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.4826, allocations: 259.2 kB / 1.019 GB, free: 2.09 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.4826, allocations: 7.906 kB / 1.019 GB, free: 2.082 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.904e-05/0.4827, allocations: 16 kB / 1.019 GB, free: 2.066 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001117/0.4828, allocations: 43.98 kB / 1.019 GB, free: 2.023 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.483, allocations: 137.5 kB / 1.019 GB, free: 1.883 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.483, allocations: 0 / 1.019 GB, free: 1.883 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.4831, allocations: 3.984 kB / 1.019 GB, free: 1.879 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.4831, allocations: 0 / 1.019 GB, free: 1.879 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003131/0.4834, allocations: 305.8 kB / 1.02 GB, free: 1.543 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.4836, allocations: 106.7 kB / 1.02 GB, free: 1.43 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.484e-05/0.4837, allocations: 61.22 kB / 1.02 GB, free: 1.367 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.4837, allocations: 0 / 1.02 GB, free: 1.367 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003199/0.484, allocations: 177.7 kB / 1.02 GB, free: 1.184 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 1.303e-06/0.484, allocations: 0 / 1.02 GB, free: 1.184 MB / 0.6667 GB Notification: Performance of matching and sorting (n=18): time 0.0003261/0.4844, allocations: 173.2 kB / 1.02 GB, free: 1.008 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.4844, allocations: 63.39 kB / 1.02 GB, free: 0.9336 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.4846, allocations: 239.4 kB / 1.02 GB, free: 0.6914 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.172e-05/0.4847, allocations: 41.69 kB / 1.02 GB, free: 0.6445 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.4847, allocations: 92.98 kB / 1.021 GB, free: 0.5508 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.479e-05/0.4848, allocations: 39.61 kB / 1.021 GB, free: 0.5117 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.4848, allocations: 0 / 1.021 GB, free: 0.5117 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.588e-05/0.4849, allocations: 330.7 kB / 1.021 GB, free: 184 kB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.4851, allocations: 84.2 kB / 1.021 GB, free: 96 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.4853, allocations: 136.9 kB / 1.021 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.4854, allocations: 83.44 kB / 1.021 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4854, allocations: 0 / 1.021 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004796/0.4859, allocations: 271.8 kB / 1.021 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.4859, allocations: 8 kB / 1.021 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.486, allocations: 8.031 kB / 1.021 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.486, allocations: 8 kB / 1.021 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.4861, allocations: 27.92 kB / 1.021 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.4862, allocations: 4 kB / 1.022 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003755/0.4865, allocations: 55.75 kB / 1.022 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.662e-05/0.4866, allocations: 55.97 kB / 1.022 GB, free: 15.43 MB / 0.6823 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.0001046/0.4867, allocations: 122.1 kB / 1.022 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.4868, allocations: 27.62 kB / 1.022 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.144e-05/0.4868, allocations: 29.97 kB / 1.022 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4868, allocations: 0 / 1.022 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.4869, allocations: 3.984 kB / 1.022 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4869, allocations: 7.938 kB / 1.022 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/0.4874, allocations: 482.8 kB / 1.022 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4874, allocations: 4 kB / 1.022 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.341e-05/0.4875, allocations: 8 kB / 1.022 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4875, allocations: 0 / 1.022 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.4875, allocations: 19.91 kB / 1.022 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4875, allocations: 0 / 1.022 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4875, allocations: 0 / 1.022 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002793/0.4878, allocations: 272.6 kB / 1.023 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.488, allocations: 156.6 kB / 1.023 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/0.488, allocations: 11.98 kB / 1.023 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.4882, allocations: 8 kB / 1.023 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.4883, allocations: 15.97 kB / 1.023 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/0.4883, allocations: 27.98 kB / 1.023 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001441/0.4885, allocations: 199.1 kB / 1.023 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002939/0.4888, allocations: 52 kB / 1.023 GB, free: 13.93 MB / 0.6823 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.0001299/0.4889, allocations: 123.2 kB / 1.023 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004046/0.4893, allocations: 258.2 kB / 1.023 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.4893, allocations: 0 / 1.023 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.4895, allocations: 71.91 kB / 1.023 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.4897, allocations: 17.34 kB / 1.023 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005036/0.4902, allocations: 270.2 kB / 1.024 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004114/0.4906, allocations: 0.8015 MB / 1.024 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of SimCode: time 3.01e-07/0.4906, allocations: 0 / 1.024 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of Templates: time 0.00652/0.4971, allocations: 4.293 MB / 1.029 GB, free: 8.047 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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