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.001486/0.001486, 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.001523/0.001523, allocations: 193.8 kB / 16.14 MB, free: 6.676 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.608/1.608, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.182/3.182, allocations: 469.8 MB / 0.7419 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 77.89 kB / 0.9079 GB, free: 34.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3417, allocations: 159.2 MB / 1.063 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003887/0.3456, allocations: 1.804 MB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.3474, allocations: 0.6832 MB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.3476, allocations: 4 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.3477, allocations: 7.938 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.348, allocations: 27.84 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009805/0.3489, allocations: 346.9 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006481/0.3496, allocations: 0.5267 MB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.3498, allocations: 33.08 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004812/0.3503, allocations: 322.8 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.3506, allocations: 171.1 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.38e-05/0.3507, allocations: 16 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.376e-05/0.3508, allocations: 12 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.3509, allocations: 119.7 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002613/0.3512, allocations: 206.7 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000648/0.3519, allocations: 0.5803 MB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3519, allocations: 0 / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3519, allocations: 0 / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.3519, allocations: 0 / 1.068 GB, free: 9.895 MB / 0.8262 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.001495/0.3534, allocations: 0.9093 MB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3535, allocations: 8.031 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.3536, allocations: 52.47 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/0.3541, allocations: 338.1 kB / 1.069 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-05/0.3542, allocations: 24.55 kB / 1.069 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.812e-05/0.3543, allocations: 32.36 kB / 1.069 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.3555, allocations: 231.5 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.3555, allocations: 3.938 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.995e-05/0.3555, allocations: 4 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.3555, allocations: 4 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008674/0.3564, allocations: 119.8 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.358, allocations: 0.6798 MB / 1.07 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.3592, allocations: 182.4 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008816/0.3601, allocations: 120.7 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.3601, allocations: 4 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/0.3613, allocations: 227.2 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.455e-06/0.3613, allocations: 0 / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.003048/0.3643, allocations: 499 kB / 1.071 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.3644, allocations: 63.39 kB / 1.071 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006156/0.3651, allocations: 445.8 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.000135/0.3652, allocations: 41.7 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.3653, allocations: 105.3 kB / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.212e-05/0.3654, allocations: 43.53 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/0.3656, allocations: 137.3 kB / 1.072 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3658, allocations: 322.8 kB / 1.072 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.3661, allocations: 143.9 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.3665, allocations: 193.9 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004491/0.367, allocations: 298.8 kB / 1.073 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.367, allocations: 0 / 1.073 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009946/0.368, allocations: 0.524 MB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.3681, allocations: 95.38 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3681, allocations: 0 / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.3681, allocations: 4.188 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.3683, allocations: 27.92 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.3683, allocations: 7.984 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005447/0.3689, allocations: 59.73 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.369, allocations: 63.92 kB / 1.074 GB, free: 3.621 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.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.0003252/0.3693, allocations: 216.3 kB / 1.074 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.198e-05/0.3694, allocations: 43.52 kB / 1.074 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.449e-05/0.3695, allocations: 39.8 kB / 1.074 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3695, allocations: 0 / 1.074 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3695, allocations: 0 / 1.074 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3695, allocations: 0 / 1.074 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002534/0.3721, allocations: 0.7911 MB / 1.075 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3721, allocations: 4 kB / 1.075 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.603e-05/0.3721, allocations: 7.984 kB / 1.075 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.3721, allocations: 0 / 1.075 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.923e-05/0.3722, allocations: 23.92 kB / 1.075 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3722, allocations: 0 / 1.075 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3722, allocations: 0 / 1.075 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002041/0.3743, allocations: 482.7 kB / 1.075 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004136/0.3747, allocations: 244.5 kB / 1.076 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.761e-05/0.3748, allocations: 19.94 kB / 1.076 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005303/0.3753, allocations: 43.89 kB / 1.076 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.3754, allocations: 4 kB / 1.076 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.042e-05/0.3755, allocations: 55.97 kB / 1.076 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004068/0.3759, allocations: 319.1 kB / 1.076 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3759, allocations: 0 / 1.076 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004735/0.3764, allocations: 71.98 kB / 1.076 GB, free: 1.191 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.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.0002461/0.3766, allocations: 141.1 kB / 1.076 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001517/0.3782, allocations: 474.4 kB / 1.077 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3782, allocations: 0 / 1.077 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008509/0.379, allocations: 124.2 kB / 1.077 GB, free: 444 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.3796, allocations: 41.52 kB / 1.077 GB, free: 400 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.3817, allocations: 0.7192 MB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005689/0.3823, allocations: 0.7906 MB / 1.078 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.655e-05/0.3824, allocations: 13.42 kB / 1.078 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.235e-05/0.3824, allocations: 15.44 kB / 1.078 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of SimCode: time 2.044e-06/0.3824, allocations: 0 / 1.078 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of Templates: time 0.01283/0.3953, allocations: 5.449 MB / 1.084 GB, free: 9.254 MB / 0.8419 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=400 -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