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.577/1.577, allocations: 249.5 MB / 257 MB, free: 6.934 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.001324/0.001324, allocations: 180.8 kB / 316.3 MB, free: 3.301 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.001096/0.001096, allocations: 91.55 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.268e-05/2.27e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2858, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.995/1.281, allocations: 133.8 MB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/1.281, allocations: 76.44 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.015/1.296, allocations: 4.436 MB / 1.02 GB, free: 196 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.484e-06/1.296, allocations: 4 kB / 1.02 GB, free: 192 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.313e-05/1.296, allocations: 4 kB / 1.02 GB, free: 188 kB / 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.001168/1.298, allocations: 0.5741 MB / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.119e-05/1.298, allocations: 12.03 kB / 1.021 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/1.298, allocations: 31.7 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005142/1.298, allocations: 255.4 kB / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/1.298, allocations: 4 kB / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.832e-05/1.298, allocations: 16 kB / 1.021 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001732/1.299, allocations: 43.47 kB / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003021/1.299, allocations: 139.7 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/1.299, allocations: 0 / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/1.299, allocations: 0 / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/1.299, allocations: 0 / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/1.299, allocations: 310.5 kB / 1.022 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/1.3, allocations: 124.2 kB / 1.022 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/1.3, allocations: 52.16 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/1.3, allocations: 4.359 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004566/1.3, allocations: 210 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/1.3, allocations: 0 / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0005301/1.301, allocations: 205.9 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/1.301, allocations: 62.33 kB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/1.301, allocations: 245.2 kB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.211e-05/1.301, allocations: 32.83 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/1.302, allocations: 96.12 kB / 1.023 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.763e-05/1.302, allocations: 42.02 kB / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/1.302, allocations: 4 kB / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001748/1.302, allocations: 324.6 kB / 1.023 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/1.302, allocations: 81.72 kB / 1.023 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/1.302, allocations: 146.7 kB / 1.023 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/1.302, allocations: 76.2 kB / 1.023 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.302, allocations: 0 / 1.023 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006627/1.303, allocations: 310.7 kB / 1.024 GB, free: 13 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-05/1.303, allocations: 74.77 kB / 1.024 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/1.303, allocations: 4.188 kB / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/1.303, allocations: 8 kB / 1.024 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/1.303, allocations: 31.91 kB / 1.024 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/1.303, allocations: 4 kB / 1.024 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003734/1.304, allocations: 39.88 kB / 1.024 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.457e-05/1.304, allocations: 51.55 kB / 1.024 GB, free: 12.79 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.0001562/1.304, allocations: 130.7 kB / 1.024 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/1.304, allocations: 35.56 kB / 1.024 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.858e-05/1.304, allocations: 25.16 kB / 1.024 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/1.304, allocations: 4 kB / 1.024 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.304, allocations: 0 / 1.024 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.304, allocations: 0 / 1.024 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008407/1.305, allocations: 0.5212 MB / 1.024 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.305, allocations: 0 / 1.024 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.286e-05/1.305, allocations: 19.61 kB / 1.024 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/1.305, allocations: 3.984 kB / 1.024 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/1.305, allocations: 11.98 kB / 1.024 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.305, allocations: 0 / 1.024 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.305, allocations: 0 / 1.024 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/1.306, allocations: 305 kB / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/1.306, allocations: 159.2 kB / 1.025 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.097e-05/1.306, allocations: 7.5 kB / 1.025 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/1.306, allocations: 11.98 kB / 1.025 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/1.306, allocations: 23.59 kB / 1.025 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.78e-05/1.306, allocations: 23.98 kB / 1.025 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002365/1.307, allocations: 200.6 kB / 1.025 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.01e-07/1.307, allocations: 0 / 1.025 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004463/1.307, allocations: 51.98 kB / 1.025 GB, free: 11.36 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.000234/1.307, allocations: 113.7 kB / 1.025 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005743/1.308, allocations: 331.8 kB / 1.026 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/1.308, allocations: 0 / 1.026 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/1.308, allocations: 63.58 kB / 1.026 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/1.308, allocations: 25.58 kB / 1.026 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000628/1.309, allocations: 279.3 kB / 1.026 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004986/1.309, allocations: 0.7506 MB / 1.027 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001485/1.31, allocations: 37.22 kB / 1.027 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/1.31, allocations: 38.59 kB / 1.027 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/1.31, allocations: 0 / 1.027 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of Templates: time 0.009467/1.319, allocations: 4.131 MB / 1.031 GB, free: 5.688 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