Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.0009647/0.0009647, allocations: 91.38 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.006412/0.006412, 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.533/1.533, 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 3.238/3.238, allocations: 473.4 MB / 0.7469 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003913, allocations: 14.64 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.429/0.4295, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.00245/0.432, allocations: 1.452 MB / 1.076 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.4339, allocations: 0.6842 MB / 1.076 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.434, allocations: 4 kB / 1.076 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.4341, allocations: 7.922 kB / 1.076 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.4343, allocations: 31.86 kB / 1.076 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.4354, allocations: 342.5 kB / 1.077 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006829/0.4361, allocations: 0.5267 MB / 1.077 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.4362, allocations: 29.09 kB / 1.077 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006134/0.4368, allocations: 318.9 kB / 1.077 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004092/0.4373, allocations: 175.3 kB / 1.078 GB, free: 4 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.4374, allocations: 12 kB / 1.078 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.184e-05/0.4375, allocations: 12 kB / 1.078 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.4377, allocations: 123.3 kB / 1.078 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003175/0.438, allocations: 224.5 kB / 1.078 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000673/0.4387, allocations: 0.5687 MB / 1.079 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.4387, allocations: 0 / 1.079 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.645e-06/0.4387, allocations: 0 / 1.079 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.166e-05/0.4388, allocations: 0 / 1.079 GB, free: 3.059 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.001584/0.4403, allocations: 0.7769 MB / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.4404, allocations: 8.031 kB / 1.079 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/0.4406, allocations: 56.47 kB / 1.079 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005456/0.4412, allocations: 338.2 kB / 1.08 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-05/0.4413, allocations: 28.48 kB / 1.08 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.4414, allocations: 32.36 kB / 1.08 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.4425, allocations: 243.4 kB / 1.08 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.4426, allocations: 3.938 kB / 1.08 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/0.4426, allocations: 7.984 kB / 1.08 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.4426, allocations: 4 kB / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008557/0.4435, allocations: 127.9 kB / 1.08 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.4449, allocations: 0.6758 MB / 1.081 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.4461, allocations: 198.5 kB / 1.081 GB, free: 400 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008033/0.4469, allocations: 124.8 kB / 1.081 GB, free: 272 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.4469, allocations: 7.984 kB / 1.081 GB, free: 264 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/0.448, allocations: 239.2 kB / 1.081 GB, free: 12 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.445e-06/0.448, allocations: 3.938 kB / 1.081 GB, free: 8 kB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002863/0.4509, allocations: 0.5187 MB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.4509, allocations: 59.39 kB / 1.082 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000547/0.4515, allocations: 445.8 kB / 1.082 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.4516, allocations: 45.7 kB / 1.082 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.4517, allocations: 105.3 kB / 1.082 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.4518, allocations: 35.55 kB / 1.082 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.138e-05/0.4519, allocations: 41.69 kB / 1.083 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.452, allocations: 326.8 kB / 1.083 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/0.4524, allocations: 139.9 kB / 1.083 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/0.4527, allocations: 198.5 kB / 1.083 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004534/0.4532, allocations: 295.2 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.453e-06/0.4532, allocations: 4 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009862/0.4542, allocations: 0.5255 MB / 1.084 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.4543, allocations: 95.38 kB / 1.084 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4543, allocations: 4 kB / 1.084 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.4544, allocations: 0 / 1.084 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.4546, allocations: 27.91 kB / 1.084 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.4546, allocations: 7.938 kB / 1.084 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000587/0.4552, allocations: 75.86 kB / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.326e-05/0.4553, allocations: 63.92 kB / 1.084 GB, free: 12.9 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.0003572/0.4556, allocations: 220.4 kB / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.464e-05/0.4557, allocations: 39.53 kB / 1.084 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.364e-05/0.4558, allocations: 35.8 kB / 1.084 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.4558, allocations: 7.938 kB / 1.085 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.4559, allocations: 0 / 1.085 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.4559, allocations: 3.984 kB / 1.085 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002526/0.4584, allocations: 0.8029 MB / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.4584, allocations: 3.984 kB / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.4585, allocations: 11.94 kB / 1.085 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.4585, allocations: 0 / 1.085 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.4585, allocations: 27.91 kB / 1.085 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4585, allocations: 0 / 1.085 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.4585, allocations: 0 / 1.085 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.4604, allocations: 0.4885 MB / 1.086 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000338/0.4608, allocations: 248.5 kB / 1.086 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.592e-05/0.4609, allocations: 19.94 kB / 1.086 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005129/0.4614, allocations: 35.95 kB / 1.086 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.4615, allocations: 11.98 kB / 1.086 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.172e-05/0.4615, allocations: 55.98 kB / 1.086 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003631/0.4619, allocations: 319.1 kB / 1.086 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4619, allocations: 4 kB / 1.086 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004326/0.4624, allocations: 67.94 kB / 1.087 GB, free: 10.42 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.0002148/0.4626, allocations: 132.4 kB / 1.087 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001503/0.4641, allocations: 486.5 kB / 1.087 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4641, allocations: 0 / 1.087 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008372/0.465, allocations: 138.1 kB / 1.087 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.4654, allocations: 37.53 kB / 1.087 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.4673, allocations: 0.7303 MB / 1.088 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.4677, allocations: 0.7905 MB / 1.089 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.268e-05/0.4678, allocations: 17.41 kB / 1.089 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.679e-05/0.4679, allocations: 15.44 kB / 1.089 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of SimCode: time 4.71e-07/0.4679, allocations: 4 kB / 1.089 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of Templates: time 0.01139/0.4793, allocations: 5.418 MB / 1.094 GB, free: 2.484 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)