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.001248/0.001248, allocations: 104.3 kB / 16.37 MB, free: 6.469 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.001096/0.001096, allocations: 189.6 kB / 17.31 MB, free: 5.82 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.492/1.492, 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.913/1.913, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.002338/0.002338, allocations: 70.88 kB / 0.673 GB, free: 5.789 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2838, allocations: 114.6 MB / 0.7848 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.003342/0.2872, allocations: 1.667 MB / 0.7865 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.2883, allocations: 498.1 kB / 0.7869 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.189e-05/0.2883, allocations: 0 / 0.7869 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.2884, allocations: 11.86 kB / 0.787 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.2886, allocations: 32.16 kB / 0.787 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007027/0.2893, allocations: 277.8 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004258/0.2897, allocations: 419.4 kB / 0.7876 GB, free: 224 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.2899, allocations: 37.09 kB / 0.7877 GB, free: 184 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5444/0.8342, allocations: 215.1 kB / 0.7879 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003878/0.8347, allocations: 129.5 kB / 0.788 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.752e-05/0.8348, allocations: 30 kB / 0.788 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.994e-05/0.8348, allocations: 28.56 kB / 0.7881 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.835, allocations: 93.2 kB / 0.7882 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.8352, allocations: 150.5 kB / 0.7883 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004424/0.8356, allocations: 433.6 kB / 0.7887 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8356, allocations: 0.5625 kB / 0.7887 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8356, allocations: 1.062 kB / 0.7887 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.8356, allocations: 0 / 0.7887 GB, free: 46.58 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.0009978/0.8367, allocations: 0.7721 MB / 0.7895 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.8367, allocations: 9.812 kB / 0.7895 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.153e-05/0.8368, allocations: 36.47 kB / 0.7895 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.8371, allocations: 281.5 kB / 0.7898 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.754e-05/0.8371, allocations: 16.75 kB / 0.7898 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.332e-05/0.8372, allocations: 22.67 kB / 0.7898 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008997/0.8381, allocations: 226.3 kB / 0.79 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.8381, allocations: 0 / 0.79 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.8381, allocations: 6.656 kB / 0.79 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.8382, allocations: 3.844 kB / 0.79 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007061/0.8389, allocations: 113 kB / 0.7902 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009982/0.8399, allocations: 0.5612 MB / 0.7907 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009378/0.8408, allocations: 187.2 kB / 0.7909 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006684/0.8415, allocations: 109.8 kB / 0.791 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.8415, allocations: 2.688 kB / 0.791 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00088/0.8424, allocations: 222 kB / 0.7912 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.933e-06/0.8424, allocations: 2.812 kB / 0.7912 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.002275/0.8447, allocations: 462.5 kB / 0.7916 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.8448, allocations: 57.91 kB / 0.7917 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.8451, allocations: 324.1 kB / 0.792 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.8451, allocations: 36.58 kB / 0.792 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/0.8452, allocations: 103.9 kB / 0.7921 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.8452, allocations: 38.91 kB / 0.7922 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.8454, allocations: 104.4 kB / 0.7923 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.414e-05/0.8455, allocations: 318.6 kB / 0.7926 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.8456, allocations: 95.98 kB / 0.7927 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.8459, allocations: 152.4 kB / 0.7928 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.8462, allocations: 256.9 kB / 0.7931 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.8462, allocations: 3.469 kB / 0.7931 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006416/0.8468, allocations: 411.5 kB / 0.7935 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.91e-05/0.8469, allocations: 82.44 kB / 0.7935 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.8469, allocations: 0 / 0.7935 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.847, allocations: 6.312 kB / 0.7935 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.8471, allocations: 25.69 kB / 0.7936 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/0.8472, allocations: 7.594 kB / 0.7936 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000434/0.8476, allocations: 54.31 kB / 0.7936 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.62e-05/0.8477, allocations: 44.14 kB / 0.7937 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.0001851/0.8479, allocations: 184.2 kB / 0.7938 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.8479, allocations: 36.67 kB / 0.7939 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.726e-05/0.848, allocations: 27.48 kB / 0.7939 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.848, allocations: 5.906 kB / 0.7939 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.848, allocations: 0 / 0.7939 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.8482, allocations: 191.2 kB / 0.7941 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.707e-05/0.8483, allocations: 19.28 kB / 0.7941 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003923/0.8487, allocations: 26.5 kB / 0.7941 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.8488, allocations: 10.34 kB / 0.7941 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001488/0.8503, allocations: 407.2 kB / 0.7945 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001514/0.8518, allocations: 0.5181 MB / 0.795 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006664/0.8525, allocations: 128.4 kB / 0.7952 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002017/0.8527, allocations: 224.2 kB / 0.7954 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of Backend: time 9.22e-07/0.8527, allocations: 3.5 kB / 0.7954 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009031/0.8536, allocations: 378.5 kB / 0.7957 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0009301/0.8545, allocations: 0.8388 MB / 0.7966 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.008891/0.8634, allocations: 4.129 MB / 0.8006 GB, free: 42.49 MB / 0.6544 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)