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.0008762/0.0008759, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001158/0.001158, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.624/1.624, allocations: 252 MB / 0.5102 GB, free: 4.816 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.0005582/0.0005583, allocations: 16 kB / 0.6243 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6307/0.6312, allocations: 106.3 MB / 0.7282 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002372/0.6337, allocations: 1.375 MB / 0.7295 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.6348, allocations: 467.1 kB / 0.7299 GB, free: 9.574 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.635, allocations: 0 / 0.7299 GB, free: 9.574 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.6351, allocations: 11.88 kB / 0.73 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.6353, allocations: 19.91 kB / 0.73 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008765/0.6362, allocations: 210.5 kB / 0.7302 GB, free: 9.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005189/0.6367, allocations: 307.5 kB / 0.7305 GB, free: 9.039 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.6368, allocations: 37.31 kB / 0.7305 GB, free: 9 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004095/0.6372, allocations: 231.5 kB / 0.7307 GB, free: 8.773 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.6375, allocations: 131.7 kB / 0.7309 GB, free: 8.645 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.274e-05/0.6376, allocations: 12 kB / 0.7309 GB, free: 8.633 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.445e-05/0.6376, allocations: 8 kB / 0.7309 GB, free: 8.625 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.6378, allocations: 83.77 kB / 0.731 GB, free: 8.543 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.6379, allocations: 81.52 kB / 0.731 GB, free: 8.457 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003508/0.6382, allocations: 317.2 kB / 0.7313 GB, free: 8.148 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.6382, allocations: 3.984 kB / 0.7313 GB, free: 8.145 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.585e-06/0.6382, allocations: 4 kB / 0.7313 GB, free: 8.141 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.6383, allocations: 0 / 0.7313 GB, free: 8.141 MB / 0.545 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.001164/0.6394, allocations: 0.6375 MB / 0.732 GB, free: 7.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.6395, allocations: 8.031 kB / 0.732 GB, free: 7.422 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.727e-05/0.6396, allocations: 39.58 kB / 0.732 GB, free: 7.383 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.6399, allocations: 267.1 kB / 0.7323 GB, free: 7.078 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.781e-05/0.64, allocations: 23.92 kB / 0.7323 GB, free: 7.055 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.348e-05/0.6401, allocations: 19.94 kB / 0.7323 GB, free: 7.035 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.6404, allocations: 173.5 kB / 0.7325 GB, free: 6.859 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.6405, allocations: 0 / 0.7325 GB, free: 6.859 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.6405, allocations: 0 / 0.7325 GB, free: 6.859 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.6405, allocations: 4 kB / 0.7325 GB, free: 6.855 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.6407, allocations: 59.97 kB / 0.7325 GB, free: 6.797 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.6417, allocations: 0.5627 MB / 0.7331 GB, free: 6.184 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.642, allocations: 134.7 kB / 0.7332 GB, free: 6.043 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.6422, allocations: 64.84 kB / 0.7333 GB, free: 5.977 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.6422, allocations: 7.938 kB / 0.7333 GB, free: 5.969 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000468/0.6427, allocations: 228 kB / 0.7335 GB, free: 5.734 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.6427, allocations: 4 kB / 0.7335 GB, free: 5.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.000581/0.6433, allocations: 287.6 kB / 0.7338 GB, free: 5.445 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.6433, allocations: 63.39 kB / 0.7338 GB, free: 5.371 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.6436, allocations: 316.4 kB / 0.7341 GB, free: 5.051 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/0.6437, allocations: 41.69 kB / 0.7342 GB, free: 5.004 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.313e-05/0.6438, allocations: 93.05 kB / 0.7343 GB, free: 4.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.149e-05/0.6439, allocations: 35.61 kB / 0.7343 GB, free: 4.875 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.6439, allocations: 8 kB / 0.7343 GB, free: 4.867 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.644, allocations: 334.8 kB / 0.7346 GB, free: 4.531 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.6443, allocations: 100.2 kB / 0.7347 GB, free: 4.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.6445, allocations: 159.7 kB / 0.7349 GB, free: 4.254 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.6448, allocations: 174.9 kB / 0.735 GB, free: 4.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.6448, allocations: 0 / 0.735 GB, free: 4.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00072/0.6456, allocations: 435.1 kB / 0.7355 GB, free: 3.629 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.984e-05/0.6457, allocations: 75.39 kB / 0.7355 GB, free: 3.543 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.6457, allocations: 4 kB / 0.7355 GB, free: 3.539 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.6457, allocations: 15.88 kB / 0.7355 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.6459, allocations: 27.92 kB / 0.7356 GB, free: 3.496 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.6459, allocations: 8.172 kB / 0.7356 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004493/0.6464, allocations: 71.8 kB / 0.7356 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.26e-05/0.6465, allocations: 55.97 kB / 0.7357 GB, free: 3.363 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002081/0.6467, allocations: 185.8 kB / 0.7359 GB, free: 3.172 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.6467, allocations: 27.62 kB / 0.7359 GB, free: 3.145 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.721e-05/0.6468, allocations: 34.36 kB / 0.7359 GB, free: 3.109 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.6468, allocations: 0 / 0.7359 GB, free: 3.109 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.6468, allocations: 3.953 kB / 0.7359 GB, free: 3.105 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6468, allocations: 3.984 kB / 0.7359 GB, free: 3.102 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007636/0.6476, allocations: 0.598 MB / 0.7365 GB, free: 2.449 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6476, allocations: 8 kB / 0.7365 GB, free: 2.441 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.034e-05/0.6476, allocations: 7.938 kB / 0.7365 GB, free: 2.434 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.6477, allocations: 15.92 kB / 0.7366 GB, free: 2.418 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.6477, allocations: 11.98 kB / 0.7366 GB, free: 2.406 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.6477, allocations: 0 / 0.7366 GB, free: 2.406 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6477, allocations: 4 kB / 0.7366 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.6481, allocations: 323 kB / 0.7369 GB, free: 2.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.6483, allocations: 184.6 kB / 0.7371 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.797e-05/0.6484, allocations: 23.89 kB / 0.7371 GB, free: 1.848 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.6486, allocations: 11.98 kB / 0.7371 GB, free: 1.836 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.479e-05/0.6487, allocations: 15.97 kB / 0.7371 GB, free: 1.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/0.6487, allocations: 31.98 kB / 0.7371 GB, free: 1.789 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002243/0.6489, allocations: 223 kB / 0.7374 GB, free: 1.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6489, allocations: 0 / 0.7374 GB, free: 1.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003117/0.6493, allocations: 52 kB / 0.7374 GB, free: 1.52 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002008/0.6495, allocations: 129.7 kB / 0.7375 GB, free: 1.383 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005589/0.65, allocations: 364.9 kB / 0.7379 GB, free: 1.004 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6501, allocations: 0 / 0.7379 GB, free: 1.004 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.6502, allocations: 75.81 kB / 0.7379 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.6506, allocations: 32.62 kB / 0.738 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007492/0.6513, allocations: 498.8 kB / 0.7385 GB, free: 400 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.6517, allocations: 0.7594 MB / 0.7392 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001404/0.6519, allocations: 37.42 kB / 0.7392 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.652, allocations: 39.42 kB / 0.7393 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.652, allocations: 0 / 0.7393 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of Templates: time 0.007943/0.6599, allocations: 4.289 MB / 0.7435 GB, free: 11.31 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: