Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Controls.OBC.CDL.Reals.Sources.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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007333/0.007333, allocations: 101.5 kB / 15.73 MB, free: 5.973 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.001539/0.001539, allocations: 188.6 kB / 16.67 MB, free: 5.895 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.604/2.604, allocations: 469.8 MB / 0.7425 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 71.89 kB / 1.065 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9665/0.9679, allocations: 159.1 MB / 1.221 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003379/0.9713, allocations: 1.732 MB / 1.222 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.9728, allocations: 0.6207 MB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.177e-05/0.9728, allocations: 3.938 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.973, allocations: 23.8 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.9731, allocations: 27.86 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008636/0.974, allocations: 366.1 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006074/0.9746, allocations: 0.597 MB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.9747, allocations: 25.09 kB / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004/0.9751, allocations: 303.6 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.9754, allocations: 163.3 kB / 1.225 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.667e-05/0.9755, allocations: 44 kB / 1.225 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.328e-05/0.9756, allocations: 40 kB / 1.225 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.9757, allocations: 127.6 kB / 1.225 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.9759, allocations: 219 kB / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005633/0.9765, allocations: 0.5883 MB / 1.226 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.9765, allocations: 3.938 kB / 1.226 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.774e-06/0.9765, allocations: 0 / 1.226 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.9765, allocations: 0 / 1.226 GB, free: 13.14 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001334/0.9778, allocations: 0.9325 MB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.9779, allocations: 8.031 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.978, allocations: 56.66 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.9784, allocations: 338.5 kB / 1.227 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.01e-05/0.9785, allocations: 24.36 kB / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.896e-05/0.9785, allocations: 28.36 kB / 1.227 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.9796, allocations: 239.8 kB / 1.227 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.9796, allocations: 4.188 kB / 1.227 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.619e-05/0.9796, allocations: 7.938 kB / 1.227 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.9797, allocations: 4 kB / 1.227 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008941/0.9806, allocations: 111.9 kB / 1.227 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.9819, allocations: 0.672 MB / 1.228 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.9829, allocations: 174.4 kB / 1.228 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007615/0.9837, allocations: 112.8 kB / 1.228 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.9837, allocations: 0 / 1.228 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000954/0.9847, allocations: 223.2 kB / 1.228 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.9847, allocations: 0 / 1.228 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.002517/0.9872, allocations: 0.5003 MB / 1.229 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.9872, allocations: 59.41 kB / 1.229 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004798/0.9877, allocations: 445.9 kB / 1.229 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.618e-05/0.9878, allocations: 41.69 kB / 1.229 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.922e-05/0.9879, allocations: 105.3 kB / 1.229 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.9879, allocations: 39.73 kB / 1.229 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.9881, allocations: 137.5 kB / 1.23 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.9882, allocations: 326.8 kB / 1.23 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.9885, allocations: 143.9 kB / 1.23 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.9888, allocations: 195.4 kB / 1.23 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.9892, allocations: 299.7 kB / 1.231 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.9892, allocations: 0 / 1.231 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008268/0.9901, allocations: 0.5202 MB / 1.231 GB, free: 7.133 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.35e-05/0.9901, allocations: 95.38 kB / 1.231 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-06/0.9902, allocations: 4 kB / 1.231 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.9902, allocations: 192 / 1.231 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.9903, allocations: 31.91 kB / 1.231 GB, free: 6.992 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.9904, allocations: 4 kB / 1.231 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004709/0.9908, allocations: 55.84 kB / 1.231 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.742e-05/0.9909, allocations: 55.98 kB / 1.231 GB, free: 6.879 MB / 0.9512 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.000274/0.9912, allocations: 236.7 kB / 1.232 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.683e-05/0.9912, allocations: 35.77 kB / 1.232 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.941e-05/0.9913, allocations: 43.73 kB / 1.232 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.9913, allocations: 4 kB / 1.232 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.9913, allocations: 0 / 1.232 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.9913, allocations: 3.984 kB / 1.232 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/0.9935, allocations: 0.7873 MB / 1.232 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.9935, allocations: 0 / 1.232 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.693e-05/0.9935, allocations: 7.984 kB / 1.232 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.9935, allocations: 0 / 1.232 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.9936, allocations: 19.98 kB / 1.232 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.9936, allocations: 7.922 kB / 1.232 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.9936, allocations: 0 / 1.232 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.9953, allocations: 485.8 kB / 1.233 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002954/0.9956, allocations: 248.6 kB / 1.233 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.964e-05/0.9957, allocations: 12 kB / 1.233 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004718/0.9961, allocations: 39.89 kB / 1.233 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.9962, allocations: 4 kB / 1.233 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.027e-05/0.9962, allocations: 67.97 kB / 1.233 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003014/0.9965, allocations: 319.1 kB / 1.234 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.9965, allocations: 0 / 1.234 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003591/0.9969, allocations: 71.89 kB / 1.234 GB, free: 4.418 MB / 0.9512 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0001926/0.9971, allocations: 139.1 kB / 1.234 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.9984, allocations: 438.5 kB / 1.234 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.9984, allocations: 0 / 1.234 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007425/0.9991, allocations: 116.2 kB / 1.234 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.9995, allocations: 39.78 kB / 1.234 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/1.001, allocations: 0.6047 MB / 1.235 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/1.002, allocations: 0.7863 MB / 1.236 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.451e-05/1.002, allocations: 17.42 kB / 1.236 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.836e-05/1.002, allocations: 23.42 kB / 1.236 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of SimCode: time 5.91e-07/1.002, allocations: 0 / 1.236 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of Templates: time 0.009067/1.011, allocations: 5.416 MB / 1.241 GB, free: 12.69 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches