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.001008/0.001008, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008335/0.008335, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.398/1.398, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.784/2.784, allocations: 462.6 MB / 0.7363 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004147/0.000415, allocations: 11.56 kB / 0.9027 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3525, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002229/0.3548, allocations: 1.23 MB / 1.06 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.3565, allocations: 0.5853 MB / 1.06 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.442e-05/0.3566, allocations: 0 / 1.06 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.3568, allocations: 7.922 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.3569, allocations: 31.84 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008904/0.3578, allocations: 291.6 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005433/0.3584, allocations: 443.4 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.921e-05/0.3585, allocations: 4 kB / 1.061 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005482/0.359, allocations: 306.9 kB / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003536/0.3594, allocations: 159.2 kB / 1.062 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.281e-05/0.3595, allocations: 20 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.788e-05/0.3596, allocations: 12 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.3597, allocations: 119.6 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.36, allocations: 212.5 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004912/0.3605, allocations: 406.9 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3605, allocations: 0 / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.505e-06/0.3605, allocations: 3.938 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.3605, allocations: 4 kB / 1.062 GB, free: 1.188 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.001295/0.3618, allocations: 0.7576 MB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3618, allocations: 11.97 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.362, allocations: 56.45 kB / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.3624, allocations: 314.3 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.273e-05/0.3625, allocations: 12.38 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.974e-05/0.3626, allocations: 32.36 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.3637, allocations: 218 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3637, allocations: 4.172 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.3638, allocations: 3.938 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-06/0.3638, allocations: 4 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000848/0.3646, allocations: 111.9 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.3651, allocations: 389.2 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.3663, allocations: 202.4 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008244/0.3672, allocations: 120.8 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.3672, allocations: 4 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/0.3682, allocations: 231.1 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.134e-06/0.3683, allocations: 0 / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002738/0.371, allocations: 0.5108 MB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.3711, allocations: 67.31 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004919/0.3716, allocations: 413.8 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.297e-05/0.3717, allocations: 41.69 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.401e-05/0.3718, allocations: 93.45 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.062e-05/0.3718, allocations: 31.55 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-05/0.3719, allocations: 49.69 kB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.372, allocations: 318.8 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.3723, allocations: 123.9 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/0.3726, allocations: 161.9 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.373, allocations: 279.6 kB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3731, allocations: 0 / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009178/0.374, allocations: 496.6 kB / 1.067 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.3741, allocations: 91.31 kB / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.3741, allocations: 7.938 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.3741, allocations: 0 / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.3743, allocations: 27.92 kB / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.3744, allocations: 4 kB / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005311/0.3749, allocations: 71.72 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.303e-05/0.375, allocations: 59.98 kB / 1.067 GB, free: 11.61 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.0002307/0.3752, allocations: 192 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.3753, allocations: 39.55 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.975e-05/0.3754, allocations: 43.69 kB / 1.068 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3754, allocations: 4 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3754, allocations: 4 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3754, allocations: 0 / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/0.3777, allocations: 0.7679 MB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3778, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.701e-05/0.3778, allocations: 4 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.3778, allocations: 4 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-05/0.3778, allocations: 19.97 kB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3779, allocations: 0 / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3779, allocations: 4 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.3797, allocations: 0.4894 MB / 1.069 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002501/0.3799, allocations: 204.4 kB / 1.069 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.053e-05/0.38, allocations: 8 kB / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004888/0.3805, allocations: 39.97 kB / 1.069 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.3805, allocations: 15.97 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.635e-05/0.3806, allocations: 55.97 kB / 1.069 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003382/0.381, allocations: 299.1 kB / 1.07 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.381, allocations: 0 / 1.07 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000438/0.3814, allocations: 63.98 kB / 1.07 GB, free: 9.277 MB / 0.8262 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.00016/0.3816, allocations: 119.1 kB / 1.07 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001362/0.383, allocations: 450.5 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.383, allocations: 384 / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008073/0.3838, allocations: 135.8 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.3842, allocations: 29.48 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.3859, allocations: 0.6776 MB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/0.3865, allocations: 0.7826 MB / 1.072 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.78e-05/0.3866, allocations: 17.08 kB / 1.072 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.3866, allocations: 15.42 kB / 1.072 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of SimCode: time 7.32e-07/0.3866, allocations: 0 / 1.072 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of Templates: time 0.01037/0.397, allocations: 4.929 MB / 1.077 GB, free: 1.961 MB / 0.8262 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