Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001176/0.001176, allocations: 107.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.001193/0.001193, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.554/1.554, allocations: 205.1 MB / 223.1 MB, free: 12.32 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 1.914/1.914, allocations: 292.3 MB / 0.5495 GB, free: 17.49 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.001924/0.001924, allocations: 72.38 kB / 0.6722 GB, free: 6.555 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2847, allocations: 114.5 MB / 0.7841 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.003321/0.2881, allocations: 1.675 MB / 0.7857 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.2893, allocations: 483.2 kB / 0.7862 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.748e-05/0.2894, allocations: 4 kB / 0.7862 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.2895, allocations: 11.86 kB / 0.7862 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.2897, allocations: 36.16 kB / 0.7862 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008446/0.2905, allocations: 282.9 kB / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000659/0.2912, allocations: 415.4 kB / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.2914, allocations: 33.09 kB / 0.7869 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003948/0.2918, allocations: 227.6 kB / 0.7872 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002975/0.2921, allocations: 128 kB / 0.7873 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.798e-05/0.2922, allocations: 32 kB / 0.7873 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.914e-05/0.2923, allocations: 32 kB / 0.7873 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.2924, allocations: 95.66 kB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.2927, allocations: 151.3 kB / 0.7876 GB, free: 312 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.4283/0.7209, allocations: 424.6 kB / 0.788 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.721, allocations: 0 / 0.788 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.124e-06/0.721, allocations: 1.25 kB / 0.788 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.599e-05/0.721, allocations: 0 / 0.788 GB, free: 46.84 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.001034/0.7221, allocations: 0.7732 MB / 0.7887 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.7221, allocations: 8.594 kB / 0.7888 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.814e-05/0.7222, allocations: 41.39 kB / 0.7888 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.7225, allocations: 274.9 kB / 0.7891 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.378e-05/0.7226, allocations: 21.09 kB / 0.7891 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.287e-05/0.7226, allocations: 18.88 kB / 0.7891 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008256/0.7235, allocations: 232.2 kB / 0.7893 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.7235, allocations: 0 / 0.7893 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.7235, allocations: 5.5 kB / 0.7893 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.7235, allocations: 1.25 kB / 0.7893 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006087/0.7241, allocations: 112.3 kB / 0.7894 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009303/0.7251, allocations: 0.5516 MB / 0.79 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.7263, allocations: 190.9 kB / 0.7901 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007978/0.7271, allocations: 108.8 kB / 0.7902 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.7272, allocations: 5.453 kB / 0.7903 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008088/0.728, allocations: 225.6 kB / 0.7905 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.834e-06/0.728, allocations: 0.5312 kB / 0.7905 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.002078/0.7301, allocations: 458.9 kB / 0.7909 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.7301, allocations: 69.61 kB / 0.791 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.7304, allocations: 321.4 kB / 0.7913 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.7304, allocations: 41.08 kB / 0.7913 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.7305, allocations: 99 kB / 0.7914 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.7305, allocations: 36.52 kB / 0.7914 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.7306, allocations: 102.4 kB / 0.7915 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.72e-05/0.7307, allocations: 326.4 kB / 0.7919 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.7309, allocations: 90.78 kB / 0.7919 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.7311, allocations: 149.9 kB / 0.7921 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.7313, allocations: 256.1 kB / 0.7923 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7314, allocations: 0 / 0.7923 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005527/0.7319, allocations: 418.7 kB / 0.7927 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/0.732, allocations: 77.14 kB / 0.7928 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.732, allocations: 3.344 kB / 0.7928 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.732, allocations: 3.5 kB / 0.7928 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.7322, allocations: 21.81 kB / 0.7928 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.7322, allocations: 7.375 kB / 0.7928 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003903/0.7326, allocations: 56.92 kB / 0.7929 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/0.7326, allocations: 42.56 kB / 0.7929 GB, free: 44.55 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.0001427/0.7328, allocations: 190.7 kB / 0.7931 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.7328, allocations: 27.84 kB / 0.7931 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.545e-05/0.7329, allocations: 31.47 kB / 0.7932 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.7329, allocations: 2.625 kB / 0.7932 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.7329, allocations: 2.125 kB / 0.7932 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.7329, allocations: 3.938 kB / 0.7932 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.7346, allocations: 0.7353 MB / 0.7939 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.7346, allocations: 3.062 kB / 0.7939 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.283e-05/0.7347, allocations: 2.281 kB / 0.7939 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.7347, allocations: 3.938 kB / 0.7939 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.7347, allocations: 20.52 kB / 0.7939 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.7347, allocations: 0 / 0.7939 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7347, allocations: 0 / 0.7939 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.7361, allocations: 462.4 kB / 0.7944 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.7363, allocations: 183.5 kB / 0.7945 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.872e-05/0.7364, allocations: 22.59 kB / 0.7946 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.7368, allocations: 32.61 kB / 0.7946 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.7369, allocations: 11.72 kB / 0.7946 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-05/0.7369, allocations: 39.97 kB / 0.7946 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000157/0.7371, allocations: 233.6 kB / 0.7949 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7371, allocations: 0 / 0.7949 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003284/0.7374, allocations: 52.28 kB / 0.7949 GB, free: 43.75 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.0001603/0.7376, allocations: 137.8 kB / 0.795 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.7386, allocations: 395.7 kB / 0.7954 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.7386, allocations: 3.938 kB / 0.7954 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006414/0.7393, allocations: 124.7 kB / 0.7955 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.7397, allocations: 32.33 kB / 0.7956 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.7409, allocations: 459.6 kB / 0.796 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.7411, allocations: 0.7515 MB / 0.7968 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.242e-05/0.7411, allocations: 23.73 kB / 0.7968 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.7412, allocations: 17.7 kB / 0.7968 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.7412, allocations: 0 / 0.7968 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of Templates: time 0.008673/0.7499, allocations: 4.007 MB / 0.8007 GB, free: 42.37 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)