Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 102.7 kB / 16.36 MB, free: 6.301 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.001099/0.001099, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.395/1.395, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.781/1.781, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001429/0.001429, allocations: 67.91 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2371, allocations: 114.6 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002956/0.2401, allocations: 1.667 MB / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.2411, allocations: 494 kB / 0.7869 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.038e-05/0.2412, allocations: 4 kB / 0.7869 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.364e-05/0.2413, allocations: 15.8 kB / 0.7869 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.2415, allocations: 28.16 kB / 0.787 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006949/0.2422, allocations: 279.2 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004353/0.2426, allocations: 419.4 kB / 0.7876 GB, free: 256 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.2427, allocations: 33.11 kB / 0.7877 GB, free: 220 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002855/0.243, allocations: 219.6 kB / 0.7879 GB, free: 0 / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4682/0.7113, allocations: 127.2 kB / 0.788 GB, free: 47 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.032e-05/0.7114, allocations: 31.5 kB / 0.788 GB, free: 47 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.585e-05/0.7115, allocations: 28.88 kB / 0.788 GB, free: 47 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.7116, allocations: 91.31 kB / 0.7881 GB, free: 47 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.7118, allocations: 153.1 kB / 0.7883 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004213/0.7122, allocations: 431.7 kB / 0.7887 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7122, allocations: 0 / 0.7887 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7122, allocations: 0.8438 kB / 0.7887 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.7122, allocations: 0 / 0.7887 GB, free: 46.92 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.001008/0.7133, allocations: 0.7713 MB / 0.7894 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.7133, allocations: 14.44 kB / 0.7895 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.697e-05/0.7134, allocations: 35.34 kB / 0.7895 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.7137, allocations: 284.7 kB / 0.7898 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.7138, allocations: 19.28 kB / 0.7898 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.349e-05/0.7138, allocations: 20.03 kB / 0.7898 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009043/0.7147, allocations: 227.8 kB / 0.79 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.7148, allocations: 0 / 0.79 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/0.7148, allocations: 3.625 kB / 0.79 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.7148, allocations: 3.812 kB / 0.79 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006923/0.7155, allocations: 116.4 kB / 0.7901 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.7167, allocations: 0.5585 MB / 0.7907 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009084/0.7176, allocations: 182.5 kB / 0.7909 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006619/0.7182, allocations: 112.9 kB / 0.791 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.7183, allocations: 5.109 kB / 0.791 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008285/0.7191, allocations: 226.4 kB / 0.7912 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 2.194e-06/0.7191, allocations: 2.781 kB / 0.7912 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.002278/0.7214, allocations: 453.6 kB / 0.7916 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.7215, allocations: 64.47 kB / 0.7917 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.7218, allocations: 319 kB / 0.792 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.988e-05/0.7219, allocations: 48.22 kB / 0.792 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.339e-05/0.7219, allocations: 99.23 kB / 0.7921 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.722, allocations: 42.27 kB / 0.7922 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.7221, allocations: 100.6 kB / 0.7923 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.607e-05/0.7222, allocations: 323.2 kB / 0.7926 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.7224, allocations: 93.25 kB / 0.7927 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.7226, allocations: 145.4 kB / 0.7928 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.7229, allocations: 254.6 kB / 0.793 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.7229, allocations: 1.5 kB / 0.793 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005679/0.7235, allocations: 420 kB / 0.7934 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.533e-05/0.7235, allocations: 79.84 kB / 0.7935 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.7235, allocations: 0.5312 kB / 0.7935 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.7236, allocations: 3.781 kB / 0.7935 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.7237, allocations: 24 kB / 0.7935 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.7238, allocations: 10.72 kB / 0.7936 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00041/0.7242, allocations: 53.41 kB / 0.7936 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.233e-05/0.7242, allocations: 48.45 kB / 0.7937 GB, free: 44.61 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.0001685/0.7244, allocations: 187 kB / 0.7938 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-05/0.7245, allocations: 28.75 kB / 0.7939 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.8e-05/0.7245, allocations: 28.77 kB / 0.7939 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.7245, allocations: 2.625 kB / 0.7939 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.7245, allocations: 3.938 kB / 0.7939 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.7246, allocations: 2.766 kB / 0.7939 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.7264, allocations: 0.7305 MB / 0.7946 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.7264, allocations: 0 / 0.7946 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.295e-05/0.7264, allocations: 6.312 kB / 0.7946 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.7265, allocations: 3.938 kB / 0.7946 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/0.7265, allocations: 18.7 kB / 0.7946 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.7265, allocations: 2.812 kB / 0.7946 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.7265, allocations: 0 / 0.7946 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.728, allocations: 456.1 kB / 0.7951 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.7282, allocations: 193.2 kB / 0.7953 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.449e-05/0.7282, allocations: 18.75 kB / 0.7953 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.7287, allocations: 33.34 kB / 0.7953 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.7287, allocations: 6.891 kB / 0.7953 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.033e-05/0.7288, allocations: 45.91 kB / 0.7954 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001794/0.7289, allocations: 227.4 kB / 0.7956 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.11e-07/0.729, allocations: 1.969 kB / 0.7956 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003212/0.7293, allocations: 60.94 kB / 0.7956 GB, free: 43.81 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.0001595/0.7294, allocations: 131.8 kB / 0.7958 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001061/0.7305, allocations: 390.9 kB / 0.7961 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.7305, allocations: 10.56 kB / 0.7961 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006611/0.7312, allocations: 124.6 kB / 0.7963 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.7316, allocations: 36.45 kB / 0.7963 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.7329, allocations: 499.1 kB / 0.7968 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.7331, allocations: 0.7513 MB / 0.7975 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.7332, allocations: 18.06 kB / 0.7975 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of SimCode: time 4.31e-07/0.7332, allocations: 0 / 0.7975 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of Templates: time 0.006108/0.7393, allocations: 3.178 MB / 0.8006 GB, free: 42.45 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)