Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.831/1.831, allocations: 297.4 MB / 312.6 MB, free: 2.926 MB / 234.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.001054/0.001054, allocations: 181.3 kB / 382.3 MB, free: 14.84 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.446/1.446, allocations: 225.7 MB / 0.6617 GB, free: 7.234 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007232/0.0007233, allocations: 104.7 kB / 0.7789 GB, free: 46.84 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004281/0.0004281, allocations: 12 kB / 0.9059 GB, free: 4.898 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8151/0.8156, allocations: 119.2 MB / 1.022 GB, free: 57.91 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002121/0.8177, allocations: 1.348 MB / 1.024 GB, free: 57.27 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.8189, allocations: 0.7945 MB / 1.024 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.293e-05/0.8189, allocations: 0 / 1.024 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.8191, allocations: 13.55 kB / 1.024 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.8192, allocations: 26.09 kB / 1.024 GB, free: 56.6 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000677/0.8199, allocations: 254.3 kB / 1.025 GB, free: 56.49 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004378/0.8203, allocations: 351.1 kB / 1.025 GB, free: 56.36 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.8205, allocations: 31.62 kB / 1.025 GB, free: 56.35 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004071/0.8209, allocations: 232.7 kB / 1.025 GB, free: 56.29 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003165/0.8212, allocations: 125.7 kB / 1.025 GB, free: 56.25 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.795e-05/0.8213, allocations: 9.406 kB / 1.025 GB, free: 56.25 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.665e-05/0.8214, allocations: 10.44 kB / 1.025 GB, free: 56.25 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.8216, allocations: 84.45 kB / 1.025 GB, free: 56.23 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000239/0.8218, allocations: 159.7 kB / 1.026 GB, free: 56.12 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006279/0.8224, allocations: 397.1 kB / 1.026 GB, free: 56.03 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.8225, allocations: 0.9688 kB / 1.026 GB, free: 56.03 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.236e-06/0.8225, allocations: 3.281 kB / 1.026 GB, free: 56.03 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.8225, allocations: 0 / 1.026 GB, free: 56.03 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001294/0.8238, allocations: 0.6386 MB / 1.027 GB, free: 55.44 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.456e-05/0.8239, allocations: 8.656 kB / 1.027 GB, free: 55.44 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.824, allocations: 35.44 kB / 1.027 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.8244, allocations: 287.5 kB / 1.027 GB, free: 55.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.467e-05/0.8244, allocations: 14.06 kB / 1.027 GB, free: 55.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.44e-05/0.8245, allocations: 23.7 kB / 1.027 GB, free: 55.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/0.8248, allocations: 165.6 kB / 1.027 GB, free: 55.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.8249, allocations: 1.453 kB / 1.027 GB, free: 55.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.8249, allocations: 6 kB / 1.027 GB, free: 55.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.8249, allocations: 2.469 kB / 1.027 GB, free: 55.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.8251, allocations: 65.94 kB / 1.027 GB, free: 55.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.8262, allocations: 0.5542 MB / 1.028 GB, free: 54.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.8266, allocations: 146.2 kB / 1.028 GB, free: 54.62 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.8267, allocations: 64.75 kB / 1.028 GB, free: 54.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.8268, allocations: 3.516 kB / 1.028 GB, free: 54.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005205/0.8273, allocations: 228.2 kB / 1.028 GB, free: 54.51 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.8273, allocations: 3.938 kB / 1.028 GB, free: 54.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0006235/0.8279, allocations: 279.5 kB / 1.028 GB, free: 54.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.828, allocations: 63.27 kB / 1.029 GB, free: 54.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.8283, allocations: 317 kB / 1.029 GB, free: 54.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.529e-05/0.8284, allocations: 39.84 kB / 1.029 GB, free: 54.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.819e-05/0.8285, allocations: 101.5 kB / 1.029 GB, free: 54.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.8285, allocations: 37.84 kB / 1.029 GB, free: 54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.8285, allocations: 11.59 kB / 1.029 GB, free: 54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.609e-05/0.8286, allocations: 320.6 kB / 1.029 GB, free: 53.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.8289, allocations: 106.2 kB / 1.029 GB, free: 53.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/0.8292, allocations: 165.1 kB / 1.03 GB, free: 53.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.8296, allocations: 261.9 kB / 1.03 GB, free: 53.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.8296, allocations: 1.938 kB / 1.03 GB, free: 53.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007615/0.8304, allocations: 443.7 kB / 1.03 GB, free: 53.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.018e-05/0.8305, allocations: 77.78 kB / 1.03 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.8305, allocations: 0 / 1.03 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.8305, allocations: 2.25 kB / 1.03 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.8307, allocations: 31.12 kB / 1.03 GB, free: 53.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.8307, allocations: 6 kB / 1.03 GB, free: 53.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005209/0.8312, allocations: 74.33 kB / 1.03 GB, free: 53.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-05/0.8313, allocations: 56.97 kB / 1.03 GB, free: 53.04 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0002023/0.8315, allocations: 186.9 kB / 1.031 GB, free: 52.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.8316, allocations: 32.73 kB / 1.031 GB, free: 52.87 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.67e-05/0.8317, allocations: 26.33 kB / 1.031 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.8317, allocations: 2.188 kB / 1.031 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.8317, allocations: 3.312 kB / 1.031 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.8317, allocations: 2.578 kB / 1.031 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007642/0.8325, allocations: 0.6059 MB / 1.031 GB, free: 52.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.8325, allocations: 0 / 1.031 GB, free: 52.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.58e-05/0.8325, allocations: 14.61 kB / 1.031 GB, free: 52.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.8325, allocations: 0 / 1.031 GB, free: 52.44 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.8326, allocations: 10.77 kB / 1.031 GB, free: 52.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.8326, allocations: 0 / 1.031 GB, free: 52.44 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.8326, allocations: 0.7812 kB / 1.031 GB, free: 52.44 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004222/0.833, allocations: 338.1 kB / 1.032 GB, free: 52.24 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.8333, allocations: 186.6 kB / 1.032 GB, free: 52.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.393e-05/0.8333, allocations: 11.53 kB / 1.032 GB, free: 52.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.8335, allocations: 16.7 kB / 1.032 GB, free: 52.09 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.231e-05/0.8336, allocations: 14.75 kB / 1.032 GB, free: 52.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-05/0.8337, allocations: 28.59 kB / 1.032 GB, free: 52.08 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002426/0.8339, allocations: 225.2 kB / 1.032 GB, free: 51.96 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.673e-06/0.8339, allocations: 0 / 1.032 GB, free: 51.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003235/0.8343, allocations: 52.38 kB / 1.032 GB, free: 51.95 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.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.0002014/0.8345, allocations: 138.2 kB / 1.032 GB, free: 51.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005722/0.8351, allocations: 372 kB / 1.033 GB, free: 51.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8351, allocations: 0 / 1.033 GB, free: 51.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.8352, allocations: 73.22 kB / 1.033 GB, free: 51.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.8356, allocations: 36.44 kB / 1.033 GB, free: 51.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007955/0.8364, allocations: 0.501 MB / 1.033 GB, free: 51.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.8368, allocations: 0.7569 MB / 1.034 GB, free: 50.55 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001604/0.8369, allocations: 38.81 kB / 1.034 GB, free: 50.54 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.8371, allocations: 33.41 kB / 1.034 GB, free: 50.52 MB / 0.698 GB Notification: Performance of SimCode: time 1.773e-06/0.8371, allocations: 0 / 1.034 GB, free: 50.52 MB / 0.698 GB Notification: Performance of Templates: time 0.009048/0.8461, allocations: 4.382 MB / 1.038 GB, free: 50.17 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)