Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 177 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5031/0.5031, allocations: 90.91 MB / 99.34 MB, free: 2.188 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 221.5 MB / 343.2 MB, free: 1.574 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008284/0.0008283, allocations: 93.72 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.43e-05/1.432e-05, allocations: 0 / 494.5 MB, free: 52.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1269, allocations: 72.32 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4556/0.5825, allocations: 103.5 MB / 0.6546 GB, free: 6.711 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001644/0.5827, allocations: 76.27 kB / 0.6547 GB, free: 6.672 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0132/0.5959, allocations: 4.567 MB / 0.6592 GB, free: 2.754 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5959, allocations: 0 / 0.6592 GB, free: 2.754 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.5959, allocations: 4 kB / 0.6592 GB, free: 2.75 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.0006914/0.5966, allocations: 0.6296 MB / 0.6598 GB, free: 2.059 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.5967, allocations: 8.031 kB / 0.6598 GB, free: 2.051 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.492e-05/0.5968, allocations: 35.67 kB / 0.6598 GB, free: 2.016 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.5971, allocations: 255.3 kB / 0.6601 GB, free: 1.734 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/0.5972, allocations: 4 kB / 0.6601 GB, free: 1.73 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.072e-05/0.5972, allocations: 15.98 kB / 0.6601 GB, free: 1.715 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001151/0.5973, allocations: 47.3 kB / 0.6601 GB, free: 1.684 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.5976, allocations: 137.5 kB / 0.6603 GB, free: 1.566 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.5976, allocations: 8 kB / 0.6603 GB, free: 1.559 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.5976, allocations: 0 / 0.6603 GB, free: 1.559 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.5976, allocations: 7.953 kB / 0.6603 GB, free: 1.551 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.598, allocations: 300 kB / 0.6606 GB, free: 1.27 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.5981, allocations: 96.69 kB / 0.6607 GB, free: 1.195 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.714e-05/0.5982, allocations: 54.91 kB / 0.6607 GB, free: 1.152 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.5983, allocations: 11.98 kB / 0.6607 GB, free: 1.141 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000207/0.5985, allocations: 161.9 kB / 0.6609 GB, free: 1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.5985, allocations: 0 / 0.6609 GB, free: 1 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004184/0.5989, allocations: 244.3 kB / 0.6611 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.5989, allocations: 63.28 kB / 0.6612 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.5992, allocations: 241.2 kB / 0.6614 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.423e-05/0.5992, allocations: 29.7 kB / 0.6614 GB, free: 500 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.141e-05/0.5993, allocations: 96.53 kB / 0.6615 GB, free: 404 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.5993, allocations: 37.98 kB / 0.6616 GB, free: 372 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.5994, allocations: 4 kB / 0.6616 GB, free: 368 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.5995, allocations: 329.7 kB / 0.6619 GB, free: 36 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.5996, allocations: 70.78 kB / 0.6619 GB, free: 15.99 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.5998, allocations: 127.5 kB / 0.6621 GB, free: 15.88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.5999, allocations: 75.39 kB / 0.6621 GB, free: 15.82 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6, allocations: 0 / 0.6621 GB, free: 15.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000485/0.6005, allocations: 296 kB / 0.6624 GB, free: 15.58 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.423e-05/0.6005, allocations: 74.7 kB / 0.6625 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6005, allocations: 192 / 0.6625 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.6006, allocations: 11.98 kB / 0.6625 GB, free: 15.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.6007, allocations: 24.67 kB / 0.6625 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.6007, allocations: 0 / 0.6625 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.601, allocations: 43.81 kB / 0.6626 GB, free: 15.42 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.33e-05/0.6011, allocations: 39.92 kB / 0.6626 GB, free: 15.39 MB / 474.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: 24 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$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 (26): * Single equations (assignments): 24 * 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.0001207/0.6012, allocations: 130.8 kB / 0.6627 GB, free: 15.26 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.6013, allocations: 27.67 kB / 0.6628 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.796e-05/0.6013, allocations: 25.89 kB / 0.6628 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.6014, allocations: 4 kB / 0.6628 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.6014, allocations: 3.938 kB / 0.6628 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.6014, allocations: 0 / 0.6628 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006777/0.6021, allocations: 0.5628 MB / 0.6633 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6021, allocations: 0 / 0.6633 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.6021, allocations: 11.98 kB / 0.6634 GB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.6021, allocations: 0 / 0.6634 GB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.6022, allocations: 11.98 kB / 0.6634 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.6022, allocations: 0 / 0.6634 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.6022, allocations: 3.984 kB / 0.6634 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003533/0.6025, allocations: 336.9 kB / 0.6637 GB, free: 14.33 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.6027, allocations: 168.8 kB / 0.6638 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.755e-05/0.6028, allocations: 7.5 kB / 0.6639 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.6032, allocations: 35.97 kB / 0.6639 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.6032, allocations: 15.48 kB / 0.6639 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-05/0.6033, allocations: 39.98 kB / 0.6639 GB, free: 14.07 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00016/0.6034, allocations: 196.2 kB / 0.6641 GB, free: 13.91 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6034, allocations: 0 / 0.6641 GB, free: 13.91 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002962/0.6037, allocations: 44 kB / 0.6642 GB, free: 13.87 MB / 474.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: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.0001513/0.6039, allocations: 118.5 kB / 0.6643 GB, free: 13.75 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004177/0.6043, allocations: 319.2 kB / 0.6646 GB, free: 13.48 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6043, allocations: 0 / 0.6646 GB, free: 13.48 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.016e-05/0.6044, allocations: 66.03 kB / 0.6647 GB, free: 13.43 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.6047, allocations: 8.656 kB / 0.6647 GB, free: 13.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004565/0.6051, allocations: 275.9 kB / 0.6649 GB, free: 13.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.6055, allocations: 0.7445 MB / 0.6657 GB, free: 12.39 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 6.026e-05/0.6055, allocations: 20.75 kB / 0.6657 GB, free: 12.38 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.537e-05/0.6056, allocations: 18.94 kB / 0.6657 GB, free: 12.36 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6056, allocations: 0 / 0.6657 GB, free: 12.36 MB / 474.7 MB Notification: Performance of Templates: time 0.00646/0.6121, allocations: 3.756 MB / 0.6694 GB, free: 8.617 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)