Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.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 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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.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_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 107.2 kB / 16.41 MB, free: 6.492 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.001275/0.001275, allocations: 192.1 kB / 17.34 MB, free: 5.762 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.535/1.535, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.387/2.387, allocations: 390.2 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 63.91 kB / 0.9515 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086/1.089, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002873/1.092, allocations: 1.506 MB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001356/1.093, allocations: 0.5478 MB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/1.093, allocations: 1.062 kB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001129/1.093, allocations: 13.28 kB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001341/1.093, allocations: 22.55 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008773/1.094, allocations: 312.2 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006479/1.095, allocations: 0.5014 MB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.177e-05/1.095, allocations: 6.656 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004529/1.095, allocations: 272.3 kB / 1.092 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003258/1.096, allocations: 148.9 kB / 1.092 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.375e-05/1.096, allocations: 26.88 kB / 1.092 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.529e-05/1.096, allocations: 26.81 kB / 1.092 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001734/1.096, allocations: 111.2 kB / 1.092 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000205/1.096, allocations: 192.6 kB / 1.092 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005554/1.097, allocations: 427.4 kB / 1.093 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.097, allocations: 0.7812 kB / 1.093 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.944e-06/1.097, allocations: 3.938 kB / 1.093 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.887e-06/1.097, allocations: 0 / 1.093 GB, free: 3.332 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.001249/1.098, allocations: 0.8612 MB / 1.093 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/1.098, allocations: 13.47 kB / 1.093 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/1.098, allocations: 47.11 kB / 1.093 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/1.099, allocations: 309.5 kB / 1.094 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.519e-05/1.099, allocations: 21.3 kB / 1.094 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/1.099, allocations: 34.47 kB / 1.094 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/1.1, allocations: 207.4 kB / 1.094 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/1.1, allocations: 192 / 1.094 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/1.1, allocations: 6.031 kB / 1.094 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/1.1, allocations: 1.75 kB / 1.094 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000759/1.101, allocations: 108.2 kB / 1.094 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005078/1.101, allocations: 388 kB / 1.095 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/1.102, allocations: 179.9 kB / 1.095 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007543/1.103, allocations: 107.9 kB / 1.095 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/1.103, allocations: 2.766 kB / 1.095 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/1.104, allocations: 224.9 kB / 1.095 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.374e-06/1.104, allocations: 0.8125 kB / 1.095 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002646/1.107, allocations: 493.4 kB / 1.095 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/1.107, allocations: 58.62 kB / 1.096 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005579/1.107, allocations: 410.7 kB / 1.096 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.5e-05/1.108, allocations: 39.89 kB / 1.096 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.244e-05/1.108, allocations: 92.11 kB / 1.096 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.156e-05/1.108, allocations: 41.19 kB / 1.096 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002458/1.108, allocations: 130.9 kB / 1.096 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.554e-05/1.108, allocations: 321.1 kB / 1.097 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/1.108, allocations: 120.1 kB / 1.097 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/1.109, allocations: 174.2 kB / 1.097 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/1.109, allocations: 281.3 kB / 1.097 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.109, allocations: 0 / 1.097 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008568/1.11, allocations: 0.4899 MB / 1.098 GB, free: 336 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.741e-05/1.11, allocations: 88.92 kB / 1.098 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/1.11, allocations: 1 kB / 1.098 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/1.11, allocations: 3.891 kB / 1.098 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/1.11, allocations: 23.36 kB / 1.098 GB, free: 256 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/1.11, allocations: 7.469 kB / 1.098 GB, free: 252 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004957/1.111, allocations: 58.95 kB / 1.098 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/1.111, allocations: 61.27 kB / 1.098 GB, free: 236 kB / 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.0002501/1.111, allocations: 187.4 kB / 1.098 GB, free: 96 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.657e-05/1.111, allocations: 45.12 kB / 1.098 GB, free: 68 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.509e-05/1.111, allocations: 38 kB / 1.098 GB, free: 48 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/1.111, allocations: 10.11 kB / 1.098 GB, free: 40 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/1.111, allocations: 0 / 1.098 GB, free: 40 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/1.111, allocations: 5.062 kB / 1.098 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/1.114, allocations: 0.7442 MB / 1.099 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/1.114, allocations: 0.6562 kB / 1.099 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.235e-05/1.114, allocations: 4.766 kB / 1.099 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/1.114, allocations: 5.594 kB / 1.099 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.369e-05/1.114, allocations: 21.7 kB / 1.099 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/1.114, allocations: 9.703 kB / 1.099 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.114, allocations: 0.7188 kB / 1.099 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/1.116, allocations: 476.3 kB / 1.099 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000288/1.116, allocations: 195.9 kB / 1.099 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.574e-05/1.116, allocations: 11.53 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000454/1.116, allocations: 31.83 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/1.117, allocations: 8.016 kB / 1.1 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.77e-05/1.117, allocations: 60.75 kB / 1.1 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004223/1.117, allocations: 293.8 kB / 1.1 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.1e-07/1.117, allocations: 0 / 1.1 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004709/1.118, allocations: 69.19 kB / 1.1 GB, free: 15.12 MB / 0.8731 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.0001894/1.118, allocations: 119.2 kB / 1.1 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001379/1.119, allocations: 429.8 kB / 1.1 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.119, allocations: 4.875 kB / 1.1 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008329/1.12, allocations: 128.9 kB / 1.101 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/1.12, allocations: 31.38 kB / 1.101 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/1.122, allocations: 0.5861 MB / 1.101 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/1.123, allocations: 0.7749 MB / 1.102 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.355e-05/1.123, allocations: 16.75 kB / 1.102 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/1.123, allocations: 0 / 1.102 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of Templates: time 0.007972/1.131, allocations: 3.68 MB / 1.106 GB, free: 13.22 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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