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.369/1.369, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 181.1 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008004/0.0008005, allocations: 87.75 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004379/0.000438, allocations: 11.94 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2233, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1766/0.4, allocations: 133.6 MB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.4003, allocations: 75.95 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01381/0.4142, allocations: 4.47 MB / 1.035 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4142, allocations: 0 / 1.035 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.573e-05/0.4142, allocations: 4 kB / 1.035 GB, free: 5.613 MB / 0.6823 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.001014/0.4153, allocations: 0.6259 MB / 1.036 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.4153, allocations: 8.031 kB / 1.036 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.757e-05/0.4154, allocations: 35.61 kB / 1.036 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.4158, allocations: 250.6 kB / 1.036 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.751e-05/0.4158, allocations: 8 kB / 1.036 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/0.4159, allocations: 23.94 kB / 1.036 GB, free: 4.555 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.4162, allocations: 145.5 kB / 1.036 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.4162, allocations: 0 / 1.036 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.4162, allocations: 0 / 1.036 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.4163, allocations: 7.984 kB / 1.036 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.4164, allocations: 43.98 kB / 1.036 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.4169, allocations: 333.2 kB / 1.036 GB, free: 3.98 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.4172, allocations: 130.7 kB / 1.037 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.4173, allocations: 0 / 1.037 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004704/0.4177, allocations: 219.6 kB / 1.037 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 1.684e-06/0.4178, allocations: 0 / 1.037 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0006611/0.4184, allocations: 271.7 kB / 1.037 GB, free: 3.348 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.4185, allocations: 59.41 kB / 1.037 GB, free: 3.277 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003251/0.4188, allocations: 258.1 kB / 1.037 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.009e-05/0.4189, allocations: 37.7 kB / 1.037 GB, free: 2.977 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.144e-05/0.419, allocations: 97.12 kB / 1.037 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.187e-05/0.4191, allocations: 43.44 kB / 1.037 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.4191, allocations: 8 kB / 1.037 GB, free: 2.828 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.4193, allocations: 322.8 kB / 1.038 GB, free: 2.504 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/0.4196, allocations: 100.2 kB / 1.038 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/0.4199, allocations: 158.3 kB / 1.038 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.4202, allocations: 148.1 kB / 1.038 GB, free: 2.066 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/0.4202, allocations: 7.953 kB / 1.038 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000822/0.421, allocations: 423.1 kB / 1.039 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.238e-05/0.4211, allocations: 75.38 kB / 1.039 GB, free: 1.543 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.4212, allocations: 4 kB / 1.039 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.4212, allocations: 4 kB / 1.039 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.4214, allocations: 23.92 kB / 1.039 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.4214, allocations: 7.938 kB / 1.039 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003804/0.4218, allocations: 52.06 kB / 1.039 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.204e-05/0.4219, allocations: 63.91 kB / 1.039 GB, free: 1.391 MB / 0.6823 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 () * Number of clocked 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.000218/0.4221, allocations: 171.9 kB / 1.039 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.4222, allocations: 27.67 kB / 1.039 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.529e-05/0.4222, allocations: 30.25 kB / 1.039 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4222, allocations: 4 kB / 1.039 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4223, allocations: 0 / 1.039 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.4223, allocations: 7.984 kB / 1.039 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000901/0.4232, allocations: 0.5567 MB / 1.04 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4232, allocations: 0 / 1.04 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.14e-05/0.4232, allocations: 8 kB / 1.04 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4233, allocations: 0 / 1.04 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.4233, allocations: 11.98 kB / 1.04 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4233, allocations: 0 / 1.04 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4233, allocations: 7.922 kB / 1.04 GB, free: 0.5039 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.4237, allocations: 325.4 kB / 1.04 GB, free: 176 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.4239, allocations: 152.7 kB / 1.04 GB, free: 4 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-05/0.424, allocations: 8.078 kB / 1.04 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.4241, allocations: 11.98 kB / 1.04 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.4242, allocations: 15.98 kB / 1.04 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.593e-05/0.4243, allocations: 31.97 kB / 1.04 GB, free: 15.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001784/0.4245, allocations: 201.9 kB / 1.04 GB, free: 15.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.703e-06/0.4245, allocations: 0 / 1.04 GB, free: 15.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003175/0.4248, allocations: 67.92 kB / 1.04 GB, free: 15.67 MB / 0.698 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) * Number of clocked states: 0 () * 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.0001573/0.425, allocations: 111.2 kB / 1.04 GB, free: 15.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005996/0.4256, allocations: 350.7 kB / 1.041 GB, free: 15.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4256, allocations: 0 / 1.041 GB, free: 15.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.4257, allocations: 71.91 kB / 1.041 GB, free: 15.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.426, allocations: 32.75 kB / 1.041 GB, free: 15.08 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008072/0.4268, allocations: 443.3 kB / 1.041 GB, free: 14.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.4272, allocations: 0.7516 MB / 1.042 GB, free: 13.84 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001384/0.4274, allocations: 37.06 kB / 1.042 GB, free: 13.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.4275, allocations: 35.42 kB / 1.042 GB, free: 13.77 MB / 0.698 GB Notification: Performance of SimCode: time 5.61e-07/0.4275, allocations: 0 / 1.042 GB, free: 13.77 MB / 0.698 GB Notification: Performance of Templates: time 0.007572/0.4351, allocations: 4.306 MB / 1.046 GB, free: 9.473 MB / 0.698 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