Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.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 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.Controls.OBC.CDL.Continuous.Sources.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_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.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_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001828/0.001828, allocations: 191 kB / 16.14 MB, free: 6.645 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.5/1.5, allocations: 222.9 MB / 239.8 MB, free: 4.484 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.59/2.59, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001355, allocations: 67.89 kB / 0.8119 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8582/0.8596, allocations: 140.4 MB / 0.949 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.003161/0.8628, allocations: 1.8 MB / 0.9507 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.8643, allocations: 0.6848 MB / 0.9514 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.739e-05/0.8644, allocations: 1.375 kB / 0.9514 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.8645, allocations: 3.938 kB / 0.9514 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.8647, allocations: 36.11 kB / 0.9514 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007453/0.8654, allocations: 343.7 kB / 0.9517 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004886/0.8659, allocations: 0.524 MB / 0.9523 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.8661, allocations: 37.16 kB / 0.9523 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004115/0.8665, allocations: 317.2 kB / 0.9526 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.8668, allocations: 172 kB / 0.9528 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.691e-05/0.8669, allocations: 14.28 kB / 0.9528 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.672e-05/0.867, allocations: 23.69 kB / 0.9528 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.8672, allocations: 116 kB / 0.9529 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.8674, allocations: 202.5 kB / 0.9531 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005193/0.8679, allocations: 0.579 MB / 0.9537 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.8679, allocations: 5.156 kB / 0.9537 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.61e-07/0.8679, allocations: 0 / 0.9537 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.868, allocations: 0 / 0.9537 GB, free: 5.809 MB / 0.7169 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.001335/0.8693, allocations: 0.9029 MB / 0.9546 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.8694, allocations: 13.77 kB / 0.9546 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.8695, allocations: 59.81 kB / 0.9546 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.8699, allocations: 328.5 kB / 0.9549 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.272e-05/0.87, allocations: 29.11 kB / 0.955 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-05/0.8701, allocations: 31.2 kB / 0.955 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.8712, allocations: 235 kB / 0.9552 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.8712, allocations: 3.938 kB / 0.9552 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/0.8713, allocations: 8 kB / 0.9552 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.8713, allocations: 3.5 kB / 0.9552 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008422/0.8721, allocations: 109.8 kB / 0.9553 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.8737, allocations: 0.6799 MB / 0.956 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.8749, allocations: 176.7 kB / 0.9562 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008217/0.8757, allocations: 120.8 kB / 0.9563 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.8758, allocations: 5.797 kB / 0.9563 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001093/0.8769, allocations: 241.1 kB / 0.9565 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 3.406e-06/0.8769, allocations: 0 / 0.9565 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002974/0.8799, allocations: 494.6 kB / 0.957 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.88, allocations: 56.59 kB / 0.957 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007039/0.8807, allocations: 443.9 kB / 0.9575 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000161/0.8809, allocations: 42.03 kB / 0.9575 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.881, allocations: 104.9 kB / 0.9576 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.391e-05/0.881, allocations: 38.12 kB / 0.9576 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.8813, allocations: 136.8 kB / 0.9578 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.676e-05/0.8814, allocations: 325.8 kB / 0.9581 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.8817, allocations: 147.8 kB / 0.9582 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/0.8821, allocations: 194.2 kB / 0.9584 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003956/0.8825, allocations: 301.7 kB / 0.9587 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.8825, allocations: 4.938 kB / 0.9587 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009832/0.8835, allocations: 0.5259 MB / 0.9592 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.25e-05/0.8836, allocations: 93.22 kB / 0.9593 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.8836, allocations: 6.5 kB / 0.9593 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.8836, allocations: 2.75 kB / 0.9593 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.8838, allocations: 22.27 kB / 0.9593 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.8838, allocations: 3.062 kB / 0.9593 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006083/0.8845, allocations: 58.03 kB / 0.9594 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.8846, allocations: 64.67 kB / 0.9595 GB, free: 1.582 MB / 0.7169 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.000345/0.8849, allocations: 221.8 kB / 0.9597 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.266e-05/0.885, allocations: 44.69 kB / 0.9597 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.962e-05/0.8851, allocations: 44.59 kB / 0.9598 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.8851, allocations: 5.094 kB / 0.9598 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.8851, allocations: 1.469 kB / 0.9598 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.8851, allocations: 0 / 0.9598 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/0.8875, allocations: 0.7883 MB / 0.9605 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.8875, allocations: 0 / 0.9605 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.109e-05/0.8876, allocations: 4.531 kB / 0.9605 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.8876, allocations: 1.062 kB / 0.9605 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-05/0.8877, allocations: 23.31 kB / 0.9606 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.8877, allocations: 1.219 kB / 0.9606 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.8877, allocations: 4 kB / 0.9606 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.8895, allocations: 477.7 kB / 0.961 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003418/0.8899, allocations: 255.4 kB / 0.9613 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.475e-05/0.89, allocations: 18.94 kB / 0.9613 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004882/0.8905, allocations: 31.22 kB / 0.9613 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.8905, allocations: 12.55 kB / 0.9613 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.288e-05/0.8906, allocations: 58.34 kB / 0.9614 GB, free: 256 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004141/0.891, allocations: 317.7 kB / 0.9617 GB, free: 60 kB / 0.7169 GB Notification: Performance of sort global known variables: time 3.11e-07/0.891, allocations: 0 / 0.9617 GB, free: 60 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006205/0.8917, allocations: 67.73 kB / 0.9617 GB, free: 52 kB / 0.7169 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.0002807/0.892, allocations: 130.2 kB / 0.9619 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.8935, allocations: 466.5 kB / 0.9623 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.8935, allocations: 0.8438 kB / 0.9623 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008132/0.8943, allocations: 130.3 kB / 0.9624 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.8948, allocations: 35.36 kB / 0.9625 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.8967, allocations: 0.7203 MB / 0.9632 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.8971, allocations: 0.7913 MB / 0.9639 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.044e-05/0.8972, allocations: 13.77 kB / 0.964 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.8973, allocations: 15.19 kB / 0.964 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of SimCode: time 6.01e-07/0.8973, allocations: 3.938 kB / 0.964 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of Templates: time 0.01312/0.9104, allocations: 5.453 MB / 0.9693 GB, free: 11.31 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches