Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.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.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00869/0.00869, allocations: 99.83 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.001317/0.001317, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.534/2.534, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 62.72 kB / 0.9508 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3538, allocations: 140.4 MB / 1.088 GB, free: 1.562 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003144/0.357, allocations: 1.525 MB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.3585, allocations: 0.5398 MB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.549e-05/0.3586, allocations: 0 / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.3587, allocations: 11.86 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.3589, allocations: 27.86 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008405/0.3597, allocations: 315.2 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005802/0.3603, allocations: 0.4994 MB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.095e-05/0.3604, allocations: 7.984 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003855/0.3608, allocations: 279.6 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.3611, allocations: 147.6 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.165e-05/0.3612, allocations: 28 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.487e-05/0.3612, allocations: 28 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.3614, allocations: 115.7 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.3616, allocations: 183 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.362, allocations: 426.6 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.362, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.954e-06/0.362, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.3621, allocations: 0 / 1.092 GB, free: 13.45 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.00126/0.3633, allocations: 0.8625 MB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3634, allocations: 8.031 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.3635, allocations: 52.55 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.3639, allocations: 306.2 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.902e-05/0.3639, allocations: 20.36 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.552e-05/0.364, allocations: 28.36 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.365, allocations: 214 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3651, allocations: 8.172 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.3651, allocations: 7.922 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3651, allocations: 0 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007513/0.3659, allocations: 99.86 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005513/0.3664, allocations: 389.3 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.3674, allocations: 182.4 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007157/0.3682, allocations: 108.7 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.3682, allocations: 8 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009447/0.3692, allocations: 227 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 3.556e-06/0.3692, allocations: 0 / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002477/0.3717, allocations: 484.8 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.3717, allocations: 59.34 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004073/0.3721, allocations: 413.9 kB / 1.095 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.353e-05/0.3722, allocations: 41.7 kB / 1.095 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.3723, allocations: 97.44 kB / 1.095 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.019e-05/0.3724, allocations: 35.61 kB / 1.095 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.3726, allocations: 125.3 kB / 1.096 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3728, allocations: 326.8 kB / 1.096 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.373, allocations: 115.9 kB / 1.096 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.3733, allocations: 178.9 kB / 1.096 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/0.3737, allocations: 274.8 kB / 1.096 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3737, allocations: 0 / 1.096 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007979/0.3745, allocations: 496.4 kB / 1.097 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.124e-05/0.3746, allocations: 97.03 kB / 1.097 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.3746, allocations: 0 / 1.097 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.3747, allocations: 4 kB / 1.097 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.3748, allocations: 19.97 kB / 1.097 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.3749, allocations: 7.938 kB / 1.097 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004816/0.3753, allocations: 63.98 kB / 1.097 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-05/0.3754, allocations: 59.98 kB / 1.097 GB, free: 7.789 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.0002401/0.3757, allocations: 188 kB / 1.097 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/0.3758, allocations: 43.47 kB / 1.097 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.806e-05/0.3758, allocations: 43.75 kB / 1.097 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3758, allocations: 0 / 1.097 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3759, allocations: 3.938 kB / 1.097 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3759, allocations: 3.984 kB / 1.097 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/0.3781, allocations: 0.7426 MB / 1.098 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3781, allocations: 0 / 1.098 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.3782, allocations: 11.94 kB / 1.098 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3782, allocations: 0 / 1.098 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.659e-05/0.3782, allocations: 23.97 kB / 1.098 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.3782, allocations: 0 / 1.098 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3782, allocations: 0 / 1.098 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.3799, allocations: 483.2 kB / 1.099 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/0.3802, allocations: 200.5 kB / 1.099 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.573e-05/0.3803, allocations: 8 kB / 1.099 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000463/0.3807, allocations: 31.95 kB / 1.099 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.3808, allocations: 15.94 kB / 1.099 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-05/0.3808, allocations: 55.97 kB / 1.099 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003102/0.3812, allocations: 295.1 kB / 1.099 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3812, allocations: 3.938 kB / 1.099 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003356/0.3815, allocations: 67.98 kB / 1.099 GB, free: 5.488 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.0001635/0.3817, allocations: 124.8 kB / 1.099 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001208/0.3829, allocations: 437.8 kB / 1.1 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3829, allocations: 0 / 1.1 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007468/0.3837, allocations: 115.9 kB / 1.1 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.384, allocations: 35.91 kB / 1.1 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.3856, allocations: 0.5416 MB / 1.1 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.3859, allocations: 0.7708 MB / 1.101 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.309e-05/0.386, allocations: 17.08 kB / 1.101 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.3861, allocations: 15.44 kB / 1.101 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of SimCode: time 6.21e-07/0.3861, allocations: 0 / 1.101 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of Templates: time 0.008986/0.3951, allocations: 5.044 MB / 1.106 GB, free: 14.22 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches