Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,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.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_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001108, allocations: 100.2 kB / 16.35 MB, free: 5.828 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.00116/0.00116, allocations: 194.5 kB / 17.29 MB, free: 5.484 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.715/2.715, allocations: 442.5 MB / 0.7165 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 70.47 kB / 0.8773 GB, free: 42.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.334, allocations: 153 MB / 1.027 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002603/0.3366, allocations: 1.513 MB / 1.028 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.3379, allocations: 0.5503 MB / 1.029 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.663e-05/0.3379, allocations: 0 / 1.029 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.246e-05/0.338, allocations: 11.88 kB / 1.029 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.68e-05/0.3382, allocations: 27.84 kB / 1.029 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007431/0.3389, allocations: 315 kB / 1.029 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005169/0.3395, allocations: 0.5033 MB / 1.03 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.3395, allocations: 7.984 kB / 1.03 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003512/0.3399, allocations: 271.6 kB / 1.03 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.3401, allocations: 143.7 kB / 1.03 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.902e-05/0.3402, allocations: 24 kB / 1.03 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.489e-05/0.3403, allocations: 28 kB / 1.03 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.3404, allocations: 127.5 kB / 1.03 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.3406, allocations: 179.1 kB / 1.03 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003996/0.341, allocations: 426.6 kB / 1.031 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.341, allocations: 0 / 1.031 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.143e-06/0.341, allocations: 0 / 1.031 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3411, allocations: 0 / 1.031 GB, free: 3.395 MB / 0.7794 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.00116/0.3422, allocations: 0.8742 MB / 1.032 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3423, allocations: 12.03 kB / 1.032 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.3424, allocations: 48.47 kB / 1.032 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.3428, allocations: 314.2 kB / 1.032 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.643e-05/0.3428, allocations: 12.36 kB / 1.032 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.451e-05/0.3429, allocations: 28.38 kB / 1.032 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008768/0.3438, allocations: 214 kB / 1.032 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3438, allocations: 192 / 1.032 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.3439, allocations: 7.875 kB / 1.032 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.3439, allocations: 4 kB / 1.032 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006885/0.3446, allocations: 99.92 kB / 1.032 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004202/0.345, allocations: 381.3 kB / 1.033 GB, free: 1.238 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009546/0.346, allocations: 182.5 kB / 1.033 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000678/0.3466, allocations: 108.8 kB / 1.033 GB, free: 0.9414 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.3467, allocations: 4 kB / 1.033 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000892/0.3476, allocations: 229.2 kB / 1.033 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.3476, allocations: 0 / 1.033 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002606/0.3502, allocations: 484.9 kB / 1.034 GB, free: 228 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.412e-05/0.3503, allocations: 63.33 kB / 1.034 GB, free: 152 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006039/0.3509, allocations: 417.8 kB / 1.034 GB, free: 15.73 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.351, allocations: 41.69 kB / 1.034 GB, free: 15.69 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.3511, allocations: 89.44 kB / 1.034 GB, free: 15.59 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.536e-05/0.3512, allocations: 39.55 kB / 1.034 GB, free: 15.55 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/0.3515, allocations: 125.3 kB / 1.034 GB, free: 15.43 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002189/0.3517, allocations: 322.8 kB / 1.035 GB, free: 15.1 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.352, allocations: 119.9 kB / 1.035 GB, free: 14.98 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/0.3524, allocations: 176.4 kB / 1.035 GB, free: 14.79 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.3528, allocations: 274.9 kB / 1.035 GB, free: 14.49 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.3529, allocations: 4 kB / 1.035 GB, free: 14.49 MB / 0.795 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009255/0.3538, allocations: 0.4887 MB / 1.036 GB, free: 13.98 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.3539, allocations: 87.31 kB / 1.036 GB, free: 13.88 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.3539, allocations: 0 / 1.036 GB, free: 13.88 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.3539, allocations: 4 kB / 1.036 GB, free: 13.88 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.3541, allocations: 23.98 kB / 1.036 GB, free: 13.86 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3542, allocations: 8.125 kB / 1.036 GB, free: 13.85 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004789/0.3546, allocations: 55.86 kB / 1.036 GB, free: 13.79 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-05/0.3547, allocations: 63.91 kB / 1.036 GB, free: 13.73 MB / 0.795 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.0002689/0.355, allocations: 196 kB / 1.036 GB, free: 13.53 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.539e-05/0.3551, allocations: 43.47 kB / 1.036 GB, free: 13.49 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.678e-05/0.3552, allocations: 43.73 kB / 1.036 GB, free: 13.45 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3552, allocations: 0 / 1.036 GB, free: 13.45 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3552, allocations: 4 kB / 1.036 GB, free: 13.44 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3552, allocations: 0 / 1.036 GB, free: 13.44 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.3573, allocations: 0.7423 MB / 1.037 GB, free: 12.64 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3573, allocations: 0 / 1.037 GB, free: 12.64 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.117e-05/0.3574, allocations: 11.92 kB / 1.037 GB, free: 12.63 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3574, allocations: 4 kB / 1.037 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.3574, allocations: 15.98 kB / 1.037 GB, free: 12.61 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3574, allocations: 4 kB / 1.037 GB, free: 12.61 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3574, allocations: 0 / 1.037 GB, free: 12.61 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.359, allocations: 477.3 kB / 1.037 GB, free: 12.12 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/0.3593, allocations: 196.5 kB / 1.038 GB, free: 11.91 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.789e-05/0.3594, allocations: 11.98 kB / 1.038 GB, free: 11.9 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000432/0.3598, allocations: 35.97 kB / 1.038 GB, free: 11.87 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.3599, allocations: 11.98 kB / 1.038 GB, free: 11.86 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-05/0.3599, allocations: 59.98 kB / 1.038 GB, free: 11.8 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002851/0.3602, allocations: 295.1 kB / 1.038 GB, free: 11.51 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3602, allocations: 0 / 1.038 GB, free: 11.51 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003625/0.3606, allocations: 63.98 kB / 1.038 GB, free: 11.45 MB / 0.795 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.0001491/0.3607, allocations: 123.1 kB / 1.038 GB, free: 11.32 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001281/0.362, allocations: 438.9 kB / 1.039 GB, free: 10.86 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.362, allocations: 4 kB / 1.039 GB, free: 10.86 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00072/0.3628, allocations: 119.9 kB / 1.039 GB, free: 10.74 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.3631, allocations: 31.41 kB / 1.039 GB, free: 10.71 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.3645, allocations: 0.5436 MB / 1.039 GB, free: 10.14 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.3649, allocations: 0.7707 MB / 1.04 GB, free: 9.344 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 5.779e-05/0.365, allocations: 21.02 kB / 1.04 GB, free: 9.324 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.365, allocations: 11.44 kB / 1.04 GB, free: 9.312 MB / 0.795 GB Notification: Performance of SimCode: time 4.21e-07/0.365, allocations: 0 / 1.04 GB, free: 9.312 MB / 0.795 GB Notification: Performance of Templates: time 0.008862/0.3739, allocations: 4.932 MB / 1.045 GB, free: 4.281 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches