Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 106.5 kB / 16.27 MB, free: 5.984 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.001305/0.001305, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.431/1.431, allocations: 222.9 MB / 240.9 MB, free: 15.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.821/2.821, allocations: 482.4 MB / 0.7553 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 74.89 kB / 0.9245 GB, free: 0 / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8853/0.8873, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002543/0.8899, allocations: 1.518 MB / 1.084 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.891, allocations: 0.5359 MB / 1.085 GB, free: 240 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.213e-05/0.8911, allocations: 1.438 kB / 1.085 GB, free: 240 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.003e-05/0.8912, allocations: 10.08 kB / 1.085 GB, free: 232 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.546e-05/0.8913, allocations: 33.84 kB / 1.085 GB, free: 212 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007197/0.892, allocations: 312.5 kB / 1.085 GB, free: 56 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005716/0.8926, allocations: 0.4994 MB / 1.086 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.8926, allocations: 13.84 kB / 1.086 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003868/0.893, allocations: 265.8 kB / 1.086 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.8933, allocations: 135.1 kB / 1.086 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.8934, allocations: 26.69 kB / 1.086 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.8935, allocations: 30.62 kB / 1.086 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.8937, allocations: 119.1 kB / 1.086 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.8939, allocations: 186 kB / 1.086 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005081/0.8944, allocations: 428.5 kB / 1.087 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.8944, allocations: 1.5 kB / 1.087 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.72e-07/0.8945, allocations: 0 / 1.087 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.8945, allocations: 0 / 1.087 GB, free: 15.42 MB / 0.8419 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.001339/0.8958, allocations: 0.8644 MB / 1.088 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.8959, allocations: 9.188 kB / 1.088 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.896, allocations: 59.45 kB / 1.088 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.8964, allocations: 306.5 kB / 1.088 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.701e-05/0.8965, allocations: 17.45 kB / 1.088 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.64e-05/0.8965, allocations: 30.2 kB / 1.088 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.8976, allocations: 211 kB / 1.088 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.8976, allocations: 4.125 kB / 1.088 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.8977, allocations: 5.188 kB / 1.088 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.8977, allocations: 5.562 kB / 1.088 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008153/0.8985, allocations: 101.1 kB / 1.088 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.899, allocations: 392.8 kB / 1.089 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.9001, allocations: 178.6 kB / 1.089 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007912/0.9009, allocations: 108.3 kB / 1.089 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.901, allocations: 2.047 kB / 1.089 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.902, allocations: 223.8 kB / 1.089 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 4.368e-06/0.902, allocations: 0 / 1.089 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.002755/0.9048, allocations: 497.7 kB / 1.09 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.9048, allocations: 56.7 kB / 1.09 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005078/0.9054, allocations: 411.8 kB / 1.09 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.106e-05/0.9054, allocations: 40.98 kB / 1.09 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.9055, allocations: 99.05 kB / 1.09 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.174e-05/0.9056, allocations: 40.31 kB / 1.09 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.9058, allocations: 130.3 kB / 1.091 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.906, allocations: 321.5 kB / 1.091 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.9063, allocations: 116.8 kB / 1.091 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/0.9066, allocations: 182.3 kB / 1.091 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000412/0.907, allocations: 274.6 kB / 1.091 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.907, allocations: 0.625 kB / 1.091 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008839/0.9079, allocations: 495.9 kB / 1.092 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.9081, allocations: 91.62 kB / 1.092 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.9081, allocations: 1.656 kB / 1.092 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.9081, allocations: 3.453 kB / 1.092 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.9083, allocations: 24.83 kB / 1.092 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.9083, allocations: 2.062 kB / 1.092 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005367/0.9088, allocations: 68.5 kB / 1.092 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.294e-05/0.9089, allocations: 60.3 kB / 1.092 GB, free: 12.32 MB / 0.8419 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.0002605/0.9092, allocations: 192.9 kB / 1.092 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.886e-05/0.9093, allocations: 40.66 kB / 1.092 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.138e-05/0.9093, allocations: 41.16 kB / 1.092 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.9094, allocations: 7.203 kB / 1.092 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.9094, allocations: 4 kB / 1.092 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.9094, allocations: 1.5 kB / 1.092 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002546/0.9119, allocations: 0.7397 MB / 1.093 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.912, allocations: 4 kB / 1.093 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.912, allocations: 9 kB / 1.093 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.912, allocations: 1.188 kB / 1.093 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.117e-05/0.9121, allocations: 27.06 kB / 1.093 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.9121, allocations: 1 kB / 1.093 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.9121, allocations: 0.7031 kB / 1.093 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/0.914, allocations: 478.5 kB / 1.094 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003131/0.9144, allocations: 200.4 kB / 1.094 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.951e-05/0.9144, allocations: 11.27 kB / 1.094 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004817/0.9149, allocations: 28.2 kB / 1.094 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.915, allocations: 15.69 kB / 1.094 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-05/0.9151, allocations: 55.59 kB / 1.094 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004095/0.9155, allocations: 295.1 kB / 1.094 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.444e-06/0.9155, allocations: 0 / 1.094 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004645/0.916, allocations: 68.06 kB / 1.094 GB, free: 11.22 MB / 0.8419 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.0002123/0.9162, allocations: 120.8 kB / 1.094 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001484/0.9177, allocations: 450.9 kB / 1.095 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9177, allocations: 5.312 kB / 1.095 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008033/0.9185, allocations: 126.3 kB / 1.095 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.9189, allocations: 28.84 kB / 1.095 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.9205, allocations: 0.5899 MB / 1.096 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/0.921, allocations: 0.7719 MB / 1.096 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.921, allocations: 15.22 kB / 1.096 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.921, allocations: 1.5 kB / 1.096 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of Templates: time 0.006971/0.928, allocations: 3.69 MB / 1.1 GB, free: 9.293 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time