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.008775/0.008775, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001601/0.001601, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.526/1.526, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.425/2.425, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 61.22 kB / 0.9508 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3803, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002696/0.3831, allocations: 1.522 MB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.3844, allocations: 0.5377 MB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.511e-05/0.3844, allocations: 8 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.3846, allocations: 7.875 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.3847, allocations: 27.84 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007592/0.3854, allocations: 306.9 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005556/0.386, allocations: 0.5033 MB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.3861, allocations: 7.984 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003747/0.3865, allocations: 275.6 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.3867, allocations: 155.5 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.3869, allocations: 28 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.61e-05/0.3869, allocations: 24 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.3871, allocations: 115.7 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002167/0.3873, allocations: 187 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000437/0.3878, allocations: 422.7 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3878, allocations: 4 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3878, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.3878, allocations: 0 / 1.092 GB, free: 13.41 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.001275/0.3891, allocations: 0.8625 MB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3891, allocations: 8.031 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.3892, allocations: 52.5 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.3896, allocations: 310.2 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.816e-05/0.3897, allocations: 20.36 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.957e-05/0.3898, allocations: 28.34 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009001/0.3907, allocations: 214 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3907, allocations: 4.188 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.3907, allocations: 7.938 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.3907, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006909/0.3914, allocations: 107.8 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.3919, allocations: 393.3 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009858/0.3929, allocations: 170.4 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006754/0.3936, allocations: 112.8 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.3936, allocations: 4 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000963/0.3946, allocations: 226.2 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.3946, allocations: 0 / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002435/0.397, allocations: 488.8 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.3971, allocations: 67.33 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004755/0.3976, allocations: 409.9 kB / 1.095 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.384e-05/0.3976, allocations: 41.69 kB / 1.095 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.916e-05/0.3977, allocations: 97.44 kB / 1.095 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.3978, allocations: 31.59 kB / 1.095 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.398, allocations: 129.3 kB / 1.096 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3981, allocations: 322.8 kB / 1.096 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.3984, allocations: 111.9 kB / 1.096 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/0.3987, allocations: 178.9 kB / 1.096 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004636/0.3992, allocations: 282.5 kB / 1.096 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3992, allocations: 0 / 1.096 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008291/0.4, allocations: 492.5 kB / 1.097 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-05/0.4001, allocations: 91.31 kB / 1.097 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.4002, allocations: 4 kB / 1.097 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.4002, allocations: 4 kB / 1.097 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.4004, allocations: 24.11 kB / 1.097 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.4004, allocations: 4 kB / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/0.4008, allocations: 59.78 kB / 1.097 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.589e-05/0.4009, allocations: 59.98 kB / 1.097 GB, free: 7.754 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.0002243/0.4012, allocations: 192 kB / 1.097 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.792e-05/0.4012, allocations: 43.47 kB / 1.097 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.4013, allocations: 43.73 kB / 1.097 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4013, allocations: 0 / 1.097 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4014, allocations: 0 / 1.097 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4014, allocations: 0 / 1.097 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.4035, allocations: 0.7521 MB / 1.098 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4035, allocations: 0 / 1.098 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.764e-05/0.4035, allocations: 7.984 kB / 1.098 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4035, allocations: 0 / 1.098 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/0.4036, allocations: 23.97 kB / 1.098 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4036, allocations: 4 kB / 1.098 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4036, allocations: 3.938 kB / 1.098 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.4052, allocations: 477.3 kB / 1.099 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/0.4054, allocations: 200.5 kB / 1.099 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.194e-05/0.4055, allocations: 15.94 kB / 1.099 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004241/0.4059, allocations: 31.97 kB / 1.099 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.406, allocations: 7.984 kB / 1.099 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.768e-05/0.4061, allocations: 59.97 kB / 1.099 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003266/0.4064, allocations: 299 kB / 1.099 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4064, allocations: 0 / 1.099 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003558/0.4068, allocations: 64 kB / 1.099 GB, free: 5.449 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.0002537/0.407, allocations: 128.1 kB / 1.099 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001267/0.4083, allocations: 438.5 kB / 1.1 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4083, allocations: 0 / 1.1 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006977/0.409, allocations: 116.2 kB / 1.1 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.4094, allocations: 37.09 kB / 1.1 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.4108, allocations: 0.539 MB / 1.1 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.4112, allocations: 0.7669 MB / 1.101 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.352e-05/0.4113, allocations: 17.08 kB / 1.101 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.4114, allocations: 23.42 kB / 1.101 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.4114, allocations: 0 / 1.101 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of Templates: time 0.008626/0.42, allocations: 4.937 MB / 1.106 GB, free: 14.29 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