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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8415/0.8415, allocations: 143.4 MB / 159.2 MB, free: 4.867 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 176.5 kB / 191.9 MB, free: 5.746 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 222.9 MB / 447.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 103.7 kB / 0.517 GB, free: 3.727 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001911/0.001911, allocations: 274 kB / 0.5973 GB, free: 49.41 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 75.89 kB / 0.6885 GB, free: 3.871 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4221, allocations: 81.29 MB / 0.7679 GB, free: 27.69 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002627/0.4248, allocations: 1.538 MB / 0.7694 GB, free: 26.15 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008888/0.4257, allocations: 439.3 kB / 0.7698 GB, free: 25.71 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.487e-05/0.4258, allocations: 0 / 0.7698 GB, free: 25.71 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.4259, allocations: 4 kB / 0.7698 GB, free: 25.71 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.426, allocations: 24.22 kB / 0.7699 GB, free: 25.69 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005426/0.4266, allocations: 226.6 kB / 0.7701 GB, free: 25.47 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.4268, allocations: 287.9 kB / 0.7703 GB, free: 25.19 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.52e-05/0.4268, allocations: 4 kB / 0.7704 GB, free: 25.18 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.427, allocations: 218.3 kB / 0.7706 GB, free: 24.97 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.4272, allocations: 115.6 kB / 0.7707 GB, free: 24.86 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.196e-05/0.4273, allocations: 19.98 kB / 0.7707 GB, free: 24.84 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.636e-05/0.4274, allocations: 8 kB / 0.7707 GB, free: 24.83 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.148e-05/0.4275, allocations: 75.73 kB / 0.7708 GB, free: 24.76 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.4276, allocations: 119.3 kB / 0.7709 GB, free: 24.64 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.4279, allocations: 289.7 kB / 0.7712 GB, free: 24.36 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.4279, allocations: 0 / 0.7712 GB, free: 24.36 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4279, allocations: 3.938 kB / 0.7712 GB, free: 24.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.4279, allocations: 0 / 0.7712 GB, free: 24.36 MB / 458.7 MB 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.001102/0.429, allocations: 0.6998 MB / 0.7718 GB, free: 23.58 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.4291, allocations: 15.97 kB / 0.7719 GB, free: 23.57 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.4292, allocations: 27.72 kB / 0.7719 GB, free: 23.54 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.4295, allocations: 262.2 kB / 0.7721 GB, free: 23.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.4295, allocations: 12 kB / 0.7722 GB, free: 23.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.346e-05/0.4296, allocations: 16 kB / 0.7722 GB, free: 23.22 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.4298, allocations: 142.9 kB / 0.7723 GB, free: 23.07 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.4299, allocations: 3.938 kB / 0.7723 GB, free: 23.07 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.4299, allocations: 7.984 kB / 0.7723 GB, free: 23.06 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.4299, allocations: 0 / 0.7723 GB, free: 23.06 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.43, allocations: 55.91 kB / 0.7724 GB, free: 23.01 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.4303, allocations: 301.4 kB / 0.7727 GB, free: 22.66 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.4306, allocations: 126.7 kB / 0.7728 GB, free: 22.53 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.4307, allocations: 56.83 kB / 0.7728 GB, free: 22.47 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/0.4307, allocations: 7.938 kB / 0.7728 GB, free: 22.46 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005422/0.4313, allocations: 225.2 kB / 0.7731 GB, free: 22.23 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.402e-06/0.4313, allocations: 0 / 0.7731 GB, free: 22.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005738/0.4319, allocations: 270.2 kB / 0.7733 GB, free: 21.96 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.4319, allocations: 67.38 kB / 0.7734 GB, free: 21.89 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.4322, allocations: 294.8 kB / 0.7737 GB, free: 21.59 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.4322, allocations: 41.7 kB / 0.7737 GB, free: 21.54 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.4323, allocations: 89.12 kB / 0.7738 GB, free: 21.45 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.673e-05/0.4323, allocations: 47.45 kB / 0.7738 GB, free: 21.41 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.4325, allocations: 97.72 kB / 0.7739 GB, free: 21.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.4326, allocations: 322.8 kB / 0.7742 GB, free: 20.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.4328, allocations: 100.2 kB / 0.7743 GB, free: 20.88 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.433, allocations: 158 kB / 0.7745 GB, free: 20.71 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.4333, allocations: 247.1 kB / 0.7747 GB, free: 20.43 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4333, allocations: 0 / 0.7747 GB, free: 20.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005463/0.4339, allocations: 421.7 kB / 0.7751 GB, free: 20 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.218e-05/0.4339, allocations: 71.39 kB / 0.7752 GB, free: 19.92 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.434, allocations: 0 / 0.7752 GB, free: 19.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.434, allocations: 12.12 kB / 0.7752 GB, free: 19.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.4341, allocations: 31.91 kB / 0.7752 GB, free: 19.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.4342, allocations: 4 kB / 0.7752 GB, free: 19.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004469/0.4346, allocations: 59.8 kB / 0.7753 GB, free: 19.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.203e-05/0.4347, allocations: 47.98 kB / 0.7753 GB, free: 19.77 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (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,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001421/0.4348, allocations: 187.9 kB / 0.7755 GB, free: 19.58 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.4349, allocations: 23.72 kB / 0.7755 GB, free: 19.55 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.485e-05/0.4349, allocations: 26.25 kB / 0.7756 GB, free: 19.53 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.4349, allocations: 7.938 kB / 0.7756 GB, free: 19.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4349, allocations: 3.938 kB / 0.7756 GB, free: 19.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4349, allocations: 0 / 0.7756 GB, free: 19.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006504/0.4356, allocations: 0.5582 MB / 0.7761 GB, free: 18.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4356, allocations: 0 / 0.7761 GB, free: 18.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.4357, allocations: 15.98 kB / 0.7761 GB, free: 18.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4357, allocations: 0 / 0.7761 GB, free: 18.89 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.4357, allocations: 15.98 kB / 0.7761 GB, free: 18.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4357, allocations: 0 / 0.7761 GB, free: 18.88 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4357, allocations: 0 / 0.7761 GB, free: 18.88 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005601/0.4363, allocations: 0.935 MB / 0.7771 GB, free: 17.88 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.4364, allocations: 152.7 kB / 0.7772 GB, free: 17.71 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.692e-05/0.4365, allocations: 12 kB / 0.7772 GB, free: 17.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.4367, allocations: 11.98 kB / 0.7772 GB, free: 17.69 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.4367, allocations: 19.91 kB / 0.7772 GB, free: 17.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.4368, allocations: 31.98 kB / 0.7773 GB, free: 17.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001434/0.4369, allocations: 213.9 kB / 0.7775 GB, free: 17.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4369, allocations: 0 / 0.7775 GB, free: 17.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003999/0.4373, allocations: 44 kB / 0.7775 GB, free: 17.39 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001367/0.4375, allocations: 125.4 kB / 0.7776 GB, free: 17.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004739/0.438, allocations: 348.5 kB / 0.778 GB, free: 16.89 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.438, allocations: 0 / 0.778 GB, free: 16.89 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.4381, allocations: 67.91 kB / 0.778 GB, free: 16.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.4385, allocations: 31.62 kB / 0.7781 GB, free: 16.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006916/0.4392, allocations: 0.6035 MB / 0.7787 GB, free: 16.16 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001695/0.4394, allocations: 0.7516 MB / 0.7794 GB, free: 15.38 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.4395, allocations: 33.42 kB / 0.7794 GB, free: 15.34 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.4396, allocations: 39.42 kB / 0.7795 GB, free: 15.3 MB / 458.7 MB Notification: Performance of SimCode: time 7.32e-07/0.4396, allocations: 0 / 0.7795 GB, free: 15.3 MB / 458.7 MB Notification: Performance of Templates: time 0.006409/0.446, allocations: 4.139 MB / 0.7835 GB, free: 11.19 MB / 458.7 MB 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)