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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.463/1.463, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001139/0.001139, allocations: 183.8 kB / 326.5 MB, free: 2.246 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.809/1.809, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008901/0.0008901, allocations: 96.64 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003137, allocations: 8.844 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2138, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1656/0.3794, allocations: 133.6 MB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.3798, allocations: 67.97 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01406/0.3938, allocations: 4.469 MB / 1.035 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.398e-06/0.3939, allocations: 4 kB / 1.035 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.692e-05/0.3939, allocations: 3.938 kB / 1.035 GB, free: 5.629 MB / 0.6823 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.001154/0.3951, allocations: 0.6181 MB / 1.036 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.3951, allocations: 12.03 kB / 1.036 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.3953, allocations: 35.62 kB / 1.036 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003989/0.3957, allocations: 250.6 kB / 1.036 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.399e-05/0.3957, allocations: 11.98 kB / 1.036 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.317e-05/0.3958, allocations: 20 kB / 1.036 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.3961, allocations: 141.5 kB / 1.036 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.3962, allocations: 3.938 kB / 1.036 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.3962, allocations: 8 kB / 1.036 GB, free: 4.418 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.3962, allocations: 0 / 1.036 GB, free: 4.418 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.3963, allocations: 43.97 kB / 1.036 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/0.3968, allocations: 333.2 kB / 1.036 GB, free: 4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.3972, allocations: 130.7 kB / 1.037 GB, free: 3.863 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.3972, allocations: 7.938 kB / 1.037 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004432/0.3976, allocations: 207.6 kB / 1.037 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.034e-06/0.3977, allocations: 0 / 1.037 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0006272/0.3983, allocations: 273 kB / 1.037 GB, free: 3.367 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.3984, allocations: 59.41 kB / 1.037 GB, free: 3.297 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.3986, allocations: 254.1 kB / 1.037 GB, free: 3.043 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.335e-05/0.3987, allocations: 41.7 kB / 1.037 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.725e-05/0.3988, allocations: 93.12 kB / 1.037 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.639e-05/0.3988, allocations: 43.45 kB / 1.037 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.3989, allocations: 11.98 kB / 1.037 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.399, allocations: 318.8 kB / 1.038 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.3993, allocations: 104.2 kB / 1.038 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002662/0.3996, allocations: 158.4 kB / 1.038 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.3998, allocations: 155.6 kB / 1.038 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3998, allocations: 3.953 kB / 1.038 GB, free: 2.078 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007271/0.4006, allocations: 423.2 kB / 1.039 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.564e-05/0.4006, allocations: 77.73 kB / 1.039 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4006, allocations: 3.938 kB / 1.039 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.4007, allocations: 4 kB / 1.039 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.4008, allocations: 27.91 kB / 1.039 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/0.4009, allocations: 4 kB / 1.039 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003601/0.4012, allocations: 55.88 kB / 1.039 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.162e-05/0.4013, allocations: 55.98 kB / 1.039 GB, free: 1.414 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 () * Number of clocked 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.0002009/0.4015, allocations: 175.9 kB / 1.039 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.4016, allocations: 27.67 kB / 1.039 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.4017, allocations: 30.25 kB / 1.039 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4017, allocations: 0 / 1.039 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.4017, allocations: 0 / 1.039 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4017, allocations: 0 / 1.039 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008445/0.4026, allocations: 0.5645 MB / 1.04 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.4026, allocations: 4 kB / 1.04 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.223e-05/0.4026, allocations: 11.98 kB / 1.04 GB, free: 0.5391 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4026, allocations: 0 / 1.04 GB, free: 0.5391 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.4027, allocations: 11.98 kB / 1.04 GB, free: 0.5273 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4027, allocations: 0 / 1.04 GB, free: 0.5273 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4027, allocations: 0 / 1.04 GB, free: 0.5273 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.4031, allocations: 329 kB / 1.04 GB, free: 196 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.4033, allocations: 152.7 kB / 1.04 GB, free: 24 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.986e-05/0.4033, allocations: 11.98 kB / 1.04 GB, free: 12 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.4035, allocations: 8 kB / 1.04 GB, free: 4 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.344e-05/0.4036, allocations: 19.97 kB / 1.04 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/0.4037, allocations: 27.98 kB / 1.04 GB, free: 15.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001798/0.4038, allocations: 205.9 kB / 1.04 GB, free: 15.75 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4038, allocations: 3.938 kB / 1.04 GB, free: 15.75 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000307/0.4042, allocations: 52 kB / 1.04 GB, free: 15.7 MB / 0.698 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) * Number of clocked states: 0 () * 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.0001426/0.4043, allocations: 119.2 kB / 1.04 GB, free: 15.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005773/0.4049, allocations: 350.7 kB / 1.041 GB, free: 15.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4049, allocations: 4 kB / 1.041 GB, free: 15.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.405, allocations: 75.89 kB / 1.041 GB, free: 15.13 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.4053, allocations: 16.84 kB / 1.041 GB, free: 15.11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007132/0.406, allocations: 447.7 kB / 1.041 GB, free: 14.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.4063, allocations: 0.7477 MB / 1.042 GB, free: 13.87 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001383/0.4065, allocations: 37.06 kB / 1.042 GB, free: 13.83 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.4066, allocations: 39.42 kB / 1.042 GB, free: 13.79 MB / 0.698 GB Notification: Performance of SimCode: time 3.51e-07/0.4066, allocations: 4 kB / 1.042 GB, free: 13.79 MB / 0.698 GB Notification: Performance of Templates: time 0.007229/0.4138, allocations: 4.306 MB / 1.046 GB, free: 9.492 MB / 0.698 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