Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,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.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.4/2.4, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001082/0.001082, allocations: 177 kB / 498.1 MB, free: 5.664 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.468/1.468, allocations: 223.2 MB / 0.7949 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.0008909/0.0008908, allocations: 99.81 kB / 0.9346 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003953, allocations: 7.906 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3903, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2088/0.5992, allocations: 151.9 MB / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/0.5995, allocations: 71.97 kB / 1.371 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01476/0.6143, allocations: 4.597 MB / 1.376 GB, free: 5.371 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.123e-06/0.6144, allocations: 0 / 1.376 GB, free: 5.371 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.6144, allocations: 4 kB / 1.376 GB, free: 5.367 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.0008781/0.6153, allocations: 0.6605 MB / 1.376 GB, free: 4.621 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.6153, allocations: 12.03 kB / 1.376 GB, free: 4.609 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.6155, allocations: 27.72 kB / 1.376 GB, free: 4.582 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.6159, allocations: 262.4 kB / 1.377 GB, free: 4.289 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.953e-05/0.6159, allocations: 15.98 kB / 1.377 GB, free: 4.273 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.395e-05/0.616, allocations: 19.94 kB / 1.377 GB, free: 4.254 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009313/0.6169, allocations: 213.2 kB / 1.377 GB, free: 4.043 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.617, allocations: 0 / 1.377 GB, free: 4.043 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.617, allocations: 8 kB / 1.377 GB, free: 4.035 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.617, allocations: 0 / 1.377 GB, free: 4.035 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007403/0.6178, allocations: 111.9 kB / 1.377 GB, free: 3.926 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004552/0.6182, allocations: 325.4 kB / 1.377 GB, free: 3.559 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009709/0.6192, allocations: 190.4 kB / 1.378 GB, free: 3.363 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-05/0.6193, allocations: 0 / 1.378 GB, free: 3.363 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008724/0.6201, allocations: 222.1 kB / 1.378 GB, free: 3.137 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.6201, allocations: 0 / 1.378 GB, free: 3.137 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16): time 0.002369/0.6225, allocations: 477 kB / 1.378 GB, free: 2.664 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.6226, allocations: 67.33 kB / 1.378 GB, free: 2.586 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.6229, allocations: 258.1 kB / 1.379 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.438e-05/0.623, allocations: 37.7 kB / 1.379 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.41e-05/0.623, allocations: 89.14 kB / 1.379 GB, free: 2.188 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.746e-05/0.6231, allocations: 47.44 kB / 1.379 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.6231, allocations: 8 kB / 1.379 GB, free: 2.133 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.6233, allocations: 326.8 kB / 1.379 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.6235, allocations: 87.94 kB / 1.379 GB, free: 1.719 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.6238, allocations: 139 kB / 1.379 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.6241, allocations: 159.4 kB / 1.379 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6241, allocations: 0 / 1.379 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007227/0.6248, allocations: 401.7 kB / 1.38 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.31e-05/0.6249, allocations: 80 kB / 1.38 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.6249, allocations: 4.188 kB / 1.38 GB, free: 0.8906 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.6249, allocations: 4 kB / 1.38 GB, free: 0.8867 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.6251, allocations: 23.92 kB / 1.38 GB, free: 0.8633 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.6251, allocations: 0 / 1.38 GB, free: 0.8633 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/0.6254, allocations: 47.81 kB / 1.38 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.017e-05/0.6255, allocations: 39.98 kB / 1.38 GB, free: 0.7773 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.0002436/0.6258, allocations: 179.9 kB / 1.38 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.6258, allocations: 31.66 kB / 1.38 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.47e-05/0.6259, allocations: 22.31 kB / 1.38 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.6259, allocations: 7.984 kB / 1.38 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.6259, allocations: 0 / 1.38 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.6259, allocations: 0 / 1.38 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.628, allocations: 0.709 MB / 1.381 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.628, allocations: 0 / 1.381 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-05/0.628, allocations: 4 kB / 1.381 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.628, allocations: 4 kB / 1.381 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.6281, allocations: 19.97 kB / 1.381 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.6281, allocations: 3.938 kB / 1.381 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6281, allocations: 0 / 1.381 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.6296, allocations: 465.7 kB / 1.381 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002452/0.6299, allocations: 168.5 kB / 1.382 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.276e-05/0.63, allocations: 16 kB / 1.382 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003828/0.6303, allocations: 27.97 kB / 1.382 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.6304, allocations: 7.984 kB / 1.382 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.965e-05/0.6305, allocations: 47.97 kB / 1.382 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002127/0.6307, allocations: 213.9 kB / 1.382 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6307, allocations: 4 kB / 1.382 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003841/0.6311, allocations: 51.94 kB / 1.382 GB, free: 14.72 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.0001859/0.6313, allocations: 125.3 kB / 1.382 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001148/0.6324, allocations: 394.5 kB / 1.382 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6324, allocations: 0 / 1.382 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006712/0.6331, allocations: 124.3 kB / 1.382 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.6334, allocations: 25.28 kB / 1.383 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.6347, allocations: 0.4951 MB / 1.383 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.6351, allocations: 0.7516 MB / 1.384 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.186e-05/0.6351, allocations: 12.64 kB / 1.384 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.6352, allocations: 11.44 kB / 1.384 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of SimCode: time 2.21e-07/0.6352, allocations: 0 / 1.384 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of Templates: time 0.007277/0.6425, allocations: 3.902 MB / 1.388 GB, free: 8.824 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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