Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009805/0.0009806, allocations: 110.9 kB / 16.42 MB, free: 6.488 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.0009702/0.0009702, allocations: 186.7 kB / 17.35 MB, free: 5.727 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.241/1.241, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00203/0.00203, allocations: 288.5 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.9035/0.9035, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 95.84 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3693, allocations: 86.97 MB / 0.767 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002289/0.3716, allocations: 1.488 MB / 0.7685 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008215/0.3724, allocations: 431.6 kB / 0.7689 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.159e-05/0.3725, allocations: 0 / 0.7689 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.608e-05/0.3726, allocations: 7.875 kB / 0.7689 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.673e-05/0.3727, allocations: 28.22 kB / 0.7689 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005959/0.3733, allocations: 245.5 kB / 0.7692 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003279/0.3736, allocations: 327.5 kB / 0.7695 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.3736, allocations: 8 kB / 0.7695 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002493/0.3739, allocations: 199.6 kB / 0.7697 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.3741, allocations: 120.1 kB / 0.7698 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.204e-05/0.3742, allocations: 20 kB / 0.7698 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.966e-05/0.3743, allocations: 20 kB / 0.7698 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.794e-05/0.3744, allocations: 79.77 kB / 0.7699 GB, free: 1 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.3745, allocations: 123.3 kB / 0.77 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.3748, allocations: 293.3 kB / 0.7703 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3748, allocations: 0 / 0.7703 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.32e-07/0.3748, allocations: 4 kB / 0.7703 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3748, allocations: 0 / 0.7703 GB, free: 0.5938 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.0009687/0.3758, allocations: 0.7422 MB / 0.771 GB, free: 15.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.3758, allocations: 8.031 kB / 0.771 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.618e-05/0.3759, allocations: 36.64 kB / 0.7711 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.3762, allocations: 259.5 kB / 0.7713 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.717e-05/0.3762, allocations: 16.36 kB / 0.7713 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.659e-05/0.3763, allocations: 19.94 kB / 0.7714 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009486/0.3772, allocations: 204.5 kB / 0.7715 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.3772, allocations: 0 / 0.7715 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.3773, allocations: 3.984 kB / 0.7716 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.3773, allocations: 4 kB / 0.7716 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007659/0.378, allocations: 103.9 kB / 0.7717 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003112/0.3784, allocations: 313.3 kB / 0.772 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.3794, allocations: 174.4 kB / 0.7721 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007293/0.3801, allocations: 108.8 kB / 0.7722 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.3802, allocations: 4 kB / 0.7722 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008975/0.3811, allocations: 218.2 kB / 0.7724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.3811, allocations: 0 / 0.7724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002429/0.3835, allocations: 445 kB / 0.7729 GB, free: 13.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.3836, allocations: 63.39 kB / 0.7729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.3838, allocations: 290.9 kB / 0.7732 GB, free: 13.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.221e-05/0.3839, allocations: 37.7 kB / 0.7732 GB, free: 13.36 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.3839, allocations: 89.14 kB / 0.7733 GB, free: 13.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.384, allocations: 43.47 kB / 0.7734 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.3841, allocations: 93.48 kB / 0.7735 GB, free: 13.13 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3842, allocations: 330.8 kB / 0.7738 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.3844, allocations: 79.94 kB / 0.7738 GB, free: 12.72 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.3846, allocations: 132.4 kB / 0.774 GB, free: 12.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.3849, allocations: 239.3 kB / 0.7742 GB, free: 12.31 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.3849, allocations: 0 / 0.7742 GB, free: 12.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005689/0.3855, allocations: 396.5 kB / 0.7746 GB, free: 11.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.71e-05/0.3855, allocations: 75.56 kB / 0.7746 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3855, allocations: 4 kB / 0.7747 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3855, allocations: 7.938 kB / 0.7747 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.3857, allocations: 23.98 kB / 0.7747 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.3857, allocations: 0 / 0.7747 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000436/0.3862, allocations: 59.8 kB / 0.7747 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.575e-05/0.3862, allocations: 43.92 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.0001674/0.3864, allocations: 172 kB / 0.7749 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.3865, allocations: 31.64 kB / 0.775 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.464e-05/0.3865, allocations: 26.3 kB / 0.775 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3865, allocations: 0 / 0.775 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3865, allocations: 0 / 0.775 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.3867, allocations: 168.5 kB / 0.7752 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.071e-05/0.3867, allocations: 12 kB / 0.7752 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004553/0.3872, allocations: 35.95 kB / 0.7752 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-05/0.3872, allocations: 19.86 kB / 0.7752 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001651/0.3889, allocations: 396.7 kB / 0.7756 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001672/0.3906, allocations: 0.5094 MB / 0.7761 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007461/0.3913, allocations: 119.8 kB / 0.7762 GB, free: 10.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001674/0.3915, allocations: 209.9 kB / 0.7764 GB, free: 9.957 MB / 0.545 GB Notification: Performance of Backend: time 3.91e-07/0.3915, allocations: 0 / 0.7764 GB, free: 9.957 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006626/0.3922, allocations: 353.8 kB / 0.7768 GB, free: 9.578 MB / 0.545 GB Notification: Performance of SimCode: time 0.0007179/0.3929, allocations: 0.8065 MB / 0.7775 GB, free: 8.727 MB / 0.545 GB Notification: Performance of Templates: time 0.006108/0.399, allocations: 3.738 MB / 0.7812 GB, free: 5.031 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)