Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.00138, allocations: 103.3 kB / 16.29 MB, free: 6.43 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.001261/0.001261, allocations: 187.3 kB / 17.22 MB, free: 5.926 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.535/1.535, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.048/2.048, allocations: 292.3 MB / 0.5495 GB, free: 17.43 MB / 462.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.001446/0.001446, allocations: 64.38 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3326, allocations: 114.6 MB / 0.7841 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.005142/0.3379, allocations: 1.669 MB / 0.7857 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.3397, allocations: 495.1 kB / 0.7862 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.3398, allocations: 0 / 0.7862 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.3401, allocations: 15.86 kB / 0.7862 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.3403, allocations: 32.16 kB / 0.7863 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.3414, allocations: 278.6 kB / 0.7865 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005874/0.342, allocations: 415.4 kB / 0.7869 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.3422, allocations: 37.11 kB / 0.787 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003663/0.3426, allocations: 223.6 kB / 0.7872 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003002/0.3429, allocations: 128 kB / 0.7873 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.919e-05/0.343, allocations: 32 kB / 0.7873 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.535e-05/0.3431, allocations: 28 kB / 0.7873 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.3432, allocations: 95.72 kB / 0.7874 GB, free: 444 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.3434, allocations: 147.3 kB / 0.7876 GB, free: 296 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.5676/0.911, allocations: 429.4 kB / 0.788 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/0.9111, allocations: 0.7188 kB / 0.788 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9111, allocations: 0 / 0.788 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.061e-05/0.9111, allocations: 3.875 kB / 0.788 GB, free: 46.83 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.00121/0.9124, allocations: 0.7725 MB / 0.7887 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.9124, allocations: 10.88 kB / 0.7888 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.9125, allocations: 34.78 kB / 0.7888 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.9128, allocations: 276.9 kB / 0.7891 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.859e-05/0.9129, allocations: 17.62 kB / 0.7891 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-05/0.913, allocations: 26.03 kB / 0.7891 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008724/0.9139, allocations: 225.8 kB / 0.7893 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.9139, allocations: 0 / 0.7893 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.9139, allocations: 7.938 kB / 0.7893 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.9139, allocations: 2.656 kB / 0.7893 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006494/0.9146, allocations: 110.8 kB / 0.7894 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.9157, allocations: 0.5556 MB / 0.79 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008738/0.9166, allocations: 189 kB / 0.7901 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006328/0.9172, allocations: 110.5 kB / 0.7903 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.9173, allocations: 4.484 kB / 0.7903 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008646/0.9181, allocations: 221.4 kB / 0.7905 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 2.695e-06/0.9182, allocations: 0 / 0.7905 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.002183/0.9203, allocations: 461.5 kB / 0.7909 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.9204, allocations: 62.73 kB / 0.791 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.9207, allocations: 325 kB / 0.7913 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.9208, allocations: 39.58 kB / 0.7913 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.9209, allocations: 99.23 kB / 0.7914 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.9209, allocations: 40 kB / 0.7914 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.9211, allocations: 100.8 kB / 0.7915 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.368e-05/0.9211, allocations: 322.1 kB / 0.7919 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.9213, allocations: 98.56 kB / 0.7919 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.9216, allocations: 150.1 kB / 0.7921 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/0.922, allocations: 251.6 kB / 0.7923 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.922, allocations: 0.6875 kB / 0.7923 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000665/0.9226, allocations: 419 kB / 0.7927 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.29e-05/0.9227, allocations: 78.3 kB / 0.7928 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.9227, allocations: 4.344 kB / 0.7928 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.952e-05/0.9228, allocations: 3.469 kB / 0.7928 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.923, allocations: 22.69 kB / 0.7928 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.923, allocations: 5.125 kB / 0.7928 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004099/0.9234, allocations: 55.78 kB / 0.7929 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.96e-05/0.9235, allocations: 46.08 kB / 0.7929 GB, free: 44.54 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: 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.0002073/0.9237, allocations: 187.2 kB / 0.7931 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.9237, allocations: 26.66 kB / 0.7931 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.883e-05/0.9238, allocations: 31.48 kB / 0.7932 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.9238, allocations: 3.5 kB / 0.7932 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.9238, allocations: 5.828 kB / 0.7932 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.9239, allocations: 7.406 kB / 0.7932 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.9256, allocations: 0.7219 MB / 0.7939 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.9256, allocations: 1.812 kB / 0.7939 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.9257, allocations: 9.922 kB / 0.7939 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.9257, allocations: 9.625 kB / 0.7939 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/0.9257, allocations: 17.55 kB / 0.7939 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.9257, allocations: 3.5 kB / 0.7939 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.9257, allocations: 3.406 kB / 0.7939 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.9271, allocations: 451.8 kB / 0.7944 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.9273, allocations: 186.6 kB / 0.7945 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.785e-05/0.9274, allocations: 21.53 kB / 0.7946 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003819/0.9278, allocations: 30.08 kB / 0.7946 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.9278, allocations: 10.97 kB / 0.7946 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.253e-05/0.9279, allocations: 44.84 kB / 0.7946 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001924/0.9281, allocations: 231.2 kB / 0.7949 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9281, allocations: 0 / 0.7949 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003368/0.9284, allocations: 53.06 kB / 0.7949 GB, free: 43.76 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: 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.000165/0.9286, allocations: 134.3 kB / 0.795 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.9296, allocations: 402.8 kB / 0.7954 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.9297, allocations: 4.188 kB / 0.7954 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006398/0.9303, allocations: 122.3 kB / 0.7955 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.9307, allocations: 30.97 kB / 0.7956 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.9322, allocations: 464.2 kB / 0.796 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.9325, allocations: 0.7502 MB / 0.7968 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.962e-05/0.9326, allocations: 18.77 kB / 0.7968 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.9327, allocations: 14.72 kB / 0.7968 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of SimCode: time 9.71e-07/0.9327, allocations: 0 / 0.7968 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of Templates: time 0.01099/0.9437, allocations: 4.019 MB / 0.8007 GB, free: 42.38 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)