Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.01074/0.01074, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.001905/0.001905, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.619/1.619, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.631/2.631, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 65.05 kB / 0.9508 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.35, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002801/0.3529, allocations: 1.51 MB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.3544, allocations: 0.5398 MB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.822e-05/0.3545, allocations: 4 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.3547, allocations: 15.86 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.3548, allocations: 23.86 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009458/0.3558, allocations: 306.9 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006008/0.3564, allocations: 0.4994 MB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.055e-05/0.3565, allocations: 15.97 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003822/0.3568, allocations: 275.6 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002963/0.3571, allocations: 147.5 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.687e-05/0.3572, allocations: 28 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.161e-05/0.3573, allocations: 28 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.3575, allocations: 111.7 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.3577, allocations: 179 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004535/0.3581, allocations: 434.4 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3581, allocations: 4 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3581, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.3582, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 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.001352/0.3595, allocations: 0.8703 MB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3596, allocations: 15.91 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.3597, allocations: 56.66 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004726/0.3602, allocations: 306.7 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/0.3602, allocations: 20.38 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.383e-05/0.3603, allocations: 36.36 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.3614, allocations: 210 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3614, allocations: 192 / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.3615, allocations: 3.938 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3615, allocations: 0 / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008354/0.3623, allocations: 107.9 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.3628, allocations: 385.2 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.364, allocations: 182.4 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008319/0.3648, allocations: 108.8 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.3649, allocations: 7.984 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/0.366, allocations: 223.1 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.435e-06/0.366, allocations: 0 / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002889/0.3689, allocations: 491.6 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.3689, allocations: 59.41 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000467/0.3694, allocations: 413.9 kB / 1.095 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.138e-05/0.3695, allocations: 45.69 kB / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.325e-05/0.3696, allocations: 89.45 kB / 1.095 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.517e-05/0.3697, allocations: 43.72 kB / 1.095 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.3699, allocations: 129.4 kB / 1.096 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3701, allocations: 326.8 kB / 1.096 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.3704, allocations: 115.9 kB / 1.096 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.3707, allocations: 174.9 kB / 1.096 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.371, allocations: 279.1 kB / 1.096 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3711, allocations: 0 / 1.096 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008635/0.3719, allocations: 486.2 kB / 1.097 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.366e-05/0.372, allocations: 99.31 kB / 1.097 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.372, allocations: 0 / 1.097 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.3721, allocations: 7.984 kB / 1.097 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.3723, allocations: 23.92 kB / 1.097 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.3723, allocations: 7.938 kB / 1.097 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000508/0.3728, allocations: 63.78 kB / 1.097 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.327e-05/0.3729, allocations: 55.98 kB / 1.097 GB, free: 7.707 MB / 0.8575 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.0002455/0.3732, allocations: 192 kB / 1.097 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.674e-05/0.3733, allocations: 39.7 kB / 1.097 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.918e-05/0.3734, allocations: 43.75 kB / 1.097 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3734, allocations: 0 / 1.097 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.3734, allocations: 0 / 1.097 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3734, allocations: 7.922 kB / 1.097 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.3757, allocations: 0.7444 MB / 1.098 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3757, allocations: 0 / 1.098 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/0.3758, allocations: 4 kB / 1.098 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3758, allocations: 3.938 kB / 1.098 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/0.3758, allocations: 23.97 kB / 1.098 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3758, allocations: 0 / 1.098 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3759, allocations: 4 kB / 1.098 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.3776, allocations: 486 kB / 1.099 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002603/0.3779, allocations: 200.7 kB / 1.099 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.93e-05/0.378, allocations: 8 kB / 1.099 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000494/0.3785, allocations: 35.95 kB / 1.099 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.3785, allocations: 7.984 kB / 1.099 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.985e-05/0.3786, allocations: 59.92 kB / 1.099 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002979/0.3789, allocations: 295.1 kB / 1.099 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3789, allocations: 0 / 1.099 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004016/0.3793, allocations: 67.98 kB / 1.099 GB, free: 5.406 MB / 0.8575 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.0001928/0.3795, allocations: 128.8 kB / 1.099 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001594/0.3811, allocations: 426.5 kB / 1.1 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3811, allocations: 0 / 1.1 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008796/0.382, allocations: 132.2 kB / 1.1 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.3826, allocations: 29.48 kB / 1.1 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.3843, allocations: 0.5473 MB / 1.1 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.3847, allocations: 0.7669 MB / 1.101 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.713e-05/0.3848, allocations: 17.08 kB / 1.101 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.685e-05/0.3848, allocations: 15.44 kB / 1.101 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of SimCode: time 1.322e-06/0.3848, allocations: 0 / 1.101 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of Templates: time 0.01059/0.3954, allocations: 4.953 MB / 1.106 GB, free: 14.23 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches