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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.8245/0.8245, allocations: 143.4 MB / 159.2 MB, free: 4.934 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.001403/0.001403, allocations: 182.9 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.632/1.632, allocations: 222.9 MB / 447.3 MB, free: 5.84 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.001164/0.001164, allocations: 99.75 kB / 0.517 GB, free: 3.711 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001981/0.001981, allocations: 282.4 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 79.89 kB / 0.6885 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4197, allocations: 81.3 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002815/0.4225, allocations: 1.541 MB / 0.7694 GB, free: 26.11 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008537/0.4234, allocations: 440.3 kB / 0.7699 GB, free: 25.68 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.364e-05/0.4235, allocations: 4 kB / 0.7699 GB, free: 25.67 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.4236, allocations: 3.938 kB / 0.7699 GB, free: 25.67 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.4237, allocations: 28.22 kB / 0.7699 GB, free: 25.64 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005609/0.4243, allocations: 223 kB / 0.7701 GB, free: 25.43 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.4245, allocations: 280 kB / 0.7704 GB, free: 25.15 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.712e-05/0.4246, allocations: 7.984 kB / 0.7704 GB, free: 25.14 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.4248, allocations: 214.3 kB / 0.7706 GB, free: 24.94 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.425, allocations: 123.6 kB / 0.7707 GB, free: 24.82 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.881e-05/0.4251, allocations: 8 kB / 0.7707 GB, free: 24.81 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.391e-05/0.4251, allocations: 8 kB / 0.7707 GB, free: 24.8 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.963e-05/0.4252, allocations: 87.66 kB / 0.7708 GB, free: 24.71 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.4253, allocations: 119.4 kB / 0.7709 GB, free: 24.6 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.4256, allocations: 289.6 kB / 0.7712 GB, free: 24.32 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.4256, allocations: 0 / 0.7712 GB, free: 24.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4256, allocations: 0 / 0.7712 GB, free: 24.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.4256, allocations: 0 / 0.7712 GB, free: 24.32 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.0009772/0.4266, allocations: 0.692 MB / 0.7719 GB, free: 23.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.4266, allocations: 12.03 kB / 0.7719 GB, free: 23.54 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.518e-05/0.4267, allocations: 35.7 kB / 0.7719 GB, free: 23.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.427, allocations: 258.2 kB / 0.7722 GB, free: 23.21 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.4271, allocations: 15.98 kB / 0.7722 GB, free: 23.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.782e-05/0.4271, allocations: 20 kB / 0.7722 GB, free: 23.18 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.4274, allocations: 141.5 kB / 0.7723 GB, free: 23.04 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.4274, allocations: 7.875 kB / 0.7723 GB, free: 23.03 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.4274, allocations: 7.984 kB / 0.7723 GB, free: 23.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.4274, allocations: 0 / 0.7723 GB, free: 23.02 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.4276, allocations: 47.97 kB / 0.7724 GB, free: 22.97 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002769/0.4278, allocations: 309.4 kB / 0.7727 GB, free: 22.62 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.4281, allocations: 126.6 kB / 0.7728 GB, free: 22.49 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.4282, allocations: 60.83 kB / 0.7729 GB, free: 22.43 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.4282, allocations: 0 / 0.7729 GB, free: 22.43 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004404/0.4287, allocations: 229 kB / 0.7731 GB, free: 22.19 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.4287, allocations: 3.938 kB / 0.7731 GB, free: 22.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005035/0.4292, allocations: 269.1 kB / 0.7733 GB, free: 21.92 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.4292, allocations: 59.41 kB / 0.7734 GB, free: 21.85 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.4295, allocations: 298.9 kB / 0.7737 GB, free: 21.55 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.4295, allocations: 37.7 kB / 0.7737 GB, free: 21.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.103e-05/0.4296, allocations: 89.14 kB / 0.7738 GB, free: 21.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.445e-05/0.4296, allocations: 47.44 kB / 0.7738 GB, free: 21.37 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.4298, allocations: 105.7 kB / 0.7739 GB, free: 21.25 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.396e-05/0.4298, allocations: 322.8 kB / 0.7743 GB, free: 20.93 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.43, allocations: 96.17 kB / 0.7743 GB, free: 20.84 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.4302, allocations: 158.2 kB / 0.7745 GB, free: 20.66 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.4304, allocations: 245.2 kB / 0.7747 GB, free: 20.39 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4305, allocations: 0 / 0.7747 GB, free: 20.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005556/0.431, allocations: 419.1 kB / 0.7751 GB, free: 19.96 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/0.4311, allocations: 75.39 kB / 0.7752 GB, free: 19.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4311, allocations: 0 / 0.7752 GB, free: 19.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.4311, allocations: 7.938 kB / 0.7752 GB, free: 19.87 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.4313, allocations: 27.91 kB / 0.7752 GB, free: 19.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.4313, allocations: 4.188 kB / 0.7752 GB, free: 19.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004316/0.4317, allocations: 63.8 kB / 0.7753 GB, free: 19.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-05/0.4318, allocations: 59.92 kB / 0.7754 GB, free: 19.72 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.0001318/0.4319, allocations: 167.9 kB / 0.7755 GB, free: 19.55 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.432, allocations: 27.7 kB / 0.7755 GB, free: 19.52 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.618e-05/0.432, allocations: 30.25 kB / 0.7756 GB, free: 19.49 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.432, allocations: 7.938 kB / 0.7756 GB, free: 19.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.432, allocations: 0 / 0.7756 GB, free: 19.48 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.432, allocations: 0 / 0.7756 GB, free: 19.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006501/0.4327, allocations: 0.5621 MB / 0.7761 GB, free: 18.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4327, allocations: 0 / 0.7761 GB, free: 18.87 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/0.4328, allocations: 11.98 kB / 0.7761 GB, free: 18.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4328, allocations: 0 / 0.7761 GB, free: 18.86 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.4328, allocations: 11.98 kB / 0.7762 GB, free: 18.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4328, allocations: 4 kB / 0.7762 GB, free: 18.84 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4328, allocations: 0 / 0.7762 GB, free: 18.84 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005699/0.4334, allocations: 0.9395 MB / 0.7771 GB, free: 17.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.4336, allocations: 156.7 kB / 0.7772 GB, free: 17.67 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/0.4336, allocations: 11.98 kB / 0.7772 GB, free: 17.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.4338, allocations: 11.98 kB / 0.7772 GB, free: 17.65 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.4339, allocations: 19.97 kB / 0.7773 GB, free: 17.63 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/0.434, allocations: 27.98 kB / 0.7773 GB, free: 17.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002087/0.4342, allocations: 217.8 kB / 0.7775 GB, free: 17.39 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4342, allocations: 0 / 0.7775 GB, free: 17.39 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005943/0.4348, allocations: 52 kB / 0.7776 GB, free: 17.34 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.0001366/0.435, allocations: 113.5 kB / 0.7777 GB, free: 17.21 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006086/0.4356, allocations: 346.5 kB / 0.778 GB, free: 16.85 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4356, allocations: 4 kB / 0.778 GB, free: 16.85 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.4357, allocations: 71.91 kB / 0.7781 GB, free: 16.78 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.4361, allocations: 20.88 kB / 0.7781 GB, free: 16.76 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007127/0.4368, allocations: 0.6045 MB / 0.7787 GB, free: 16.12 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.437, allocations: 0.7438 MB / 0.7794 GB, free: 15.35 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001998/0.4372, allocations: 41.42 kB / 0.7794 GB, free: 15.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.4374, allocations: 39.42 kB / 0.7795 GB, free: 15.27 MB / 458.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4374, allocations: 0 / 0.7795 GB, free: 15.27 MB / 458.7 MB Notification: Performance of Templates: time 0.009828/0.4473, allocations: 4.144 MB / 0.7835 GB, free: 11.14 MB / 458.7 MB 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)