Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,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.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_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.548/1.548, allocations: 249.5 MB / 257 MB, free: 7.039 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.001108/0.001108, allocations: 179.5 kB / 316.3 MB, free: 3.234 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.046/2.046, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0009459/0.0009459, allocations: 86.48 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.425e-05/1.428e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2866, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9546/1.241, allocations: 133.8 MB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/1.242, allocations: 69.03 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01365/1.255, allocations: 4.433 MB / 1.02 GB, free: 260 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.314e-06/1.255, allocations: 0 / 1.02 GB, free: 260 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.675e-05/1.255, allocations: 4 kB / 1.02 GB, free: 256 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.0009731/1.256, allocations: 0.5827 MB / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/1.256, allocations: 8.031 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/1.257, allocations: 27.72 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/1.257, allocations: 255.9 kB / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/1.257, allocations: 4 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.336e-05/1.257, allocations: 19.98 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001285/1.257, allocations: 40.98 kB / 1.021 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/1.257, allocations: 139 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/1.257, allocations: 4 kB / 1.021 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/1.257, allocations: 3.984 kB / 1.021 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/1.257, allocations: 4 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/1.258, allocations: 304.3 kB / 1.022 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/1.258, allocations: 120.8 kB / 1.022 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.566e-05/1.258, allocations: 50.23 kB / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/1.258, allocations: 8.359 kB / 1.022 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003766/1.259, allocations: 199.5 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/1.259, allocations: 0 / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0004396/1.259, allocations: 214.6 kB / 1.022 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/1.259, allocations: 58.41 kB / 1.022 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/1.259, allocations: 247.8 kB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.95e-05/1.259, allocations: 37 kB / 1.023 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.56e-05/1.26, allocations: 92.58 kB / 1.023 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/1.26, allocations: 41.75 kB / 1.023 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/1.26, allocations: 7.875 kB / 1.023 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.26, allocations: 322.6 kB / 1.023 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/1.26, allocations: 90.27 kB / 1.023 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/1.26, allocations: 133 kB / 1.023 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/1.26, allocations: 77.25 kB / 1.023 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.26, allocations: 0 / 1.023 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005369/1.261, allocations: 314.4 kB / 1.024 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.639e-05/1.261, allocations: 79.12 kB / 1.024 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/1.261, allocations: 0 / 1.024 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/1.261, allocations: 4 kB / 1.024 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/1.261, allocations: 23.92 kB / 1.024 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/1.261, allocations: 4 kB / 1.024 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/1.262, allocations: 48 kB / 1.024 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.531e-05/1.262, allocations: 59.84 kB / 1.024 GB, free: 12.85 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.0001642/1.262, allocations: 125 kB / 1.024 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/1.262, allocations: 31.58 kB / 1.024 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.693e-05/1.262, allocations: 33.91 kB / 1.024 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.262, allocations: 3.984 kB / 1.024 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.262, allocations: 0 / 1.024 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/1.262, allocations: 3.984 kB / 1.024 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007727/1.263, allocations: 0.5125 MB / 1.024 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/1.263, allocations: 4 kB / 1.024 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.159e-05/1.263, allocations: 4 kB / 1.024 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/1.263, allocations: 0 / 1.024 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/1.263, allocations: 19.66 kB / 1.024 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.263, allocations: 4 kB / 1.024 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.263, allocations: 0 / 1.024 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/1.263, allocations: 312.5 kB / 1.025 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/1.264, allocations: 155.9 kB / 1.025 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/1.264, allocations: 7.875 kB / 1.025 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/1.264, allocations: 15.48 kB / 1.025 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/1.264, allocations: 11.98 kB / 1.025 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.208e-05/1.264, allocations: 47.84 kB / 1.025 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001838/1.264, allocations: 188.5 kB / 1.025 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/1.264, allocations: 0 / 1.025 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003344/1.264, allocations: 48 kB / 1.025 GB, free: 11.43 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.0002307/1.265, allocations: 115.5 kB / 1.025 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005743/1.265, allocations: 330.4 kB / 1.026 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/1.265, allocations: 384 / 1.026 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/1.265, allocations: 78.44 kB / 1.026 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/1.266, allocations: 16.86 kB / 1.026 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000573/1.266, allocations: 268.1 kB / 1.026 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/1.267, allocations: 0.7507 MB / 1.027 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001409/1.267, allocations: 37.2 kB / 1.027 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/1.267, allocations: 35.42 kB / 1.027 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of SimCode: time 3.91e-07/1.267, allocations: 0 / 1.027 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of Templates: time 0.008298/1.275, allocations: 4.14 MB / 1.031 GB, free: 5.746 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","../files/Buildings_maint.7.0.x_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