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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001408/0.001408, allocations: 107.8 kB / 15.99 MB, free: 6.359 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.00147/0.00147, allocations: 195.2 kB / 16.91 MB, free: 6.191 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.394/1.394, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.589/2.589, allocations: 469.4 MB / 0.7423 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 64.81 kB / 0.9083 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3332, allocations: 159.1 MB / 1.064 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002879/0.3361, allocations: 1.576 MB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.3373, allocations: 0.536 MB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.855e-05/0.3375, allocations: 0 / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.3376, allocations: 7.922 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.3377, allocations: 27.86 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008663/0.3386, allocations: 289.2 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006133/0.3392, allocations: 0.5033 MB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.049e-05/0.3393, allocations: 4 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005684/0.3399, allocations: 339 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003484/0.3402, allocations: 167.2 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.3403, allocations: 28 kB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.229e-05/0.3404, allocations: 32 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.3406, allocations: 119.6 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002314/0.3408, allocations: 194.8 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003374/0.3412, allocations: 319.7 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3412, allocations: 0 / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3412, allocations: 0 / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.401e-05/0.3412, allocations: 0 / 1.068 GB, free: 11.29 MB / 0.8419 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.00143/0.3427, allocations: 0.8704 MB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.3427, allocations: 16.62 kB / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.3429, allocations: 48.47 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.3433, allocations: 314.2 kB / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.898e-05/0.3433, allocations: 16.38 kB / 1.069 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.982e-05/0.3434, allocations: 24.36 kB / 1.069 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.3444, allocations: 215.1 kB / 1.069 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3445, allocations: 4.188 kB / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.3445, allocations: 7.938 kB / 1.069 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3445, allocations: 7.938 kB / 1.069 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007938/0.3453, allocations: 99.91 kB / 1.069 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.3458, allocations: 389.2 kB / 1.07 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.3468, allocations: 182.4 kB / 1.07 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007575/0.3476, allocations: 108.8 kB / 1.07 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.3477, allocations: 4 kB / 1.07 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/0.3487, allocations: 227.1 kB / 1.07 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 2.405e-06/0.3487, allocations: 0 / 1.07 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.002628/0.3513, allocations: 487.8 kB / 1.071 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.3514, allocations: 63.39 kB / 1.071 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004115/0.3518, allocations: 405.9 kB / 1.071 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.442e-05/0.3519, allocations: 41.69 kB / 1.071 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/0.352, allocations: 101.4 kB / 1.071 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.352, allocations: 43.39 kB / 1.071 GB, free: 7.426 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.3522, allocations: 133.3 kB / 1.071 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.3523, allocations: 322.8 kB / 1.072 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.3526, allocations: 119.9 kB / 1.072 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.3529, allocations: 169.9 kB / 1.072 GB, free: 6.66 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.3533, allocations: 271 kB / 1.072 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3533, allocations: 4 kB / 1.072 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008138/0.3541, allocations: 492.6 kB / 1.073 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.24e-05/0.3542, allocations: 91.31 kB / 1.073 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.3542, allocations: 4 kB / 1.073 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.3542, allocations: 4 kB / 1.073 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.3544, allocations: 23.92 kB / 1.073 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.3544, allocations: 7.984 kB / 1.073 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005138/0.355, allocations: 63.98 kB / 1.073 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.587e-05/0.3551, allocations: 55.98 kB / 1.073 GB, free: 5.602 MB / 0.8419 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.0002255/0.3553, allocations: 188 kB / 1.073 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7e-05/0.3554, allocations: 47.45 kB / 1.073 GB, free: 5.363 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.264e-05/0.3554, allocations: 43.69 kB / 1.073 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3554, allocations: 4 kB / 1.073 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3555, allocations: 0 / 1.073 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3555, allocations: 0 / 1.073 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/0.3577, allocations: 0.7522 MB / 1.074 GB, free: 4.508 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3577, allocations: 0 / 1.074 GB, free: 4.508 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.558e-05/0.3577, allocations: 4 kB / 1.074 GB, free: 4.504 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3577, allocations: 0 / 1.074 GB, free: 4.504 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.109e-05/0.3578, allocations: 23.97 kB / 1.074 GB, free: 4.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3578, allocations: 0 / 1.074 GB, free: 4.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3578, allocations: 3.984 kB / 1.074 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.3596, allocations: 486.6 kB / 1.074 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002278/0.3598, allocations: 196.5 kB / 1.075 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.938e-05/0.3599, allocations: 15.98 kB / 1.075 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004959/0.3604, allocations: 31.97 kB / 1.075 GB, free: 3.727 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.3604, allocations: 11.98 kB / 1.075 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.629e-05/0.3605, allocations: 59.97 kB / 1.075 GB, free: 3.656 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002878/0.3608, allocations: 295.1 kB / 1.075 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3608, allocations: 0 / 1.075 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003765/0.3612, allocations: 67.98 kB / 1.075 GB, free: 3.305 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.000154/0.3613, allocations: 119.9 kB / 1.075 GB, free: 3.176 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001302/0.3627, allocations: 445.7 kB / 1.076 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3627, allocations: 0 / 1.076 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007845/0.3635, allocations: 123.8 kB / 1.076 GB, free: 2.598 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.3638, allocations: 35.38 kB / 1.076 GB, free: 2.57 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.3654, allocations: 0.7016 MB / 1.076 GB, free: 1.84 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.3658, allocations: 0.7669 MB / 1.077 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.377e-05/0.3658, allocations: 19.42 kB / 1.077 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of SimCode: time 3.91e-07/0.3658, allocations: 3.938 kB / 1.077 GB, free: 1.023 MB / 0.8419 GB Notification: Performance of Templates: time 0.4941/0.86, allocations: 3.671 MB / 1.081 GB, free: 21.96 MB / 0.8419 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 -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