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.861/0.861, allocations: 141.8 MB / 149.3 MB, free: 9.242 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.001195/0.001195, allocations: 179.8 kB / 182.2 MB, free: 9.461 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.383/1.383, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.0009874/0.0009874, allocations: 84.12 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001888/0.001887, allocations: 287.3 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.553e-05/1.564e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3911, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1377/0.5289, allocations: 109.8 MB / 0.8646 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.5292, allocations: 75.83 kB / 0.8647 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01468/0.5439, allocations: 4.463 MB / 0.8691 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5439, allocations: 0 / 0.8691 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.502e-05/0.5439, allocations: 8 kB / 0.8691 GB, free: 13.48 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.0009626/0.5449, allocations: 0.5759 MB / 0.8696 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.545, allocations: 19.95 kB / 0.8696 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.5451, allocations: 31.62 kB / 0.8697 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.5454, allocations: 246.6 kB / 0.8699 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.5455, allocations: 7.953 kB / 0.8699 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-05/0.5456, allocations: 12 kB / 0.8699 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001445/0.5457, allocations: 43.98 kB / 0.87 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.546, allocations: 137.5 kB / 0.8701 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.546, allocations: 0 / 0.8701 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.546, allocations: 3.938 kB / 0.8701 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.546, allocations: 0 / 0.8701 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.5464, allocations: 309.8 kB / 0.8704 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.5466, allocations: 114.7 kB / 0.8705 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.5467, allocations: 56.84 kB / 0.8706 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.5468, allocations: 0 / 0.8706 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000378/0.5472, allocations: 215.5 kB / 0.8708 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 1.873e-06/0.5472, allocations: 0 / 0.8708 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.0004202/0.5476, allocations: 210.1 kB / 0.871 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.5477, allocations: 63.39 kB / 0.871 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.5479, allocations: 242.3 kB / 0.8713 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/0.548, allocations: 29.7 kB / 0.8713 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.142e-05/0.548, allocations: 93.44 kB / 0.8714 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.395e-05/0.5481, allocations: 43.45 kB / 0.8714 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.5482, allocations: 8 kB / 0.8714 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.5483, allocations: 318.8 kB / 0.8717 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.5485, allocations: 88.22 kB / 0.8718 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.5487, allocations: 138.1 kB / 0.8719 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.5488, allocations: 68.7 kB / 0.872 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.5488, allocations: 4 kB / 0.872 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000593/0.5494, allocations: 315.7 kB / 0.8723 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.978e-05/0.5495, allocations: 72.95 kB / 0.8724 GB, free: 9.809 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.5495, allocations: 11.7 kB / 0.8724 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.5496, allocations: 4.188 kB / 0.8724 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.5497, allocations: 31.91 kB / 0.8724 GB, free: 9.766 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.5497, allocations: 0 / 0.8724 GB, free: 9.766 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003986/0.5502, allocations: 51.81 kB / 0.8725 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.252e-05/0.5502, allocations: 47.98 kB / 0.8725 GB, free: 9.668 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.0001377/0.5504, allocations: 135.1 kB / 0.8727 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.5504, allocations: 27.7 kB / 0.8727 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.677e-05/0.5505, allocations: 26.03 kB / 0.8727 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.5505, allocations: 7.953 kB / 0.8727 GB, free: 9.469 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.5505, allocations: 0 / 0.8727 GB, free: 9.469 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.5505, allocations: 0 / 0.8727 GB, free: 9.469 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000717/0.5513, allocations: 0.5222 MB / 0.8732 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.5513, allocations: 0 / 0.8732 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.808e-05/0.5513, allocations: 11.98 kB / 0.8732 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.922e-06/0.5513, allocations: 7.953 kB / 0.8732 GB, free: 8.883 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.5514, allocations: 11.98 kB / 0.8733 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.5514, allocations: 0 / 0.8733 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.5514, allocations: 0 / 0.8733 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.5518, allocations: 300.6 kB / 0.8735 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.5519, allocations: 160.7 kB / 0.8737 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.471e-05/0.552, allocations: 15.89 kB / 0.8737 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.5522, allocations: 15.92 kB / 0.8737 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.5523, allocations: 19.97 kB / 0.8737 GB, free: 8.336 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-05/0.5523, allocations: 27.98 kB / 0.8738 GB, free: 8.309 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001646/0.5525, allocations: 194 kB / 0.874 GB, free: 8.117 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5525, allocations: 0 / 0.874 GB, free: 8.117 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003674/0.5529, allocations: 52.36 kB / 0.874 GB, free: 8.066 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.0001511/0.553, allocations: 113.5 kB / 0.8741 GB, free: 7.949 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000478/0.5535, allocations: 334.7 kB / 0.8744 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.5535, allocations: 0 / 0.8744 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.5536, allocations: 61.23 kB / 0.8745 GB, free: 7.539 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.5539, allocations: 20.88 kB / 0.8745 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005207/0.5544, allocations: 277.4 kB / 0.8748 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.5548, allocations: 0.7474 MB / 0.8755 GB, free: 6.453 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001453/0.5549, allocations: 29.22 kB / 0.8755 GB, free: 6.426 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.5551, allocations: 43.41 kB / 0.8756 GB, free: 6.383 MB / 0.5417 GB Notification: Performance of SimCode: time 3.71e-07/0.5551, allocations: 0 / 0.8756 GB, free: 6.383 MB / 0.5417 GB Notification: Performance of Templates: time 0.008139/0.5632, allocations: 4.133 MB / 0.8796 GB, free: 2.262 MB / 0.5417 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)