Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.377/2.377, allocations: 390.3 MB / 405.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001331, allocations: 175.3 kB / 498.1 MB, free: 5.695 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.642/1.642, allocations: 223.2 MB / 0.7948 GB, free: 17.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 110 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003934, allocations: 10.41 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3522, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1972/0.5495, allocations: 152 MB / 1.371 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.5499, allocations: 75.95 kB / 1.371 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01555/0.5654, allocations: 4.593 MB / 1.376 GB, free: 5.406 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.895e-06/0.5655, allocations: 7.938 kB / 1.376 GB, free: 5.398 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.044e-05/0.5655, allocations: 0 / 1.376 GB, free: 5.398 MB / 0.8698 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.001246/0.5668, allocations: 0.6644 MB / 1.376 GB, free: 4.648 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.5668, allocations: 8.031 kB / 1.377 GB, free: 4.641 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.567, allocations: 31.72 kB / 1.377 GB, free: 4.609 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000516/0.5675, allocations: 262.4 kB / 1.377 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.955e-05/0.5676, allocations: 15.98 kB / 1.377 GB, free: 4.301 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.982e-05/0.5677, allocations: 16 kB / 1.377 GB, free: 4.285 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.5687, allocations: 213.5 kB / 1.377 GB, free: 4.07 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.5688, allocations: 4 kB / 1.377 GB, free: 4.066 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.5688, allocations: 0 / 1.377 GB, free: 4.066 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.5688, allocations: 0 / 1.377 GB, free: 4.066 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007148/0.5696, allocations: 111.9 kB / 1.377 GB, free: 3.957 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/0.5701, allocations: 325.4 kB / 1.377 GB, free: 3.59 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009654/0.5711, allocations: 194.4 kB / 1.378 GB, free: 3.391 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.5711, allocations: 0 / 1.378 GB, free: 3.391 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008976/0.572, allocations: 227 kB / 1.378 GB, free: 3.156 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=16): time 1.814e-06/0.572, allocations: 0 / 1.378 GB, free: 3.156 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16): time 0.002415/0.5744, allocations: 469.1 kB / 1.378 GB, free: 2.691 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.5745, allocations: 67.33 kB / 1.378 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003292/0.5748, allocations: 266 kB / 1.379 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.927e-05/0.5749, allocations: 41.64 kB / 1.379 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.495e-05/0.575, allocations: 89.14 kB / 1.379 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.303e-05/0.5751, allocations: 35.59 kB / 1.379 GB, free: 2.168 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.5751, allocations: 8 kB / 1.379 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.5753, allocations: 326.8 kB / 1.379 GB, free: 1.832 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.5756, allocations: 91.94 kB / 1.379 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003312/0.5759, allocations: 147.4 kB / 1.379 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.5762, allocations: 153.7 kB / 1.379 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.5762, allocations: 0 / 1.379 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008035/0.577, allocations: 404.7 kB / 1.38 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.173e-05/0.5771, allocations: 75.38 kB / 1.38 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.5771, allocations: 0 / 1.38 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.5772, allocations: 4 kB / 1.38 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.5773, allocations: 27.92 kB / 1.38 GB, free: 0.8867 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.5774, allocations: 0 / 1.38 GB, free: 0.8867 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/0.5777, allocations: 43.94 kB / 1.38 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.616e-05/0.5778, allocations: 43.98 kB / 1.38 GB, free: 0.8008 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$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 (26): * Single equations (assignments): 24 * 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.0002292/0.578, allocations: 175.7 kB / 1.38 GB, free: 0.6211 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/0.5781, allocations: 35.56 kB / 1.38 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.171e-05/0.5782, allocations: 26.3 kB / 1.38 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.5782, allocations: 4 kB / 1.38 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.5782, allocations: 3.938 kB / 1.38 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.5782, allocations: 0 / 1.38 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.5804, allocations: 0.7076 MB / 1.381 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5804, allocations: 0 / 1.381 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.157e-05/0.5804, allocations: 4 kB / 1.381 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.5804, allocations: 4 kB / 1.381 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.5805, allocations: 19.97 kB / 1.381 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5805, allocations: 0 / 1.381 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5805, allocations: 0 / 1.381 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.5821, allocations: 466.9 kB / 1.381 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.5824, allocations: 164.6 kB / 1.382 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/0.5824, allocations: 12 kB / 1.382 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.5829, allocations: 27.97 kB / 1.382 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.5829, allocations: 23.92 kB / 1.382 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.444e-05/0.583, allocations: 43.97 kB / 1.382 GB, free: 15 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000205/0.5832, allocations: 209.9 kB / 1.382 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5832, allocations: 0 / 1.382 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003565/0.5836, allocations: 55.94 kB / 1.382 GB, free: 14.75 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.0002175/0.5838, allocations: 122.1 kB / 1.382 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00123/0.585, allocations: 401.3 kB / 1.382 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.585, allocations: 4 kB / 1.382 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007309/0.5858, allocations: 120.3 kB / 1.383 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.5861, allocations: 25.97 kB / 1.383 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.5875, allocations: 0.5029 MB / 1.383 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.5879, allocations: 0.7438 MB / 1.384 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.92e-05/0.588, allocations: 12.64 kB / 1.384 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.588, allocations: 15.44 kB / 1.384 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of SimCode: time 4.61e-07/0.588, allocations: 7.938 kB / 1.384 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of Templates: time 0.008348/0.5964, allocations: 3.892 MB / 1.388 GB, free: 8.844 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","../files/Buildings_9_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