Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.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 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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009947/0.0009946, allocations: 110 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.001045/0.001045, allocations: 187.9 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.228/1.228, 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.002017/0.002017, allocations: 291.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8912/0.8912, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 99.84 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3558, allocations: 86.98 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002228/0.3581, allocations: 1.48 MB / 0.7685 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008405/0.3589, allocations: 437 kB / 0.7689 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.495e-05/0.359, allocations: 3.938 kB / 0.7689 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.334e-05/0.3591, allocations: 7.922 kB / 0.7689 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.846e-05/0.3592, allocations: 16.25 kB / 0.7689 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000608/0.3598, allocations: 250.6 kB / 0.7692 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.3601, allocations: 335.5 kB / 0.7695 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.67e-05/0.3602, allocations: 4 kB / 0.7695 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.3604, allocations: 203.7 kB / 0.7697 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.3606, allocations: 113 kB / 0.7698 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.683e-05/0.3607, allocations: 24 kB / 0.7698 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.647e-05/0.3608, allocations: 20 kB / 0.7698 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.464e-05/0.3609, allocations: 75.78 kB / 0.7699 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.361, allocations: 139.2 kB / 0.77 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.3613, allocations: 285.4 kB / 0.7703 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3613, allocations: 0 / 0.7703 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3613, allocations: 0 / 0.7703 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.3613, allocations: 0 / 0.7703 GB, free: 0.5508 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.0009572/0.3623, allocations: 0.7461 MB / 0.771 GB, free: 15.72 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.3623, allocations: 12.03 kB / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.592e-05/0.3624, allocations: 36.64 kB / 0.7711 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.3627, allocations: 259.6 kB / 0.7713 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.3628, allocations: 12.38 kB / 0.7713 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.973e-05/0.3628, allocations: 31.86 kB / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009423/0.3638, allocations: 193.5 kB / 0.7716 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.3638, allocations: 0 / 0.7716 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.3638, allocations: 4 kB / 0.7716 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.3638, allocations: 4 kB / 0.7716 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007579/0.3646, allocations: 97.66 kB / 0.7717 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.3649, allocations: 317.3 kB / 0.772 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.366, allocations: 174.4 kB / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007576/0.3667, allocations: 108.7 kB / 0.7722 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.3668, allocations: 4 kB / 0.7722 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009175/0.3677, allocations: 215.1 kB / 0.7724 GB, free: 14.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.3677, allocations: 0 / 0.7724 GB, free: 14.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002477/0.3702, allocations: 444.3 kB / 0.7729 GB, free: 13.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.3702, allocations: 59.39 kB / 0.7729 GB, free: 13.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.3705, allocations: 298.8 kB / 0.7732 GB, free: 13.36 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/0.3705, allocations: 41.69 kB / 0.7732 GB, free: 13.31 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.3706, allocations: 89.14 kB / 0.7733 GB, free: 13.22 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.3707, allocations: 43.48 kB / 0.7734 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.3708, allocations: 93.48 kB / 0.7735 GB, free: 13.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3709, allocations: 326.8 kB / 0.7738 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.3711, allocations: 75.95 kB / 0.7738 GB, free: 12.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.3713, allocations: 140.3 kB / 0.774 GB, free: 12.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.3716, allocations: 231.3 kB / 0.7742 GB, free: 12.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3716, allocations: 8 kB / 0.7742 GB, free: 12.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005881/0.3722, allocations: 392.5 kB / 0.7746 GB, free: 11.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.682e-05/0.3723, allocations: 78.05 kB / 0.7747 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.3723, allocations: 7.984 kB / 0.7747 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3723, allocations: 0 / 0.7747 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.3725, allocations: 27.91 kB / 0.7747 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3725, allocations: 4 kB / 0.7747 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004425/0.3729, allocations: 63.97 kB / 0.7748 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.31e-05/0.373, allocations: 47.92 kB / 0.7748 GB, free: 11.62 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.0001599/0.3732, allocations: 167.9 kB / 0.775 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.3732, allocations: 23.72 kB / 0.775 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.134e-05/0.3733, allocations: 26.3 kB / 0.775 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3733, allocations: 7.984 kB / 0.775 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.3733, allocations: 4 kB / 0.775 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.3735, allocations: 172.5 kB / 0.7752 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.451e-05/0.3736, allocations: 8 kB / 0.7752 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004431/0.374, allocations: 27.97 kB / 0.7752 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.3741, allocations: 15.92 kB / 0.7752 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001666/0.3757, allocations: 408.7 kB / 0.7756 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001692/0.3774, allocations: 0.5022 MB / 0.7761 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007536/0.3782, allocations: 115.1 kB / 0.7762 GB, free: 10.12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001702/0.3784, allocations: 205.9 kB / 0.7764 GB, free: 9.914 MB / 0.545 GB Notification: Performance of Backend: time 4.01e-07/0.3784, allocations: 0 / 0.7764 GB, free: 9.914 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006739/0.3791, allocations: 365 kB / 0.7768 GB, free: 9.523 MB / 0.545 GB Notification: Performance of SimCode: time 0.0006812/0.3798, allocations: 0.8032 MB / 0.7775 GB, free: 8.672 MB / 0.545 GB Notification: Performance of Templates: time 0.00599/0.3858, allocations: 3.741 MB / 0.7812 GB, free: 4.98 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)