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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001197/0.001196, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001836/0.001837, allocations: 196.7 kB / 16.26 MB, free: 6.629 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.471/1.471, allocations: 222.9 MB / 239.9 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.919/2.919, allocations: 472.6 MB / 0.7448 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 66.8 kB / 0.9115 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3481, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003044/0.3512, allocations: 1.575 MB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.3525, allocations: 0.5434 MB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.011e-05/0.3526, allocations: 8 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.3527, allocations: 3.938 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.3529, allocations: 23.86 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000837/0.3537, allocations: 287.1 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005977/0.3543, allocations: 0.5072 MB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.227e-05/0.3544, allocations: 11.97 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005441/0.3549, allocations: 338.9 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.3553, allocations: 163.5 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.3554, allocations: 24 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.977e-05/0.3555, allocations: 28 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.3556, allocations: 123.4 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.3559, allocations: 198.8 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000441/0.3563, allocations: 426.9 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3563, allocations: 0 / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3563, allocations: 0 / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.3563, allocations: 0 / 1.072 GB, free: 6.566 MB / 0.8262 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.001395/0.3577, allocations: 0.8743 MB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3578, allocations: 8.031 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.358, allocations: 52.45 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.3584, allocations: 314.3 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.539e-05/0.3584, allocations: 16.31 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.188e-05/0.3585, allocations: 28.36 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.3596, allocations: 214 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3596, allocations: 4.188 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.3597, allocations: 7.922 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-06/0.3597, allocations: 0 / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008106/0.3605, allocations: 99.92 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.361, allocations: 393.2 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.3621, allocations: 178.4 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008024/0.3629, allocations: 112.8 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.363, allocations: 4.375 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.3641, allocations: 220.7 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.755e-06/0.3641, allocations: 0 / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002708/0.3668, allocations: 486.7 kB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.3669, allocations: 63.33 kB / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.3673, allocations: 413.9 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.128e-05/0.3674, allocations: 41.69 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.72e-05/0.3675, allocations: 93.45 kB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.845e-05/0.3676, allocations: 39.44 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/0.3678, allocations: 133.3 kB / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.3679, allocations: 322.8 kB / 1.076 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.3682, allocations: 123.9 kB / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.3685, allocations: 168.2 kB / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004406/0.369, allocations: 283.3 kB / 1.076 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.369, allocations: 0 / 1.076 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000865/0.3698, allocations: 496.6 kB / 1.077 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.256e-05/0.3699, allocations: 91.31 kB / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.37, allocations: 3.938 kB / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.37, allocations: 4 kB / 1.077 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.3702, allocations: 24.11 kB / 1.077 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.3702, allocations: 4 kB / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005513/0.3708, allocations: 63.78 kB / 1.077 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.718e-05/0.3709, allocations: 59.98 kB / 1.077 GB, free: 0.8867 MB / 0.8262 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.0002636/0.3711, allocations: 192 kB / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.039e-05/0.3712, allocations: 43.47 kB / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.29e-05/0.3713, allocations: 43.73 kB / 1.077 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3713, allocations: 0 / 1.077 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3713, allocations: 0 / 1.077 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3713, allocations: 4 kB / 1.077 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002354/0.3737, allocations: 0.748 MB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3737, allocations: 4 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.939e-05/0.3738, allocations: 8 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.3738, allocations: 0 / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.57e-05/0.3738, allocations: 23.95 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.3738, allocations: 4 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3738, allocations: 0 / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.3757, allocations: 476.9 kB / 1.079 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002762/0.376, allocations: 208.4 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.458e-05/0.3761, allocations: 8 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005205/0.3766, allocations: 31.97 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.3767, allocations: 11.98 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.71e-05/0.3768, allocations: 59.97 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003099/0.3771, allocations: 291.1 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3771, allocations: 4 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004344/0.3775, allocations: 63.98 kB / 1.079 GB, free: 14.59 MB / 0.8419 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.0001693/0.3777, allocations: 121.8 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001456/0.3792, allocations: 442.5 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3792, allocations: 0 / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008078/0.38, allocations: 124.2 kB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.3804, allocations: 35.7 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.3821, allocations: 0.6685 MB / 1.081 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.3825, allocations: 0.7707 MB / 1.081 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.323e-05/0.3826, allocations: 17.08 kB / 1.081 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.3826, allocations: 15.38 kB / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of SimCode: time 7.42e-07/0.3826, allocations: 0 / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of Templates: time 0.01044/0.3931, allocations: 5.116 MB / 1.086 GB, free: 7.121 MB / 0.8419 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches