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.001266/0.001266, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001324/0.001324, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.239/1.239, allocations: 222.9 MB / 241 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.002031/0.002031, allocations: 290.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8893/0.8893, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 91.84 kB / 0.6821 GB, free: 7.039 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3486, allocations: 86.97 MB / 0.767 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002235/0.3508, allocations: 1.483 MB / 0.7685 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008171/0.3517, allocations: 437 kB / 0.7689 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.16e-05/0.3517, allocations: 0 / 0.7689 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.789e-05/0.3518, allocations: 11.86 kB / 0.7689 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.681e-05/0.3519, allocations: 20.25 kB / 0.7689 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005953/0.3525, allocations: 247.1 kB / 0.7691 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003347/0.3528, allocations: 335.5 kB / 0.7695 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.3529, allocations: 7.984 kB / 0.7695 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002444/0.3531, allocations: 195.6 kB / 0.7697 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.3534, allocations: 116.1 kB / 0.7698 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.042e-05/0.3534, allocations: 24 kB / 0.7698 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.53e-05/0.3535, allocations: 20 kB / 0.7698 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.257e-05/0.3536, allocations: 75.78 kB / 0.7699 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.3537, allocations: 127.3 kB / 0.77 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.354, allocations: 289.4 kB / 0.7703 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.354, allocations: 0 / 0.7703 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.354, allocations: 0 / 0.7703 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.354, allocations: 0 / 0.7703 GB, free: 0.6055 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.0009355/0.355, allocations: 0.75 MB / 0.771 GB, free: 15.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.355, allocations: 12.03 kB / 0.771 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.592e-05/0.3551, allocations: 36.66 kB / 0.7711 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.3553, allocations: 267.5 kB / 0.7713 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.3554, allocations: 8.375 kB / 0.7713 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.536e-05/0.3555, allocations: 23.92 kB / 0.7714 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009308/0.3564, allocations: 197.5 kB / 0.7715 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.3564, allocations: 0 / 0.7715 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.3564, allocations: 4 kB / 0.7715 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3564, allocations: 4 kB / 0.7715 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007429/0.3572, allocations: 103.8 kB / 0.7716 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002954/0.3575, allocations: 309.3 kB / 0.7719 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.3585, allocations: 178.4 kB / 0.7721 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007293/0.3592, allocations: 108.8 kB / 0.7722 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.3593, allocations: 4 kB / 0.7722 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008627/0.3601, allocations: 211.1 kB / 0.7724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.3602, allocations: 0 / 0.7724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002405/0.3626, allocations: 453 kB / 0.7729 GB, free: 13.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.3626, allocations: 59.41 kB / 0.7729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.3628, allocations: 290.9 kB / 0.7732 GB, free: 13.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.3629, allocations: 41.69 kB / 0.7732 GB, free: 13.36 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.363, allocations: 93.14 kB / 0.7733 GB, free: 13.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.363, allocations: 43.48 kB / 0.7734 GB, free: 13.22 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.3631, allocations: 93.48 kB / 0.7734 GB, free: 13.12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.663e-05/0.3632, allocations: 318.8 kB / 0.7737 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.3634, allocations: 79.95 kB / 0.7738 GB, free: 12.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.3636, allocations: 140.8 kB / 0.774 GB, free: 12.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.3639, allocations: 232 kB / 0.7742 GB, free: 12.31 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3639, allocations: 4 kB / 0.7742 GB, free: 12.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00059/0.3645, allocations: 400.5 kB / 0.7746 GB, free: 11.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.471e-05/0.3646, allocations: 71.39 kB / 0.7746 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3646, allocations: 0 / 0.7746 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.3646, allocations: 4 kB / 0.7746 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.3648, allocations: 31.91 kB / 0.7747 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3648, allocations: 0 / 0.7747 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004262/0.3652, allocations: 55.98 kB / 0.7747 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.99e-05/0.3653, allocations: 40 kB / 0.7748 GB, free: 11.69 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.0001527/0.3654, allocations: 175.9 kB / 0.7749 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.3655, allocations: 23.72 kB / 0.775 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.736e-05/0.3655, allocations: 26.3 kB / 0.775 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3655, allocations: 4 kB / 0.775 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3655, allocations: 0 / 0.775 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.3657, allocations: 176.4 kB / 0.7751 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/0.3658, allocations: 12 kB / 0.7752 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004456/0.3662, allocations: 31.97 kB / 0.7752 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.3663, allocations: 11.92 kB / 0.7752 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001634/0.3679, allocations: 407.8 kB / 0.7756 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001672/0.3696, allocations: 0.5061 MB / 0.7761 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007161/0.3703, allocations: 111.9 kB / 0.7762 GB, free: 10.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001671/0.3705, allocations: 209.9 kB / 0.7764 GB, free: 9.969 MB / 0.545 GB Notification: Performance of Backend: time 2.2e-07/0.3705, allocations: 0 / 0.7764 GB, free: 9.969 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006382/0.3711, allocations: 365.5 kB / 0.7767 GB, free: 9.582 MB / 0.545 GB Notification: Performance of SimCode: time 0.0006646/0.3718, allocations: 0.8015 MB / 0.7775 GB, free: 8.734 MB / 0.545 GB Notification: Performance of Templates: time 0.006046/0.3779, allocations: 3.741 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)