Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.785/1.785, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009537/0.0009537, allocations: 171.5 kB / 393.1 MB, free: 4.09 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007795/0.0007795, allocations: 93.16 kB / 0.7935 GB, free: 39.9 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003403, allocations: 8 kB / 0.9224 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4992/0.4996, allocations: 121.3 MB / 1.041 GB, free: 57.91 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.00124/0.5008, allocations: 1.191 MB / 1.042 GB, free: 57.13 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007871/0.5016, allocations: 0.7369 MB / 1.043 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.934e-05/0.5017, allocations: 0 / 1.043 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.21e-05/0.5018, allocations: 8.062 kB / 1.043 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.391e-05/0.5019, allocations: 23.42 kB / 1.043 GB, free: 56.47 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005279/0.5024, allocations: 222.2 kB / 1.043 GB, free: 56.36 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.5026, allocations: 284.7 kB / 1.043 GB, free: 56.26 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.5027, allocations: 9.375 kB / 1.043 GB, free: 56.26 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002854/0.503, allocations: 220.5 kB / 1.043 GB, free: 56.21 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.5032, allocations: 118.2 kB / 1.044 GB, free: 56.17 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.887e-05/0.5033, allocations: 11.97 kB / 1.044 GB, free: 56.17 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.546e-05/0.5033, allocations: 9.312 kB / 1.044 GB, free: 56.17 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.887e-05/0.5034, allocations: 74.86 kB / 1.044 GB, free: 56.15 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.5036, allocations: 150.2 kB / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.5038, allocations: 279.8 kB / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5038, allocations: 0 / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5039, allocations: 0 / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.5039, allocations: 1.219 kB / 1.044 GB, free: 55.96 MB / 0.698 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.0008271/0.5047, allocations: 0.6084 MB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.5047, allocations: 11.53 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.682e-05/0.5048, allocations: 32.19 kB / 1.045 GB, free: 55.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.5051, allocations: 274.3 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.5051, allocations: 9.938 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-05/0.5052, allocations: 18.91 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.5054, allocations: 147.1 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.5054, allocations: 1.906 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.5055, allocations: 0 / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.5055, allocations: 1.781 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.5056, allocations: 54.36 kB / 1.045 GB, free: 55.03 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002678/0.5059, allocations: 315.8 kB / 1.046 GB, free: 54.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.5061, allocations: 124.6 kB / 1.046 GB, free: 54.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.5062, allocations: 55.02 kB / 1.046 GB, free: 54.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.5063, allocations: 8.078 kB / 1.046 GB, free: 54.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000402/0.5067, allocations: 224.5 kB / 1.046 GB, free: 54.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.452e-06/0.5067, allocations: 0.875 kB / 1.046 GB, free: 54.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0005133/0.5072, allocations: 266.3 kB / 1.046 GB, free: 54.53 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.5073, allocations: 64.88 kB / 1.046 GB, free: 54.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.5075, allocations: 293.7 kB / 1.047 GB, free: 54.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.5075, allocations: 37.12 kB / 1.047 GB, free: 54.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.5076, allocations: 89.64 kB / 1.047 GB, free: 54.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/0.5077, allocations: 48.89 kB / 1.047 GB, free: 54.15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.5077, allocations: 6.438 kB / 1.047 GB, free: 54.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.769e-05/0.5078, allocations: 321.2 kB / 1.047 GB, free: 53.83 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.508, allocations: 95.56 kB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.5082, allocations: 153.9 kB / 1.047 GB, free: 53.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.5085, allocations: 246.3 kB / 1.047 GB, free: 53.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5085, allocations: 1.062 kB / 1.047 GB, free: 53.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006602/0.5092, allocations: 412 kB / 1.048 GB, free: 53.33 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.187e-05/0.5092, allocations: 70.97 kB / 1.048 GB, free: 53.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5092, allocations: 1.25 kB / 1.048 GB, free: 53.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.5093, allocations: 4.438 kB / 1.048 GB, free: 53.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.5094, allocations: 32.83 kB / 1.048 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.5095, allocations: 4.234 kB / 1.048 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004881/0.51, allocations: 69.08 kB / 1.048 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.651e-05/0.51, allocations: 48.98 kB / 1.048 GB, free: 53.25 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001376/0.5102, allocations: 184.9 kB / 1.048 GB, free: 53.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.5102, allocations: 28.28 kB / 1.048 GB, free: 53.08 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/0.5103, allocations: 25.67 kB / 1.048 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.5103, allocations: 3.438 kB / 1.048 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5103, allocations: 2.109 kB / 1.048 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5103, allocations: 0 / 1.048 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006516/0.511, allocations: 0.5682 MB / 1.049 GB, free: 52.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.511, allocations: 3.594 kB / 1.049 GB, free: 52.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.636e-05/0.511, allocations: 4.938 kB / 1.049 GB, free: 52.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.511, allocations: 0 / 1.049 GB, free: 52.67 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.5111, allocations: 15.39 kB / 1.049 GB, free: 52.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.5111, allocations: 3.938 kB / 1.049 GB, free: 52.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5111, allocations: 2.031 kB / 1.049 GB, free: 52.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.5114, allocations: 320.6 kB / 1.049 GB, free: 52.47 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.5116, allocations: 159.5 kB / 1.049 GB, free: 52.35 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.402e-05/0.5116, allocations: 10.81 kB / 1.049 GB, free: 52.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.5118, allocations: 18.55 kB / 1.049 GB, free: 52.34 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.5119, allocations: 14.52 kB / 1.049 GB, free: 52.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.892e-05/0.5119, allocations: 33.59 kB / 1.049 GB, free: 52.33 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001423/0.5121, allocations: 204.1 kB / 1.05 GB, free: 52.22 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5121, allocations: 2.031 kB / 1.05 GB, free: 52.22 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000292/0.5124, allocations: 47.42 kB / 1.05 GB, free: 52.21 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0001057/0.5125, allocations: 122 kB / 1.05 GB, free: 52.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004737/0.513, allocations: 339.5 kB / 1.05 GB, free: 51.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.513, allocations: 0 / 1.05 GB, free: 51.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.5131, allocations: 79.33 kB / 1.05 GB, free: 51.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.5135, allocations: 26.02 kB / 1.05 GB, free: 51.88 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005551/0.514, allocations: 468.8 kB / 1.051 GB, free: 51.56 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.5142, allocations: 0.749 MB / 1.051 GB, free: 50.86 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001313/0.5143, allocations: 37.02 kB / 1.051 GB, free: 50.85 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.5144, allocations: 39.34 kB / 1.051 GB, free: 50.83 MB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/0.5144, allocations: 0 / 1.051 GB, free: 50.83 MB / 0.698 GB Notification: Performance of Templates: time 0.00652/0.521, allocations: 3.987 MB / 1.055 GB, free: 50.46 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)