Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008891/0.000889, allocations: 90.28 kB / 15.36 MB, free: 0.7383 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.006095/0.006095, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.487/1.487, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.978/2.978, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004093/0.0004094, allocations: 11.75 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.4184, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002138/0.4205, allocations: 1.452 MB / 1.076 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.4221, allocations: 0.6937 MB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.406e-05/0.4222, allocations: 0 / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.376e-05/0.4223, allocations: 7.922 kB / 1.076 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.4224, allocations: 31.86 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008396/0.4233, allocations: 331.5 kB / 1.077 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005329/0.4238, allocations: 0.5345 MB / 1.077 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.4239, allocations: 37.08 kB / 1.077 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000415/0.4244, allocations: 318.9 kB / 1.077 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.4246, allocations: 163.3 kB / 1.078 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.417e-05/0.4247, allocations: 19.94 kB / 1.078 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.918e-05/0.4248, allocations: 12 kB / 1.078 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.4249, allocations: 115.4 kB / 1.078 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.4252, allocations: 228.5 kB / 1.078 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005122/0.4257, allocations: 0.5648 MB / 1.079 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4257, allocations: 4 kB / 1.079 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.795e-06/0.4257, allocations: 4 kB / 1.079 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.4257, allocations: 0 / 1.079 GB, free: 3.039 MB / 0.8262 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.001163/0.4269, allocations: 0.7769 MB / 1.079 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.4269, allocations: 8.031 kB / 1.079 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.427, allocations: 52.47 kB / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004247/0.4275, allocations: 334.1 kB / 1.08 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.015e-05/0.4276, allocations: 24.55 kB / 1.08 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.955e-05/0.4277, allocations: 32.36 kB / 1.08 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.4287, allocations: 243.7 kB / 1.08 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.4287, allocations: 3.938 kB / 1.08 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.4287, allocations: 8 kB / 1.08 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.4287, allocations: 0 / 1.08 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008152/0.4296, allocations: 123.9 kB / 1.08 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.4309, allocations: 0.6875 MB / 1.081 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.432, allocations: 194.5 kB / 1.081 GB, free: 392 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007585/0.4328, allocations: 132.4 kB / 1.081 GB, free: 260 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.4328, allocations: 0 / 1.081 GB, free: 260 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.4339, allocations: 253.4 kB / 1.081 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.4339, allocations: 0 / 1.081 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.002619/0.4365, allocations: 0.5125 MB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.4366, allocations: 67.39 kB / 1.082 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006066/0.4372, allocations: 441.8 kB / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.226e-05/0.4373, allocations: 41.7 kB / 1.082 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.71e-05/0.4374, allocations: 105.3 kB / 1.082 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.4374, allocations: 47.53 kB / 1.082 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.863e-05/0.4375, allocations: 41.69 kB / 1.083 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4376, allocations: 322.8 kB / 1.083 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.4379, allocations: 139.9 kB / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.4382, allocations: 197.9 kB / 1.083 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004041/0.4386, allocations: 294.7 kB / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4387, allocations: 0 / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009213/0.4396, allocations: 0.5279 MB / 1.084 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.774e-05/0.4397, allocations: 95.38 kB / 1.084 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4397, allocations: 0 / 1.084 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.4397, allocations: 4 kB / 1.084 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.4399, allocations: 19.97 kB / 1.084 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.4399, allocations: 7.938 kB / 1.084 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000565/0.4405, allocations: 75.92 kB / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.312e-05/0.4406, allocations: 63.92 kB / 1.084 GB, free: 12.89 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0002521/0.4408, allocations: 220.3 kB / 1.084 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/0.4409, allocations: 35.53 kB / 1.084 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.669e-05/0.441, allocations: 43.8 kB / 1.084 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.441, allocations: 4 kB / 1.084 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.441, allocations: 0 / 1.084 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.441, allocations: 3.984 kB / 1.085 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/0.4433, allocations: 0.8046 MB / 1.085 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4433, allocations: 3.984 kB / 1.085 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.4434, allocations: 7.938 kB / 1.085 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.4434, allocations: 4 kB / 1.085 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.4434, allocations: 27.91 kB / 1.085 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4434, allocations: 0 / 1.085 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4435, allocations: 0 / 1.085 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.4452, allocations: 494.8 kB / 1.086 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002666/0.4455, allocations: 244.5 kB / 1.086 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.39e-05/0.4456, allocations: 19.94 kB / 1.086 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004767/0.4461, allocations: 43.95 kB / 1.086 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.4461, allocations: 7.984 kB / 1.086 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.409e-05/0.4462, allocations: 51.98 kB / 1.086 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000351/0.4466, allocations: 323.1 kB / 1.086 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of sort global known variables: time 5.61e-07/0.4466, allocations: 0 / 1.086 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003835/0.447, allocations: 71.94 kB / 1.087 GB, free: 10.41 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$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.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0002502/0.4472, allocations: 136.4 kB / 1.087 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001355/0.4486, allocations: 492.5 kB / 1.087 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4486, allocations: 3.938 kB / 1.087 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008055/0.4494, allocations: 127.9 kB / 1.087 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.4498, allocations: 37.66 kB / 1.087 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.4515, allocations: 0.7361 MB / 1.088 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.4519, allocations: 0.7905 MB / 1.089 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.576e-05/0.4519, allocations: 13.42 kB / 1.089 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.452, allocations: 19.38 kB / 1.089 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of SimCode: time 6.91e-07/0.452, allocations: 0 / 1.089 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of Templates: time 0.009843/0.4619, allocations: 5.41 MB / 1.094 GB, free: 2.484 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)