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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.468/1.468, allocations: 249.3 MB / 261.8 MB, free: 5.871 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.001011/0.00101, allocations: 168.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.195/2.195, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.001082/0.001082, allocations: 80.42 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.566e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2526, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.938/1.191, allocations: 133.5 MB / 1.022 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/1.191, allocations: 66.84 kB / 1.022 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01482/1.206, allocations: 4.469 MB / 1.027 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.312e-06/1.206, allocations: 0 / 1.027 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.714e-05/1.206, allocations: 0 / 1.027 GB, free: 13.32 MB / 0.6511 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.0008859/1.207, allocations: 0.5802 MB / 1.027 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/1.207, allocations: 8.031 kB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.779e-05/1.207, allocations: 27.72 kB / 1.027 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/1.207, allocations: 257.4 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.024e-05/1.207, allocations: 15.73 kB / 1.027 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.45e-05/1.208, allocations: 23.69 kB / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/1.208, allocations: 139.6 kB / 1.028 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/1.208, allocations: 0 / 1.028 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/1.208, allocations: 7.938 kB / 1.028 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/1.208, allocations: 4 kB / 1.028 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/1.208, allocations: 42.8 kB / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/1.208, allocations: 338 kB / 1.028 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/1.209, allocations: 130.7 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/1.209, allocations: 54.22 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/1.209, allocations: 3.984 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003986/1.209, allocations: 213 kB / 1.028 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.472e-06/1.209, allocations: 0 / 1.028 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0004531/1.21, allocations: 222 kB / 1.029 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/1.21, allocations: 63.2 kB / 1.029 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/1.21, allocations: 256.3 kB / 1.029 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.561e-05/1.21, allocations: 41.08 kB / 1.029 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.2e-05/1.21, allocations: 93.12 kB / 1.029 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.525e-05/1.21, allocations: 46.44 kB / 1.029 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/1.21, allocations: 7.562 kB / 1.029 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001468/1.21, allocations: 318.5 kB / 1.029 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/1.211, allocations: 101 kB / 1.029 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/1.211, allocations: 147 kB / 1.03 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/1.211, allocations: 153.7 kB / 1.03 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.211, allocations: 0 / 1.03 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006859/1.212, allocations: 413.8 kB / 1.03 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.612e-05/1.212, allocations: 72.67 kB / 1.03 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/1.212, allocations: 0 / 1.03 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/1.212, allocations: 4 kB / 1.03 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/1.212, allocations: 31.09 kB / 1.03 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/1.212, allocations: 4 kB / 1.03 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/1.212, allocations: 51.81 kB / 1.03 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-05/1.213, allocations: 55.73 kB / 1.03 GB, free: 9.637 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.0001572/1.213, allocations: 138.4 kB / 1.03 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.214e-05/1.213, allocations: 27.62 kB / 1.031 GB, free: 9.477 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.972e-05/1.213, allocations: 28.16 kB / 1.031 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/1.213, allocations: 4 kB / 1.031 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.213, allocations: 0 / 1.031 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.213, allocations: 0 / 1.031 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008033/1.214, allocations: 0.5535 MB / 1.031 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/1.214, allocations: 0 / 1.031 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.217e-05/1.214, allocations: 7.984 kB / 1.031 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/1.214, allocations: 4 kB / 1.031 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/1.214, allocations: 10.92 kB / 1.031 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/1.214, allocations: 0 / 1.031 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.214, allocations: 3.938 kB / 1.031 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003877/1.214, allocations: 325.7 kB / 1.031 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/1.214, allocations: 159.2 kB / 1.032 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.65e-05/1.214, allocations: 11.3 kB / 1.032 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/1.215, allocations: 11.5 kB / 1.032 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/1.215, allocations: 15.97 kB / 1.032 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-05/1.215, allocations: 31.3 kB / 1.032 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001827/1.215, allocations: 205.8 kB / 1.032 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/1.215, allocations: 0 / 1.032 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003146/1.215, allocations: 51 kB / 1.032 GB, free: 8.152 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.000178/1.215, allocations: 134.9 kB / 1.032 GB, free: 8.023 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005284/1.216, allocations: 343.5 kB / 1.032 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.216, allocations: 0 / 1.032 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/1.216, allocations: 73.84 kB / 1.032 GB, free: 7.676 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/1.216, allocations: 20.45 kB / 1.032 GB, free: 7.656 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005493/1.217, allocations: 280.7 kB / 1.033 GB, free: 7.391 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/1.217, allocations: 0.7432 MB / 1.033 GB, free: 6.625 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001436/1.218, allocations: 45.19 kB / 1.033 GB, free: 6.578 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/1.218, allocations: 31.42 kB / 1.033 GB, free: 6.551 MB / 0.6511 GB Notification: Performance of SimCode: time 1.933e-06/1.218, allocations: 0 / 1.033 GB, free: 6.551 MB / 0.6511 GB Notification: Performance of Templates: time 0.00819/1.226, allocations: 4.319 MB / 1.038 GB, free: 2.254 MB / 0.6511 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