Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 116.8 kB / 16.42 MB, free: 5.992 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.001523/0.001523, allocations: 184.5 kB / 17.35 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002048/0.002048, allocations: 283.1 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8777/0.8777, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 99.86 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3581, allocations: 86.98 MB / 0.767 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002218/0.3603, allocations: 1.484 MB / 0.7685 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008751/0.3612, allocations: 425.1 kB / 0.7689 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.897e-05/0.3613, allocations: 4 kB / 0.7689 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.013e-05/0.3614, allocations: 11.86 kB / 0.7689 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.298e-05/0.3615, allocations: 28.22 kB / 0.7689 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006342/0.3621, allocations: 252.4 kB / 0.7692 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003102/0.3624, allocations: 323.5 kB / 0.7695 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.616e-05/0.3625, allocations: 11.98 kB / 0.7695 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00024/0.3627, allocations: 199.6 kB / 0.7697 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.3629, allocations: 120.1 kB / 0.7698 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.629e-05/0.363, allocations: 16 kB / 0.7698 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.403e-05/0.3631, allocations: 20 kB / 0.7698 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.3632, allocations: 87.7 kB / 0.7699 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.3633, allocations: 119.4 kB / 0.77 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.3636, allocations: 289.4 kB / 0.7703 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.3636, allocations: 0 / 0.7703 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.52e-07/0.3636, allocations: 4 kB / 0.7703 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.3636, allocations: 3.938 kB / 0.7703 GB, free: 0.5859 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000928/0.3645, allocations: 0.7422 MB / 0.771 GB, free: 15.76 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.3646, allocations: 8.031 kB / 0.771 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.547e-05/0.3647, allocations: 28.66 kB / 0.7711 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.365, allocations: 271.5 kB / 0.7713 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/0.365, allocations: 12.36 kB / 0.7713 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.503e-05/0.3651, allocations: 23.94 kB / 0.7714 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009479/0.366, allocations: 193.5 kB / 0.7715 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.366, allocations: 8 kB / 0.7716 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.3661, allocations: 3.984 kB / 0.7716 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.3661, allocations: 0 / 0.7716 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007613/0.3669, allocations: 95.92 kB / 0.7716 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003063/0.3672, allocations: 313.3 kB / 0.7719 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.3682, allocations: 182.3 kB / 0.7721 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007498/0.369, allocations: 108.8 kB / 0.7722 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.369, allocations: 4 kB / 0.7722 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008982/0.3699, allocations: 211.1 kB / 0.7724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.3699, allocations: 0 / 0.7724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002453/0.3724, allocations: 448.3 kB / 0.7729 GB, free: 13.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.3724, allocations: 59.41 kB / 0.7729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.3727, allocations: 294.9 kB / 0.7732 GB, free: 13.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.641e-05/0.3727, allocations: 37.7 kB / 0.7732 GB, free: 13.36 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.3728, allocations: 97.12 kB / 0.7733 GB, free: 13.26 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.3728, allocations: 39.48 kB / 0.7734 GB, free: 13.22 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.373, allocations: 93.48 kB / 0.7734 GB, free: 13.12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.3731, allocations: 322.8 kB / 0.7738 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.3732, allocations: 79.94 kB / 0.7738 GB, free: 12.72 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.3734, allocations: 134.5 kB / 0.774 GB, free: 12.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.3737, allocations: 241.2 kB / 0.7742 GB, free: 12.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3737, allocations: 0 / 0.7742 GB, free: 12.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005736/0.3743, allocations: 394.6 kB / 0.7746 GB, free: 11.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.266e-05/0.3744, allocations: 71.39 kB / 0.7746 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3744, allocations: 3.984 kB / 0.7746 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3744, allocations: 4 kB / 0.7746 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.3746, allocations: 23.92 kB / 0.7747 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.3746, allocations: 4 kB / 0.7747 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/0.375, allocations: 55.98 kB / 0.7747 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/0.3751, allocations: 43.98 kB / 0.7748 GB, free: 11.68 MB / 0.545 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0001574/0.3753, allocations: 167.9 kB / 0.7749 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.3753, allocations: 27.7 kB / 0.775 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.279e-05/0.3753, allocations: 34.3 kB / 0.775 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3754, allocations: 3.984 kB / 0.775 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3754, allocations: 3.938 kB / 0.775 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.3756, allocations: 168.5 kB / 0.7752 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.311e-05/0.3756, allocations: 8 kB / 0.7752 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000446/0.3761, allocations: 35.95 kB / 0.7752 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.3761, allocations: 11.94 kB / 0.7752 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001667/0.3778, allocations: 412.7 kB / 0.7756 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001694/0.3795, allocations: 0.5061 MB / 0.7761 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007393/0.3802, allocations: 111.9 kB / 0.7762 GB, free: 10.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001687/0.3804, allocations: 209.9 kB / 0.7764 GB, free: 9.957 MB / 0.545 GB Notification: Performance of Backend: time 3.11e-07/0.3804, allocations: 4 kB / 0.7764 GB, free: 9.953 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006679/0.3811, allocations: 360.2 kB / 0.7767 GB, free: 9.57 MB / 0.545 GB Notification: Performance of SimCode: time 0.0006939/0.3818, allocations: 0.7957 MB / 0.7775 GB, free: 8.727 MB / 0.545 GB Notification: Performance of Templates: time 0.006217/0.388, allocations: 3.728 MB / 0.7812 GB, free: 5.039 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)