Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 114.9 kB / 16.37 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001572/0.001573, allocations: 193.2 kB / 17.31 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.466/2.466, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 63.88 kB / 0.8773 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.334, allocations: 153 MB / 1.027 GB, free: 2.105 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002624/0.3367, allocations: 1.518 MB / 1.028 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.3379, allocations: 0.5538 MB / 1.029 GB, free: 24 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.861e-05/0.338, allocations: 0 / 1.029 GB, free: 24 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.3381, allocations: 7.922 kB / 1.029 GB, free: 16 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.3382, allocations: 27.84 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007295/0.339, allocations: 307.4 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005216/0.3395, allocations: 0.5071 MB / 1.03 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.803e-05/0.3396, allocations: 4 kB / 1.03 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000336/0.3399, allocations: 275.6 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.3402, allocations: 147.6 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.906e-05/0.3403, allocations: 24 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.666e-05/0.3403, allocations: 28 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.3405, allocations: 115.6 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.3407, allocations: 187.1 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004201/0.3411, allocations: 422.7 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3411, allocations: 0 / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3411, allocations: 0 / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.3411, allocations: 0 / 1.031 GB, free: 14 MB / 0.8106 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.00123/0.3423, allocations: 0.8625 MB / 1.032 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3424, allocations: 12.03 kB / 1.032 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.3425, allocations: 48.55 kB / 1.032 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.3429, allocations: 322.1 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.479e-05/0.343, allocations: 20.3 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.407e-05/0.3431, allocations: 28.36 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008998/0.344, allocations: 209 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.344, allocations: 192 / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.344, allocations: 11.92 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3441, allocations: 4 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006894/0.3447, allocations: 103.9 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.3452, allocations: 381.3 kB / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009843/0.3462, allocations: 182.4 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000683/0.3469, allocations: 108.8 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.3469, allocations: 0 / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008259/0.3477, allocations: 231 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.3477, allocations: 0 / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002352/0.3501, allocations: 491.5 kB / 1.034 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.3502, allocations: 59.39 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004209/0.3506, allocations: 413.9 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.663e-05/0.3507, allocations: 37.7 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.3507, allocations: 93.44 kB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/0.3508, allocations: 39.55 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.351, allocations: 125.3 kB / 1.034 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.3511, allocations: 326.8 kB / 1.035 GB, free: 9.703 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.3514, allocations: 119.9 kB / 1.035 GB, free: 9.586 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.3516, allocations: 166.9 kB / 1.035 GB, free: 9.402 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/0.352, allocations: 278.7 kB / 1.035 GB, free: 9.098 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.352, allocations: 4 kB / 1.035 GB, free: 9.094 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007568/0.3528, allocations: 0.4903 MB / 1.036 GB, free: 8.586 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.661e-05/0.3529, allocations: 91.31 kB / 1.036 GB, free: 8.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.3529, allocations: 0 / 1.036 GB, free: 8.484 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3529, allocations: 4 kB / 1.036 GB, free: 8.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.3531, allocations: 27.91 kB / 1.036 GB, free: 8.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3531, allocations: 0 / 1.036 GB, free: 8.453 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004612/0.3536, allocations: 63.98 kB / 1.036 GB, free: 8.391 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.297e-05/0.3537, allocations: 55.98 kB / 1.036 GB, free: 8.336 MB / 0.8106 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000215/0.3539, allocations: 200 kB / 1.036 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.354, allocations: 39.47 kB / 1.036 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.029e-05/0.354, allocations: 39.75 kB / 1.036 GB, free: 8.055 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.354, allocations: 0 / 1.036 GB, free: 8.055 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.354, allocations: 7.984 kB / 1.036 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3541, allocations: 0 / 1.036 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.3561, allocations: 0.7443 MB / 1.037 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3561, allocations: 0 / 1.037 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.529e-05/0.3562, allocations: 4 kB / 1.037 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.3562, allocations: 4 kB / 1.037 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.733e-05/0.3562, allocations: 27.91 kB / 1.037 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3562, allocations: 4 kB / 1.037 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3562, allocations: 0 / 1.037 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.3578, allocations: 482.4 kB / 1.037 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002882/0.3581, allocations: 196.5 kB / 1.038 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.424e-05/0.3582, allocations: 12 kB / 1.038 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004462/0.3587, allocations: 35.95 kB / 1.038 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.3587, allocations: 4 kB / 1.038 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.417e-05/0.3588, allocations: 63.97 kB / 1.038 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003385/0.3591, allocations: 295.1 kB / 1.038 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.5e-07/0.3591, allocations: 4 kB / 1.038 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005711/0.3597, allocations: 63.98 kB / 1.038 GB, free: 6.039 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000218/0.36, allocations: 117.5 kB / 1.038 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001842/0.3618, allocations: 438.7 kB / 1.039 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.3618, allocations: 8.125 kB / 1.039 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.3629, allocations: 115.9 kB / 1.039 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006041/0.3635, allocations: 33.47 kB / 1.039 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.3656, allocations: 0.5362 MB / 1.039 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/0.3661, allocations: 0.7746 MB / 1.04 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.047e-05/0.3662, allocations: 9.078 kB / 1.04 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.791e-05/0.3663, allocations: 19.44 kB / 1.04 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of SimCode: time 8.92e-07/0.3663, allocations: 3.938 kB / 1.04 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of Templates: time 0.01353/0.3799, allocations: 4.924 MB / 1.045 GB, free: 14.89 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches