Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,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.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_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.367/1.367, 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.001247/0.001247, allocations: 179 kB / 326.5 MB, free: 2.23 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.865/1.865, allocations: 205.4 MB / 0.5775 GB, free: 20.51 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.0008627/0.0008626, allocations: 97.22 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.000357, allocations: 8.062 kB / 0.7962 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2022, allocations: 106.3 MB / 0.9001 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.176/0.3782, allocations: 133.5 MB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.3785, allocations: 79.95 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01337/0.3919, allocations: 4.449 MB / 1.035 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.883e-06/0.392, allocations: 0 / 1.035 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.392, allocations: 4 kB / 1.035 GB, free: 6.082 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.001031/0.393, allocations: 0.6234 MB / 1.036 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.406e-05/0.3931, allocations: 12.03 kB / 1.036 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.3932, allocations: 31.62 kB / 1.036 GB, free: 5.344 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.3937, allocations: 258.5 kB / 1.036 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/0.3937, allocations: 12 kB / 1.036 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.328e-05/0.3938, allocations: 15.98 kB / 1.036 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.3941, allocations: 145.5 kB / 1.036 GB, free: 4.875 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3941, allocations: 0 / 1.036 GB, free: 4.875 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.3942, allocations: 3.984 kB / 1.036 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3942, allocations: 4 kB / 1.036 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.3943, allocations: 51.91 kB / 1.036 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.3947, allocations: 333.2 kB / 1.036 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.395, allocations: 122.7 kB / 1.036 GB, free: 4.312 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.395, allocations: 3.984 kB / 1.036 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004186/0.3955, allocations: 215.6 kB / 1.037 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.3955, allocations: 0 / 1.037 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0006145/0.3961, allocations: 275.2 kB / 1.037 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.3961, allocations: 59.39 kB / 1.037 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.3964, allocations: 258.2 kB / 1.037 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.574e-05/0.3965, allocations: 37.69 kB / 1.037 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/0.3966, allocations: 93.12 kB / 1.037 GB, free: 3.348 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.337e-05/0.3966, allocations: 43.45 kB / 1.037 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.3967, allocations: 8 kB / 1.037 GB, free: 3.297 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3968, allocations: 322.8 kB / 1.038 GB, free: 2.973 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.3971, allocations: 104.2 kB / 1.038 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/0.3973, allocations: 154.3 kB / 1.038 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.3976, allocations: 152.1 kB / 1.038 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.3976, allocations: 3.953 kB / 1.038 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007686/0.3984, allocations: 434.4 kB / 1.039 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.827e-05/0.3985, allocations: 75.39 kB / 1.039 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.3985, allocations: 4 kB / 1.039 GB, free: 2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3985, allocations: 0 / 1.039 GB, free: 2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.3987, allocations: 27.92 kB / 1.039 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.3987, allocations: 3.984 kB / 1.039 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.3991, allocations: 52.02 kB / 1.039 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.914e-05/0.3992, allocations: 55.97 kB / 1.039 GB, free: 1.863 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.0002112/0.3994, allocations: 171.9 kB / 1.039 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.3995, allocations: 27.67 kB / 1.039 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.895e-05/0.3995, allocations: 26.25 kB / 1.039 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3995, allocations: 4 kB / 1.039 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.3995, allocations: 7.984 kB / 1.039 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3996, allocations: 4 kB / 1.039 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000831/0.4004, allocations: 0.5645 MB / 1.04 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4004, allocations: 0 / 1.04 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.4004, allocations: 8 kB / 1.04 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4005, allocations: 0 / 1.04 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.4005, allocations: 19.97 kB / 1.04 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4005, allocations: 0 / 1.04 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4005, allocations: 0 / 1.04 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.4009, allocations: 325.8 kB / 1.04 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/0.4011, allocations: 152.7 kB / 1.04 GB, free: 480 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.959e-05/0.4012, allocations: 8 kB / 1.04 GB, free: 472 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.4013, allocations: 11.98 kB / 1.04 GB, free: 460 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.4014, allocations: 15.98 kB / 1.04 GB, free: 444 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/0.4015, allocations: 31.97 kB / 1.04 GB, free: 412 kB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001856/0.4017, allocations: 205.9 kB / 1.04 GB, free: 204 kB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4017, allocations: 3.938 kB / 1.04 GB, free: 200 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003177/0.402, allocations: 55.98 kB / 1.04 GB, free: 144 kB / 0.6823 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.000155/0.4021, allocations: 116.5 kB / 1.04 GB, free: 20 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006228/0.4028, allocations: 354.7 kB / 1.041 GB, free: 15.65 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4028, allocations: 0 / 1.041 GB, free: 15.65 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.4029, allocations: 71.91 kB / 1.041 GB, free: 15.58 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.4032, allocations: 21.2 kB / 1.041 GB, free: 15.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007254/0.4039, allocations: 440.7 kB / 1.041 GB, free: 15.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.4043, allocations: 0.7515 MB / 1.042 GB, free: 14.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001439/0.4044, allocations: 37.08 kB / 1.042 GB, free: 14.28 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.4046, allocations: 47.34 kB / 1.042 GB, free: 14.23 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.4046, allocations: 0 / 1.042 GB, free: 14.23 MB / 0.698 GB Notification: Performance of Templates: time 0.008355/0.4129, allocations: 4.307 MB / 1.046 GB, free: 9.934 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","../files/Buildings_maint.7.0.x_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