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.001189/0.00119, 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.001162/0.001162, 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.23/1.23, 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.002034/0.002034, allocations: 290.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.892/0.892, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 91.86 kB / 0.6821 GB, free: 7.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3638, allocations: 86.97 MB / 0.767 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002341/0.3661, allocations: 1.492 MB / 0.7685 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000898/0.3671, allocations: 429.1 kB / 0.7689 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.759e-05/0.3671, allocations: 0 / 0.7689 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.062e-05/0.3672, allocations: 7.875 kB / 0.7689 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.503e-05/0.3674, allocations: 28.22 kB / 0.7689 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006474/0.3681, allocations: 249.5 kB / 0.7692 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003442/0.3684, allocations: 327.5 kB / 0.7695 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.3685, allocations: 8 kB / 0.7695 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002621/0.3687, allocations: 199.6 kB / 0.7697 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.369, allocations: 112.1 kB / 0.7698 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.777e-05/0.3691, allocations: 20 kB / 0.7698 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.946e-05/0.3691, allocations: 20 kB / 0.7698 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.497e-05/0.3692, allocations: 87.69 kB / 0.7699 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.3694, allocations: 127.4 kB / 0.77 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.3696, allocations: 289.3 kB / 0.7703 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3696, allocations: 0 / 0.7703 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3697, allocations: 0 / 0.7703 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.3697, allocations: 0 / 0.7703 GB, free: 0.6133 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.001008/0.3707, allocations: 0.7384 MB / 0.771 GB, free: 15.79 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.3707, allocations: 11.97 kB / 0.771 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.445e-05/0.3708, allocations: 36.64 kB / 0.7711 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.3711, allocations: 263.5 kB / 0.7713 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.3712, allocations: 16.36 kB / 0.7713 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.839e-05/0.3713, allocations: 23.94 kB / 0.7714 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009541/0.3722, allocations: 196.2 kB / 0.7715 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3722, allocations: 3.984 kB / 0.7716 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.3723, allocations: 4 kB / 0.7716 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3723, allocations: 4 kB / 0.7716 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007677/0.3731, allocations: 95.92 kB / 0.7716 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.3734, allocations: 325.3 kB / 0.772 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.3745, allocations: 170.4 kB / 0.7721 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007407/0.3753, allocations: 108.8 kB / 0.7722 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.3753, allocations: 4 kB / 0.7722 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009633/0.3763, allocations: 218.1 kB / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.3763, allocations: 0 / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.00243/0.3787, allocations: 449 kB / 0.7729 GB, free: 13.78 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.3788, allocations: 63.33 kB / 0.7729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.379, allocations: 294.9 kB / 0.7732 GB, free: 13.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/0.3791, allocations: 33.7 kB / 0.7732 GB, free: 13.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.3792, allocations: 93.12 kB / 0.7733 GB, free: 13.28 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.42e-05/0.3792, allocations: 39.55 kB / 0.7734 GB, free: 13.24 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.3794, allocations: 93.48 kB / 0.7735 GB, free: 13.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.3795, allocations: 326.8 kB / 0.7738 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.3797, allocations: 83.94 kB / 0.7738 GB, free: 12.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.3799, allocations: 132.4 kB / 0.774 GB, free: 12.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.3802, allocations: 235.3 kB / 0.7742 GB, free: 12.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3802, allocations: 4 kB / 0.7742 GB, free: 12.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005936/0.3808, allocations: 396.7 kB / 0.7746 GB, free: 11.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.299e-05/0.3809, allocations: 79.38 kB / 0.7747 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3809, allocations: 4 kB / 0.7747 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3809, allocations: 0 / 0.7747 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.3811, allocations: 23.92 kB / 0.7747 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3811, allocations: 4 kB / 0.7747 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000444/0.3815, allocations: 59.73 kB / 0.7747 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.745e-05/0.3816, allocations: 40.02 kB / 0.7748 GB, free: 11.7 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.0001686/0.3818, allocations: 171.9 kB / 0.7749 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.3818, allocations: 27.7 kB / 0.775 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.208e-05/0.3819, allocations: 26.3 kB / 0.775 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3819, allocations: 0 / 0.775 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3819, allocations: 4 kB / 0.775 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.3821, allocations: 164.6 kB / 0.7752 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.025e-05/0.3821, allocations: 15.92 kB / 0.7752 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004463/0.3826, allocations: 35.97 kB / 0.7752 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.3827, allocations: 11.92 kB / 0.7752 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001686/0.3843, allocations: 408.7 kB / 0.7756 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001712/0.3861, allocations: 0.5055 MB / 0.7761 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007489/0.3868, allocations: 115.9 kB / 0.7762 GB, free: 10.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000173/0.387, allocations: 209.9 kB / 0.7764 GB, free: 9.977 MB / 0.545 GB Notification: Performance of Backend: time 1.864e-06/0.387, allocations: 0 / 0.7764 GB, free: 9.977 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006878/0.3877, allocations: 359.3 kB / 0.7768 GB, free: 9.594 MB / 0.545 GB Notification: Performance of SimCode: time 0.0007616/0.3885, allocations: 0.8008 MB / 0.7775 GB, free: 8.746 MB / 0.545 GB Notification: Performance of Templates: time 0.006896/0.3954, allocations: 3.744 MB / 0.7812 GB, free: 5.047 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)