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.001248/0.001248, 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.001126/0.001126, allocations: 194.2 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.672/1.672, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.755/1.755, allocations: 292.3 MB / 0.5488 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.001421/0.001421, allocations: 71.7 kB / 0.6715 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3216, 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.CalendarTimeMonthsMinus): time 0.003268/0.3249, allocations: 1.674 MB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.3261, allocations: 484.3 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.41e-05/0.3261, allocations: 0 / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.3263, allocations: 15.8 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.3264, allocations: 36.16 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007393/0.3272, allocations: 274.8 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004144/0.3276, allocations: 415.4 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.3277, allocations: 29.11 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.3281, allocations: 223.6 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.3283, allocations: 120 kB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.461e-05/0.3284, allocations: 36 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.416e-05/0.3284, allocations: 28 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.3286, allocations: 103.6 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.3288, allocations: 151.3 kB / 0.7869 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004102/0.3292, allocations: 427 kB / 0.7873 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3292, allocations: 0 / 0.7873 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.534e-06/0.3292, allocations: 0 / 0.7873 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.3292, allocations: 0 / 0.7873 GB, free: 9.5 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.0012/0.3304, allocations: 0.7811 MB / 0.788 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.3305, allocations: 8.031 kB / 0.788 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.3306, allocations: 36.64 kB / 0.7881 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.331, allocations: 292.1 kB / 0.7883 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.046e-05/0.3311, allocations: 16.31 kB / 0.7884 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.096e-05/0.3311, allocations: 23.98 kB / 0.7884 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009859/0.3321, allocations: 225.4 kB / 0.7886 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3321, allocations: 7.984 kB / 0.7886 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.3322, allocations: 4 kB / 0.7886 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.3322, allocations: 0 / 0.7886 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007977/0.333, allocations: 111.9 kB / 0.7887 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.3341, allocations: 0.5589 MB / 0.7893 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.3352, allocations: 182.4 kB / 0.7894 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007589/0.3359, allocations: 116.8 kB / 0.7896 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.336, allocations: 0 / 0.7896 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/0.337, allocations: 227 kB / 0.7898 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.337, allocations: 0 / 0.7898 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.00255/0.3396, allocations: 461 kB / 0.7902 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.3397, allocations: 63.34 kB / 0.7903 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000327/0.34, allocations: 324.4 kB / 0.7906 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.151e-05/0.3401, allocations: 33.7 kB / 0.7906 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.617e-05/0.3402, allocations: 105 kB / 0.7907 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.3402, allocations: 31.61 kB / 0.7907 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.3404, allocations: 105.5 kB / 0.7908 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3405, allocations: 330.8 kB / 0.7912 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.3407, allocations: 91.94 kB / 0.7912 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.341, allocations: 146 kB / 0.7914 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.3413, allocations: 268.2 kB / 0.7916 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3413, allocations: 0 / 0.7916 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006633/0.342, allocations: 420.7 kB / 0.792 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.817e-05/0.3421, allocations: 86.22 kB / 0.7921 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3421, allocations: 4 kB / 0.7921 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.3421, allocations: 7.938 kB / 0.7921 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.3423, allocations: 19.92 kB / 0.7922 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.3423, allocations: 4 kB / 0.7922 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004675/0.3428, allocations: 59.73 kB / 0.7922 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.617e-05/0.3428, allocations: 43.98 kB / 0.7923 GB, free: 4.039 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.0001992/0.343, allocations: 195.2 kB / 0.7924 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/0.3431, allocations: 23.72 kB / 0.7925 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.066e-05/0.3431, allocations: 26.36 kB / 0.7925 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.3432, allocations: 7.938 kB / 0.7925 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3432, allocations: 0 / 0.7925 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3432, allocations: 0 / 0.7925 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/0.3452, allocations: 0.7427 MB / 0.7932 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3453, allocations: 4 kB / 0.7932 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.689e-05/0.3453, allocations: 4 kB / 0.7932 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3453, allocations: 0 / 0.7932 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.3453, allocations: 15.97 kB / 0.7932 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3454, allocations: 4 kB / 0.7932 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3454, allocations: 0 / 0.7932 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.347, allocations: 458.8 kB / 0.7937 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002133/0.3473, allocations: 192.6 kB / 0.7939 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.74e-05/0.3474, allocations: 16 kB / 0.7939 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004574/0.3478, allocations: 31.95 kB / 0.7939 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.3479, allocations: 8 kB / 0.7939 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.218e-05/0.3479, allocations: 39.97 kB / 0.794 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002427/0.3482, allocations: 231 kB / 0.7942 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3482, allocations: 3.938 kB / 0.7942 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003976/0.3486, allocations: 59.89 kB / 0.7942 GB, free: 1.91 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.0002516/0.3488, allocations: 123.2 kB / 0.7944 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001262/0.3501, allocations: 402.5 kB / 0.7947 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.3501, allocations: 384 / 0.7947 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007474/0.3509, allocations: 126.8 kB / 0.7949 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.3513, allocations: 43.39 kB / 0.7949 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.3528, allocations: 484.5 kB / 0.7954 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.3532, allocations: 0.7552 MB / 0.7961 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.207e-05/0.3532, allocations: 9.438 kB / 0.7961 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.3533, allocations: 23.42 kB / 0.7961 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of SimCode: time 6.91e-07/0.3533, allocations: 0 / 0.7961 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of Templates: time 0.007942/0.3613, allocations: 4.04 MB / 0.8001 GB, free: 11.89 MB / 0.6231 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)