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.001501/0.001501, allocations: 113.3 kB / 16.36 MB, free: 5.945 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.001728/0.001728, allocations: 197.1 kB / 17.3 MB, free: 5.559 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.4/1.4, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.906/1.906, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001479/0.001479, allocations: 67.91 kB / 0.6729 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2204, allocations: 114.6 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.00277/0.2232, allocations: 1.667 MB / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009443/0.2242, allocations: 491.2 kB / 0.7869 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.698e-05/0.2242, allocations: 0 / 0.7869 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.804e-05/0.2243, allocations: 11.86 kB / 0.7869 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.2245, allocations: 28.16 kB / 0.787 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006767/0.2252, allocations: 286.9 kB / 0.7872 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000377/0.2255, allocations: 419.4 kB / 0.7876 GB, free: 248 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.2256, allocations: 29.09 kB / 0.7877 GB, free: 216 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3901/0.6158, allocations: 220.2 kB / 0.7879 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003947/0.6162, allocations: 134.5 kB / 0.788 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.6163, allocations: 29.19 kB / 0.788 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.763e-05/0.6164, allocations: 28.88 kB / 0.788 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.6166, allocations: 94.12 kB / 0.7881 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.6167, allocations: 153.3 kB / 0.7883 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003885/0.6171, allocations: 428.2 kB / 0.7887 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.6171, allocations: 5.281 kB / 0.7887 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6171, allocations: 0 / 0.7887 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.6172, allocations: 3.875 kB / 0.7887 GB, free: 46.59 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.0009952/0.6182, allocations: 0.7677 MB / 0.7895 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.6182, allocations: 7.875 kB / 0.7895 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.711e-05/0.6183, allocations: 37.78 kB / 0.7895 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.6186, allocations: 287.8 kB / 0.7898 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.82e-05/0.6187, allocations: 15.34 kB / 0.7898 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.904e-05/0.6188, allocations: 24.89 kB / 0.7898 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009841/0.6198, allocations: 224.6 kB / 0.79 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.6198, allocations: 2.719 kB / 0.79 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.6198, allocations: 0 / 0.79 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.6198, allocations: 5.562 kB / 0.79 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007512/0.6206, allocations: 111.1 kB / 0.7901 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.6217, allocations: 0.5579 MB / 0.7907 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009985/0.6227, allocations: 191.6 kB / 0.7909 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007281/0.6235, allocations: 111.5 kB / 0.791 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.6235, allocations: 1.266 kB / 0.791 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008972/0.6244, allocations: 219.4 kB / 0.7912 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 2.284e-06/0.6244, allocations: 2.25 kB / 0.7912 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.002383/0.6268, allocations: 459.5 kB / 0.7916 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.6269, allocations: 68.16 kB / 0.7917 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.6272, allocations: 317 kB / 0.792 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.686e-05/0.6272, allocations: 38.64 kB / 0.792 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.922e-05/0.6273, allocations: 100.3 kB / 0.7921 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.6273, allocations: 39.34 kB / 0.7922 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.6275, allocations: 102.4 kB / 0.7923 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.631e-05/0.6275, allocations: 319.4 kB / 0.7926 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.6277, allocations: 99.11 kB / 0.7927 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.628, allocations: 145.7 kB / 0.7928 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.6282, allocations: 257.4 kB / 0.793 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6283, allocations: 3.906 kB / 0.793 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005921/0.6289, allocations: 418.6 kB / 0.7934 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.824e-05/0.6289, allocations: 78.58 kB / 0.7935 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.6289, allocations: 3.438 kB / 0.7935 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.629, allocations: 4.031 kB / 0.7935 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.6291, allocations: 25.02 kB / 0.7935 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.6292, allocations: 8.75 kB / 0.7936 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004554/0.6296, allocations: 49.78 kB / 0.7936 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.457e-05/0.6297, allocations: 42.36 kB / 0.7936 GB, free: 44.27 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.0001837/0.6299, allocations: 193.5 kB / 0.7938 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.6299, allocations: 28.75 kB / 0.7939 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.839e-05/0.63, allocations: 28.2 kB / 0.7939 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.63, allocations: 2.625 kB / 0.7939 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.63, allocations: 3.938 kB / 0.7939 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.63, allocations: 3.328 kB / 0.7939 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.6321, allocations: 0.7275 MB / 0.7946 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.6321, allocations: 0.5 kB / 0.7946 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.171e-05/0.6322, allocations: 10.33 kB / 0.7946 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.6322, allocations: 0 / 0.7946 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/0.6322, allocations: 22.03 kB / 0.7946 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.6322, allocations: 4.125 kB / 0.7946 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6322, allocations: 0 / 0.7946 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.6339, allocations: 456.6 kB / 0.7951 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002362/0.6341, allocations: 196.8 kB / 0.7953 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.899e-05/0.6342, allocations: 14.81 kB / 0.7953 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004622/0.6347, allocations: 36.16 kB / 0.7953 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.6347, allocations: 6.844 kB / 0.7953 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.971e-05/0.6348, allocations: 43.22 kB / 0.7954 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001982/0.635, allocations: 228.3 kB / 0.7956 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.635, allocations: 0 / 0.7956 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004089/0.6354, allocations: 59.66 kB / 0.7956 GB, free: 43.48 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.0001735/0.6356, allocations: 134.9 kB / 0.7958 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.6367, allocations: 395.1 kB / 0.7961 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6367, allocations: 0 / 0.7961 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007422/0.6375, allocations: 124.7 kB / 0.7963 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.6379, allocations: 35.77 kB / 0.7963 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.6392, allocations: 463.5 kB / 0.7967 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.6395, allocations: 0.7491 MB / 0.7975 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.828e-05/0.6396, allocations: 17.47 kB / 0.7975 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.6397, allocations: 18.39 kB / 0.7975 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of SimCode: time 7.02e-07/0.6397, allocations: 0.8438 kB / 0.7975 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.00924/0.6489, allocations: 4.015 MB / 0.8014 GB, free: 42.09 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)