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.001112/0.001112, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.61/1.61, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.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.81/1.81, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.002605/0.002605, allocations: 72.02 kB / 0.6715 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3325, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.003144/0.3357, allocations: 1.678 MB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3369, allocations: 492.2 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.889e-05/0.337, allocations: 4 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.3371, allocations: 11.86 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.3372, allocations: 28.16 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007239/0.338, allocations: 282.4 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004002/0.3384, allocations: 415.4 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.3385, allocations: 29.09 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/0.3388, allocations: 223.6 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.339, allocations: 120 kB / 0.7866 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.199e-05/0.3391, allocations: 28 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.083e-05/0.3392, allocations: 32 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.3393, allocations: 95.7 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.3395, allocations: 151.3 kB / 0.7869 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004222/0.3399, allocations: 431 kB / 0.7873 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3399, allocations: 3.938 kB / 0.7873 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3399, allocations: 0 / 0.7873 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.3399, allocations: 0 / 0.7873 GB, free: 9.496 MB / 0.6075 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.001066/0.341, allocations: 0.785 MB / 0.788 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3411, allocations: 12.03 kB / 0.788 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.3412, allocations: 32.66 kB / 0.7881 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.3415, allocations: 276.2 kB / 0.7883 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.096e-05/0.3416, allocations: 28.3 kB / 0.7884 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.158e-05/0.3416, allocations: 16 kB / 0.7884 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.3426, allocations: 237.3 kB / 0.7886 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3427, allocations: 0 / 0.7886 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.3427, allocations: 4 kB / 0.7886 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3427, allocations: 4 kB / 0.7886 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007595/0.3435, allocations: 111.9 kB / 0.7887 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.3446, allocations: 0.5589 MB / 0.7893 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.3456, allocations: 182.5 kB / 0.7894 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007563/0.3464, allocations: 112.8 kB / 0.7895 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.3464, allocations: 0 / 0.7895 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009622/0.3474, allocations: 227 kB / 0.7898 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.3474, allocations: 0 / 0.7898 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002506/0.3499, allocations: 467.9 kB / 0.7902 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.35, allocations: 59.39 kB / 0.7903 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.3503, allocations: 320.4 kB / 0.7906 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.492e-05/0.3504, allocations: 41.7 kB / 0.7906 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.385e-05/0.3505, allocations: 101 kB / 0.7907 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.3505, allocations: 35.61 kB / 0.7907 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.3507, allocations: 109.5 kB / 0.7908 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.3508, allocations: 318.8 kB / 0.7912 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.351, allocations: 95.95 kB / 0.7912 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.3512, allocations: 152.8 kB / 0.7914 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.3516, allocations: 264 kB / 0.7916 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.3516, allocations: 0 / 0.7916 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006758/0.3523, allocations: 424.7 kB / 0.792 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.835e-05/0.3524, allocations: 78.05 kB / 0.7921 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3524, allocations: 4 kB / 0.7921 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.3524, allocations: 3.938 kB / 0.7921 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.3526, allocations: 27.92 kB / 0.7922 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.3526, allocations: 7.984 kB / 0.7922 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004736/0.3531, allocations: 52 kB / 0.7922 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-05/0.3531, allocations: 43.98 kB / 0.7923 GB, free: 4.043 MB / 0.6075 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.0002238/0.3534, allocations: 180.4 kB / 0.7924 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.3534, allocations: 27.7 kB / 0.7925 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.81e-05/0.3535, allocations: 34.36 kB / 0.7925 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.3535, allocations: 3.938 kB / 0.7925 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3535, allocations: 4 kB / 0.7925 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.3535, allocations: 0 / 0.7925 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.3557, allocations: 0.7362 MB / 0.7932 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3557, allocations: 0 / 0.7932 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.933e-05/0.3557, allocations: 7.984 kB / 0.7932 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3558, allocations: 4 kB / 0.7932 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.262e-05/0.3558, allocations: 27.91 kB / 0.7932 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3558, allocations: 0 / 0.7932 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3558, allocations: 3.938 kB / 0.7933 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.3576, allocations: 453.8 kB / 0.7937 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/0.3578, allocations: 188.6 kB / 0.7939 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.705e-05/0.3579, allocations: 19.98 kB / 0.7939 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004656/0.3584, allocations: 31.97 kB / 0.7939 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.3584, allocations: 7.984 kB / 0.7939 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-05/0.3585, allocations: 35.98 kB / 0.794 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002245/0.3587, allocations: 239 kB / 0.7942 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.453e-06/0.3587, allocations: 0 / 0.7942 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003862/0.3591, allocations: 55.84 kB / 0.7942 GB, free: 1.914 MB / 0.6075 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.0002254/0.3593, allocations: 131.1 kB / 0.7944 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001246/0.3606, allocations: 406.5 kB / 0.7948 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3606, allocations: 0 / 0.7948 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007689/0.3614, allocations: 119.9 kB / 0.7949 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.3618, allocations: 41.42 kB / 0.7949 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.3633, allocations: 492.8 kB / 0.7954 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.3636, allocations: 0.7435 MB / 0.7961 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.599e-05/0.3637, allocations: 25.42 kB / 0.7961 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.356e-05/0.3637, allocations: 11.44 kB / 0.7961 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of SimCode: time 9.42e-07/0.3638, allocations: 0 / 0.7961 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of Templates: time 0.007965/0.3717, allocations: 4.038 MB / 0.8001 GB, free: 11.89 MB / 0.6231 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)