Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009588/0.009588, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.002373/0.002373, allocations: 190.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.562/1.562, allocations: 251.7 MB / 0.5094 GB, free: 3.008 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 67.89 kB / 0.7258 GB, free: 9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3212, allocations: 104.7 MB / 0.8281 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.003158/0.3244, allocations: 1.693 MB / 0.8298 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.3255, allocations: 473 kB / 0.8302 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.488e-05/0.3256, allocations: 0 / 0.8302 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.3257, allocations: 11.86 kB / 0.8302 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.3259, allocations: 40.09 kB / 0.8303 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007813/0.3267, allocations: 279.4 kB / 0.8305 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004405/0.3271, allocations: 399.5 kB / 0.8309 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.3273, allocations: 33.38 kB / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.3276, allocations: 219.6 kB / 0.8311 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.3278, allocations: 128 kB / 0.8313 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.817e-05/0.3279, allocations: 28 kB / 0.8313 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.875e-05/0.328, allocations: 28 kB / 0.8313 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.3281, allocations: 87.77 kB / 0.8314 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.3283, allocations: 151.3 kB / 0.8315 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004208/0.3287, allocations: 406.8 kB / 0.8319 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3287, allocations: 0 / 0.8319 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3287, allocations: 0 / 0.8319 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.3287, allocations: 0 / 0.8319 GB, free: 12.24 MB / 0.6544 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.001276/0.33, allocations: 0.7387 MB / 0.8327 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3301, allocations: 8.031 kB / 0.8327 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.3302, allocations: 36.56 kB / 0.8327 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.3305, allocations: 276.2 kB / 0.833 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.3305, allocations: 12.38 kB / 0.833 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.3306, allocations: 27.92 kB / 0.833 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.331, allocations: 164.3 kB / 0.8332 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.331, allocations: 3.938 kB / 0.8332 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.3311, allocations: 15.98 kB / 0.8332 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3311, allocations: 0 / 0.8332 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.3312, allocations: 59.97 kB / 0.8332 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.3324, allocations: 0.551 MB / 0.8338 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.3327, allocations: 146.1 kB / 0.8339 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.3329, allocations: 65.08 kB / 0.834 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.3329, allocations: 0 / 0.834 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005296/0.3334, allocations: 235.7 kB / 0.8342 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.933e-06/0.3334, allocations: 0 / 0.8342 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0006463/0.3341, allocations: 277.1 kB / 0.8345 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.3342, allocations: 71.33 kB / 0.8345 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.3345, allocations: 308.5 kB / 0.8348 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.898e-05/0.3346, allocations: 41.69 kB / 0.8349 GB, free: 9.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.637e-05/0.3347, allocations: 105 kB / 0.835 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.604e-05/0.3347, allocations: 43.5 kB / 0.835 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.3349, allocations: 113.7 kB / 0.8351 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.3351, allocations: 326.8 kB / 0.8354 GB, free: 8.418 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.3354, allocations: 104.1 kB / 0.8355 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.3357, allocations: 158.4 kB / 0.8357 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.3361, allocations: 255.7 kB / 0.8359 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3361, allocations: 0 / 0.8359 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007403/0.3369, allocations: 436.7 kB / 0.8363 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.677e-05/0.3369, allocations: 86.03 kB / 0.8364 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.337, allocations: 0 / 0.8364 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.337, allocations: 4 kB / 0.8364 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.3372, allocations: 23.92 kB / 0.8364 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.3372, allocations: 7.984 kB / 0.8365 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004967/0.3377, allocations: 67.86 kB / 0.8365 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/0.3378, allocations: 51.98 kB / 0.8366 GB, free: 7.168 MB / 0.6544 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 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition3,calTim.calTim.daySampleTrigger,$whenCondition4,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,$whenCondition1,$whenCondition2) * 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.0002251/0.3381, allocations: 185.7 kB / 0.8367 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.3382, allocations: 31.62 kB / 0.8368 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.163e-05/0.3383, allocations: 34.34 kB / 0.8368 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3383, allocations: 0 / 0.8368 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3383, allocations: 0 / 0.8368 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.3383, allocations: 3.938 kB / 0.8368 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008419/0.3392, allocations: 0.6075 MB / 0.8374 GB, free: 6.246 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3392, allocations: 4 kB / 0.8374 GB, free: 6.242 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.3392, allocations: 7.984 kB / 0.8374 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3392, allocations: 4 kB / 0.8374 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.3393, allocations: 11.92 kB / 0.8374 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.3393, allocations: 4 kB / 0.8374 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3393, allocations: 0 / 0.8374 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004587/0.3398, allocations: 327 kB / 0.8377 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/0.34, allocations: 180.7 kB / 0.8379 GB, free: 5.684 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.358e-05/0.34, allocations: 19.94 kB / 0.8379 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.3402, allocations: 11.98 kB / 0.8379 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.913e-05/0.3403, allocations: 23.84 kB / 0.838 GB, free: 5.629 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-05/0.3404, allocations: 27.98 kB / 0.838 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003102/0.3407, allocations: 231 kB / 0.8382 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3407, allocations: 0 / 0.8382 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003173/0.341, allocations: 51.91 kB / 0.8383 GB, free: 5.328 MB / 0.6544 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.0002222/0.3412, allocations: 133.5 kB / 0.8384 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000624/0.3419, allocations: 366 kB / 0.8387 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3419, allocations: 0 / 0.8387 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.3421, allocations: 75.91 kB / 0.8388 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.3424, allocations: 37.06 kB / 0.8389 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007655/0.3432, allocations: 424.8 kB / 0.8393 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.3436, allocations: 0.759 MB / 0.84 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000133/0.3438, allocations: 41.42 kB / 0.84 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.3439, allocations: 35.42 kB / 0.8401 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of SimCode: time 4.61e-07/0.3439, allocations: 7.938 kB / 0.8401 GB, free: 3.395 MB / 0.6544 GB Notification: Performance of Templates: time 0.009257/0.3532, allocations: 4.48 MB / 0.8445 GB, free: 14.97 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)