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.001224/0.001224, allocations: 113.4 kB / 16.38 MB, free: 6.02 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.001298/0.001298, allocations: 188.4 kB / 17.31 MB, free: 5.613 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.534/1.534, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.931/1.931, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001459/0.001459, allocations: 75.89 kB / 0.673 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2554, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.003265/0.2587, allocations: 1.67 MB / 0.7865 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.2599, allocations: 491.2 kB / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.573e-05/0.26, allocations: 0 / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.2601, allocations: 11.81 kB / 0.787 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.2602, allocations: 32.16 kB / 0.787 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007729/0.261, allocations: 286.8 kB / 0.7873 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004165/0.2615, allocations: 411.5 kB / 0.7876 GB, free: 276 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.2616, allocations: 37.02 kB / 0.7877 GB, free: 236 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.2619, allocations: 223.6 kB / 0.7879 GB, free: 12 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5064/0.7683, allocations: 120.4 kB / 0.788 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002355/0.7686, allocations: 29.67 kB / 0.788 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.7688, allocations: 30.22 kB / 0.7881 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000213/0.769, allocations: 95.66 kB / 0.7882 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000337/0.7693, allocations: 157.2 kB / 0.7883 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006823/0.77, allocations: 427.3 kB / 0.7887 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.7701, allocations: 0 / 0.7887 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.685e-06/0.7701, allocations: 3.938 kB / 0.7887 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.963e-05/0.7701, allocations: 0 / 0.7887 GB, free: 47.04 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.002087/0.7722, allocations: 0.7737 MB / 0.7895 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.907e-05/0.7723, allocations: 7.75 kB / 0.7895 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.7725, allocations: 39.09 kB / 0.7895 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005205/0.773, allocations: 274.3 kB / 0.7898 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.063e-05/0.7731, allocations: 22.02 kB / 0.7898 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.662e-05/0.7732, allocations: 23.88 kB / 0.7898 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.7743, allocations: 228.4 kB / 0.79 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.7743, allocations: 0 / 0.79 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.7743, allocations: 1.438 kB / 0.79 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.7744, allocations: 5.578 kB / 0.7901 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007268/0.7751, allocations: 111.1 kB / 0.7902 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.7766, allocations: 0.5587 MB / 0.7907 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.7776, allocations: 178.8 kB / 0.7909 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007012/0.7783, allocations: 119.7 kB / 0.791 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/0.7784, allocations: 3.938 kB / 0.791 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009069/0.7793, allocations: 218.8 kB / 0.7912 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 3.596e-06/0.7793, allocations: 1.875 kB / 0.7912 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.002595/0.7819, allocations: 457.4 kB / 0.7916 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.782, allocations: 69.58 kB / 0.7917 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005518/0.7825, allocations: 321.4 kB / 0.792 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.8e-05/0.7826, allocations: 43.28 kB / 0.7921 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.7827, allocations: 95.03 kB / 0.7921 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.7828, allocations: 42.75 kB / 0.7922 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/0.7831, allocations: 102.6 kB / 0.7923 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.7832, allocations: 322.5 kB / 0.7926 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.7834, allocations: 96.27 kB / 0.7927 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.7837, allocations: 143.8 kB / 0.7928 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004149/0.7841, allocations: 255.2 kB / 0.7931 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.7842, allocations: 0 / 0.7931 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008215/0.785, allocations: 418.9 kB / 0.7935 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.7851, allocations: 79.11 kB / 0.7935 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.7851, allocations: 3.438 kB / 0.7935 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.207e-05/0.7852, allocations: 3.906 kB / 0.7935 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.7854, allocations: 20.2 kB / 0.7936 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.7854, allocations: 4.844 kB / 0.7936 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005096/0.7859, allocations: 54.53 kB / 0.7936 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-05/0.786, allocations: 48.38 kB / 0.7937 GB, free: 44.73 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.0003301/0.7864, allocations: 189.1 kB / 0.7938 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.298e-05/0.7865, allocations: 27.38 kB / 0.7939 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.7866, allocations: 32.64 kB / 0.7939 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.7866, allocations: 10.62 kB / 0.7939 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.7866, allocations: 0 / 0.7939 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002928/0.7869, allocations: 192 kB / 0.7941 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.787, allocations: 13.94 kB / 0.7941 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004186/0.7874, allocations: 28.95 kB / 0.7941 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.7875, allocations: 9.562 kB / 0.7941 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001635/0.7891, allocations: 412.3 kB / 0.7945 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00166/0.7908, allocations: 0.5133 MB / 0.795 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006874/0.7915, allocations: 118.4 kB / 0.7952 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003031/0.7918, allocations: 232.2 kB / 0.7954 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of Backend: time 1.623e-06/0.7919, allocations: 0 / 0.7954 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.793, allocations: 383.9 kB / 0.7957 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001426/0.7945, allocations: 0.8331 MB / 0.7966 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.01518/0.8097, allocations: 4.127 MB / 0.8006 GB, free: 42.95 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)