Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,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.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_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.312/2.312, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001753/0.001753, allocations: 191.4 kB / 498.1 MB, free: 5.738 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.597/1.597, allocations: 223.2 MB / 0.7948 GB, free: 17.82 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.001055/0.001055, allocations: 102.7 kB / 0.9346 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0006043/0.0006044, allocations: 7.375 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.351, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2072/0.5582, allocations: 152 MB / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.5585, allocations: 75.89 kB / 1.371 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01435/0.5729, allocations: 4.606 MB / 1.376 GB, free: 5.336 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5729, allocations: 0 / 1.376 GB, free: 5.336 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.876e-05/0.5729, allocations: 4 kB / 1.376 GB, free: 5.332 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.0009705/0.5739, allocations: 0.6566 MB / 1.376 GB, free: 4.59 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.574, allocations: 12.03 kB / 1.377 GB, free: 4.578 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.5741, allocations: 27.72 kB / 1.377 GB, free: 4.551 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.5746, allocations: 258.4 kB / 1.377 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.048e-05/0.5746, allocations: 19.98 kB / 1.377 GB, free: 4.242 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.263e-05/0.5747, allocations: 23.94 kB / 1.377 GB, free: 4.219 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009103/0.5756, allocations: 205.5 kB / 1.377 GB, free: 4.012 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.5757, allocations: 0 / 1.377 GB, free: 4.012 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.5757, allocations: 7.984 kB / 1.377 GB, free: 4.004 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.5757, allocations: 4 kB / 1.377 GB, free: 4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007024/0.5764, allocations: 99.92 kB / 1.377 GB, free: 3.902 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.5768, allocations: 333.3 kB / 1.377 GB, free: 3.527 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009832/0.5778, allocations: 186.4 kB / 1.378 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/0.5779, allocations: 7.984 kB / 1.378 GB, free: 3.328 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009453/0.5788, allocations: 231.1 kB / 1.378 GB, free: 3.09 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=16): time 2.064e-06/0.5788, allocations: 0 / 1.378 GB, free: 3.09 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16): time 0.00241/0.5813, allocations: 479.1 kB / 1.378 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.5813, allocations: 59.41 kB / 1.378 GB, free: 2.547 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.5817, allocations: 258.1 kB / 1.379 GB, free: 2.281 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.395e-05/0.5818, allocations: 33.7 kB / 1.379 GB, free: 2.242 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.5819, allocations: 93.14 kB / 1.379 GB, free: 2.148 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.456e-05/0.582, allocations: 43.44 kB / 1.379 GB, free: 2.105 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.582, allocations: 8 kB / 1.379 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.5822, allocations: 330.8 kB / 1.379 GB, free: 1.766 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.5825, allocations: 91.94 kB / 1.379 GB, free: 1.676 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/0.5828, allocations: 142.9 kB / 1.379 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.5831, allocations: 155.4 kB / 1.379 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.5831, allocations: 0 / 1.379 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008271/0.5839, allocations: 402.2 kB / 1.38 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.675e-05/0.584, allocations: 75.38 kB / 1.38 GB, free: 0.8555 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.5841, allocations: 4 kB / 1.38 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.5841, allocations: 4 kB / 1.38 GB, free: 0.8477 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.5843, allocations: 23.92 kB / 1.38 GB, free: 0.8242 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.5843, allocations: 4.188 kB / 1.38 GB, free: 0.8203 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/0.5847, allocations: 43.81 kB / 1.38 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.371e-05/0.5848, allocations: 43.98 kB / 1.38 GB, free: 0.7344 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.0002385/0.585, allocations: 171.9 kB / 1.38 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.5851, allocations: 27.67 kB / 1.38 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.922e-05/0.5851, allocations: 34.3 kB / 1.38 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.5852, allocations: 0 / 1.38 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.5852, allocations: 0 / 1.38 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.5852, allocations: 4 kB / 1.38 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002418/0.5876, allocations: 0.705 MB / 1.381 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5876, allocations: 0 / 1.381 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.5877, allocations: 11.98 kB / 1.381 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.5877, allocations: 4 kB / 1.381 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/0.5877, allocations: 15.98 kB / 1.381 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.5877, allocations: 3.938 kB / 1.381 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5877, allocations: 0 / 1.381 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.5894, allocations: 461.8 kB / 1.381 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/0.5897, allocations: 168.5 kB / 1.382 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.537e-05/0.5898, allocations: 15.98 kB / 1.382 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003993/0.5902, allocations: 31.97 kB / 1.382 GB, free: 15 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.5902, allocations: 11.94 kB / 1.382 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.141e-05/0.5903, allocations: 43.97 kB / 1.382 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002265/0.5905, allocations: 205.9 kB / 1.382 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5905, allocations: 0 / 1.382 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003879/0.5909, allocations: 55.94 kB / 1.382 GB, free: 14.69 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.000261/0.5912, allocations: 127.4 kB / 1.382 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001338/0.5926, allocations: 398.5 kB / 1.382 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5926, allocations: 0 / 1.382 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007437/0.5933, allocations: 123.9 kB / 1.383 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.5936, allocations: 28.8 kB / 1.383 GB, free: 14 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.5952, allocations: 0.4985 MB / 1.383 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.5957, allocations: 0.7488 MB / 1.384 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.641e-05/0.5957, allocations: 16.64 kB / 1.384 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.5958, allocations: 11.44 kB / 1.384 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of SimCode: time 5.11e-07/0.5958, allocations: 0 / 1.384 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of Templates: time 0.008865/0.6047, allocations: 3.909 MB / 1.388 GB, free: 8.773 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","../files/Buildings_9_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