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.7864/0.7864, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001071/0.001071, allocations: 176.9 kB / 182.2 MB, free: 9.453 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.353/1.353, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.001118/0.001117, allocations: 96.03 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001847/0.001847, allocations: 280.7 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.437e-05/1.441e-05, allocations: 4 kB / 0.6765 GB, free: 12.86 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3487, allocations: 82.77 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1352/0.4839, allocations: 109.8 MB / 0.8646 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.4841, allocations: 75.81 kB / 0.8646 GB, free: 2.039 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01377/0.4979, allocations: 4.444 MB / 0.869 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4979, allocations: 4 kB / 0.869 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.498, allocations: 4 kB / 0.869 GB, free: 13.58 MB / 0.5417 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.00079/0.4988, allocations: 0.5788 MB / 0.8696 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.4988, allocations: 8.031 kB / 0.8696 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.896e-05/0.4989, allocations: 31.62 kB / 0.8696 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.4993, allocations: 258.5 kB / 0.8698 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.4993, allocations: 11.95 kB / 0.8699 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.064e-05/0.4994, allocations: 20 kB / 0.8699 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001196/0.4995, allocations: 43.98 kB / 0.8699 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.4997, allocations: 135.5 kB / 0.87 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.4997, allocations: 0 / 0.87 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.4998, allocations: 0 / 0.87 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.4998, allocations: 4 kB / 0.87 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.5001, allocations: 301.8 kB / 0.8703 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.5003, allocations: 122.7 kB / 0.8704 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.429e-05/0.5004, allocations: 48.84 kB / 0.8705 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.5005, allocations: 0 / 0.8705 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003819/0.5008, allocations: 215.5 kB / 0.8707 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.5009, allocations: 0 / 0.8707 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.0003971/0.5013, allocations: 211.5 kB / 0.8709 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.5013, allocations: 59.39 kB / 0.871 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.5015, allocations: 242.3 kB / 0.8712 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/0.5016, allocations: 33.7 kB / 0.8712 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.219e-05/0.5017, allocations: 93.38 kB / 0.8713 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.95e-05/0.5017, allocations: 51.44 kB / 0.8714 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.5018, allocations: 8 kB / 0.8714 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.5019, allocations: 322.8 kB / 0.8717 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.5021, allocations: 84.2 kB / 0.8718 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.5023, allocations: 134.2 kB / 0.8719 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.5024, allocations: 78.52 kB / 0.872 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.5024, allocations: 0 / 0.872 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005645/0.503, allocations: 318.1 kB / 0.8723 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.403e-05/0.5031, allocations: 75.39 kB / 0.8723 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.5031, allocations: 8.141 kB / 0.8723 GB, free: 9.887 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.5031, allocations: 4 kB / 0.8723 GB, free: 9.883 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.5033, allocations: 27.91 kB / 0.8724 GB, free: 9.855 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.5033, allocations: 4 kB / 0.8724 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/0.5037, allocations: 43.81 kB / 0.8724 GB, free: 9.809 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.423e-05/0.5038, allocations: 55.98 kB / 0.8725 GB, free: 9.754 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.5039, allocations: 131.1 kB / 0.8726 GB, free: 9.621 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.504, allocations: 23.72 kB / 0.8726 GB, free: 9.598 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.394e-05/0.504, allocations: 30.03 kB / 0.8726 GB, free: 9.566 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.504, allocations: 3.953 kB / 0.8727 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.5041, allocations: 0 / 0.8727 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.5041, allocations: 0 / 0.8727 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000669/0.5047, allocations: 0.5144 MB / 0.8732 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.5048, allocations: 11.92 kB / 0.8732 GB, free: 8.992 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.876e-05/0.5048, allocations: 4 kB / 0.8732 GB, free: 8.988 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.5048, allocations: 3.953 kB / 0.8732 GB, free: 8.984 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.5049, allocations: 15.98 kB / 0.8732 GB, free: 8.969 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.5049, allocations: 0 / 0.8732 GB, free: 8.969 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.5049, allocations: 0 / 0.8732 GB, free: 8.969 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.5052, allocations: 304.8 kB / 0.8735 GB, free: 8.656 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.5054, allocations: 156.7 kB / 0.8736 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.947e-05/0.5055, allocations: 11.94 kB / 0.8736 GB, free: 8.473 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.5057, allocations: 16 kB / 0.8737 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/0.5057, allocations: 15.97 kB / 0.8737 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/0.5058, allocations: 31.98 kB / 0.8737 GB, free: 8.41 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001661/0.506, allocations: 198 kB / 0.8739 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.874e-06/0.506, allocations: 0 / 0.8739 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003175/0.5063, allocations: 52.31 kB / 0.8739 GB, free: 8.164 MB / 0.5417 GB 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001337/0.5064, allocations: 115.2 kB / 0.874 GB, free: 8.043 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004672/0.5069, allocations: 328.3 kB / 0.8744 GB, free: 7.699 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5069, allocations: 3.938 kB / 0.8744 GB, free: 7.695 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.507, allocations: 59.98 kB / 0.8744 GB, free: 7.637 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.5073, allocations: 20.81 kB / 0.8744 GB, free: 7.613 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/0.5078, allocations: 277.4 kB / 0.8747 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/0.5083, allocations: 0.7474 MB / 0.8754 GB, free: 6.551 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001562/0.5085, allocations: 41.2 kB / 0.8755 GB, free: 6.512 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.5086, allocations: 35.36 kB / 0.8755 GB, free: 6.477 MB / 0.5417 GB Notification: Performance of SimCode: time 2.91e-07/0.5086, allocations: 0 / 0.8755 GB, free: 6.477 MB / 0.5417 GB Notification: Performance of Templates: time 0.007655/0.5163, allocations: 4.138 MB / 0.8796 GB, free: 2.355 MB / 0.5417 GB 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)