Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.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_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00833/0.008331, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001699/0.001699, allocations: 189.9 kB / 16.67 MB, free: 5.934 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.563/1.563, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.645/2.645, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 67.84 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.038, allocations: 151.6 MB / 1.167 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002919/1.041, allocations: 1.734 MB / 1.168 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001375/1.042, allocations: 0.6168 MB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.667e-05/1.042, allocations: 0 / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001144/1.043, allocations: 15.8 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001333/1.043, allocations: 39.56 kB / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008671/1.044, allocations: 370.2 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006791/1.044, allocations: 0.6282 MB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/1.044, allocations: 37.09 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003868/1.045, allocations: 307.6 kB / 1.17 GB, free: 272 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003027/1.045, allocations: 159.5 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002033/1.045, allocations: 40 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/1.045, allocations: 40 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001483/1.046, allocations: 127.6 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003379/1.046, allocations: 219 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008181/1.047, allocations: 0.5927 MB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/1.047, allocations: 4 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.764e-06/1.047, allocations: 0 / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.133e-06/1.047, allocations: 0 / 1.171 GB, free: 15.09 MB / 0.9044 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.001371/1.048, allocations: 0.9208 MB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/1.048, allocations: 12.88 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/1.048, allocations: 56.66 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007398/1.049, allocations: 338.5 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/1.049, allocations: 28.36 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.417e-05/1.049, allocations: 28.36 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/1.05, allocations: 239.7 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/1.05, allocations: 4.125 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/1.05, allocations: 7.938 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/1.05, allocations: 4 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008762/1.051, allocations: 119.9 kB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/1.053, allocations: 0.6604 MB / 1.174 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/1.054, allocations: 186.4 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007821/1.055, allocations: 112.8 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/1.055, allocations: 0 / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/1.056, allocations: 245.9 kB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/1.056, allocations: 3.938 kB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002674/1.058, allocations: 0.4894 MB / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/1.059, allocations: 59.41 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004905/1.059, allocations: 445.9 kB / 1.175 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.383e-05/1.059, allocations: 41.69 kB / 1.175 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/1.059, allocations: 109.3 kB / 1.175 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/1.059, allocations: 35.75 kB / 1.175 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/1.059, allocations: 137.5 kB / 1.176 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.06, allocations: 326.8 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/1.06, allocations: 139.9 kB / 1.176 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/1.06, allocations: 189.9 kB / 1.176 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004694/1.061, allocations: 299.6 kB / 1.176 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.061, allocations: 0 / 1.176 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008903/1.062, allocations: 0.528 MB / 1.177 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.809e-05/1.062, allocations: 91.38 kB / 1.177 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/1.062, allocations: 4 kB / 1.177 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/1.062, allocations: 0 / 1.177 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/1.062, allocations: 31.91 kB / 1.177 GB, free: 8.922 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/1.062, allocations: 4 kB / 1.177 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004974/1.062, allocations: 60.05 kB / 1.177 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.702e-05/1.063, allocations: 59.92 kB / 1.177 GB, free: 8.801 MB / 0.9044 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.0002611/1.063, allocations: 224.2 kB / 1.177 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.808e-05/1.063, allocations: 39.75 kB / 1.177 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.954e-05/1.063, allocations: 39.8 kB / 1.178 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.063, allocations: 4 kB / 1.178 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.063, allocations: 4 kB / 1.178 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/1.063, allocations: 0 / 1.178 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002236/1.065, allocations: 0.7873 MB / 1.178 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.065, allocations: 0 / 1.178 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-05/1.065, allocations: 11.98 kB / 1.178 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/1.065, allocations: 0 / 1.178 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/1.065, allocations: 15.98 kB / 1.178 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/1.065, allocations: 3.938 kB / 1.178 GB, free: 7.613 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.065, allocations: 4 kB / 1.178 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/1.067, allocations: 493.5 kB / 1.179 GB, free: 7.113 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003055/1.067, allocations: 240.6 kB / 1.179 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.497e-05/1.067, allocations: 16 kB / 1.179 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/1.068, allocations: 39.89 kB / 1.179 GB, free: 6.805 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/1.068, allocations: 7.984 kB / 1.179 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.079e-05/1.068, allocations: 67.97 kB / 1.179 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003285/1.068, allocations: 315.1 kB / 1.179 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.068, allocations: 0 / 1.179 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005249/1.069, allocations: 75.88 kB / 1.18 GB, free: 6.352 MB / 0.9044 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.0002503/1.069, allocations: 123.2 kB / 1.18 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001436/1.071, allocations: 474.5 kB / 1.18 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.071, allocations: 3.938 kB / 1.18 GB, free: 5.727 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008015/1.071, allocations: 127.8 kB / 1.18 GB, free: 5.602 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/1.072, allocations: 47.06 kB / 1.18 GB, free: 5.562 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/1.074, allocations: 0.6035 MB / 1.181 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/1.074, allocations: 0.7825 MB / 1.182 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.291e-05/1.074, allocations: 17.42 kB / 1.182 GB, free: 4.109 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.726e-05/1.074, allocations: 19.44 kB / 1.182 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of SimCode: time 6.21e-07/1.074, allocations: 0 / 1.182 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of Templates: time 0.01122/1.086, allocations: 5.415 MB / 1.187 GB, free: 14.58 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches