Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7449/0.7449, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 184.5 kB / 187.3 MB, free: 11.88 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.52/1.52, allocations: 221.3 MB / 441.4 MB, free: 4.621 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.001136/0.001136, allocations: 98.81 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001831/0.001831, allocations: 275.9 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.631e-05/4.634e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.4627, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1273/0.59, allocations: 110.5 MB / 0.8722 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.5903, allocations: 71.84 kB / 0.8722 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01327/0.6036, allocations: 4.494 MB / 0.8766 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6037, allocations: 0 / 0.8766 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.6037, allocations: 4 kB / 0.8766 GB, free: 9.5 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.000858/0.6046, allocations: 0.5789 MB / 0.8772 GB, free: 8.852 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.6046, allocations: 8.031 kB / 0.8772 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.6047, allocations: 39.56 kB / 0.8772 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.6051, allocations: 238.7 kB / 0.8775 GB, free: 8.531 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/0.6051, allocations: 19.89 kB / 0.8775 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.574e-05/0.6052, allocations: 19.98 kB / 0.8775 GB, free: 8.492 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.6055, allocations: 133.5 kB / 0.8776 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.6055, allocations: 3.984 kB / 0.8776 GB, free: 8.352 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.6055, allocations: 8 kB / 0.8777 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.6055, allocations: 3.938 kB / 0.8777 GB, free: 8.34 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.6057, allocations: 47.98 kB / 0.8777 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.606, allocations: 329.2 kB / 0.878 GB, free: 7.922 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.6063, allocations: 134.6 kB / 0.8781 GB, free: 7.781 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.6064, allocations: 60.8 kB / 0.8782 GB, free: 7.719 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.6065, allocations: 4.375 kB / 0.8782 GB, free: 7.715 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004007/0.6069, allocations: 220.7 kB / 0.8784 GB, free: 7.488 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.6069, allocations: 0 / 0.8784 GB, free: 7.488 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.0004347/0.6073, allocations: 210.5 kB / 0.8786 GB, free: 7.277 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.6074, allocations: 75.3 kB / 0.8787 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.6076, allocations: 247.4 kB / 0.8789 GB, free: 6.945 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.428e-05/0.6077, allocations: 37.7 kB / 0.879 GB, free: 6.902 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.018e-05/0.6078, allocations: 93.12 kB / 0.879 GB, free: 6.809 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.926e-05/0.6078, allocations: 43.5 kB / 0.8791 GB, free: 6.766 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.6079, allocations: 8 kB / 0.8791 GB, free: 6.758 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.608, allocations: 322.8 kB / 0.8794 GB, free: 6.434 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.6082, allocations: 92.22 kB / 0.8795 GB, free: 6.34 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.6085, allocations: 158.4 kB / 0.8796 GB, free: 6.164 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.6087, allocations: 150.7 kB / 0.8798 GB, free: 6.004 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6087, allocations: 7.938 kB / 0.8798 GB, free: 5.996 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006797/0.6094, allocations: 415 kB / 0.8802 GB, free: 5.574 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.652e-05/0.6095, allocations: 71.39 kB / 0.8803 GB, free: 5.492 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.6095, allocations: 0 / 0.8803 GB, free: 5.492 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.6095, allocations: 4 kB / 0.8803 GB, free: 5.488 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.6097, allocations: 31.91 kB / 0.8803 GB, free: 5.457 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/0.6097, allocations: 4 kB / 0.8803 GB, free: 5.453 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/0.6101, allocations: 52.06 kB / 0.8803 GB, free: 5.402 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.91e-05/0.6102, allocations: 47.98 kB / 0.8804 GB, free: 5.355 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.0001299/0.6103, allocations: 135.1 kB / 0.8805 GB, free: 5.219 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.6104, allocations: 27.67 kB / 0.8805 GB, free: 5.191 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.796e-05/0.6104, allocations: 38.03 kB / 0.8806 GB, free: 5.152 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.6104, allocations: 0 / 0.8806 GB, free: 5.152 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6104, allocations: 0 / 0.8806 GB, free: 5.152 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.6105, allocations: 0 / 0.8806 GB, free: 5.152 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007746/0.6112, allocations: 0.5574 MB / 0.8811 GB, free: 4.539 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.6112, allocations: 0 / 0.8811 GB, free: 4.539 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.6113, allocations: 11.98 kB / 0.8811 GB, free: 4.527 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6113, allocations: 0 / 0.8811 GB, free: 4.527 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.6113, allocations: 11.98 kB / 0.8812 GB, free: 4.516 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.6113, allocations: 4 kB / 0.8812 GB, free: 4.512 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6114, allocations: 7.938 kB / 0.8812 GB, free: 4.504 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/0.6118, allocations: 316.6 kB / 0.8815 GB, free: 4.18 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.6119, allocations: 152.7 kB / 0.8816 GB, free: 4.012 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.478e-05/0.612, allocations: 8 kB / 0.8816 GB, free: 4.004 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.6122, allocations: 15.98 kB / 0.8816 GB, free: 3.988 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.6122, allocations: 19.95 kB / 0.8817 GB, free: 3.969 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/0.6123, allocations: 31.98 kB / 0.8817 GB, free: 3.938 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001846/0.6125, allocations: 207.1 kB / 0.8819 GB, free: 3.73 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6125, allocations: 0 / 0.8819 GB, free: 3.73 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002928/0.6128, allocations: 55.98 kB / 0.8819 GB, free: 3.676 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.0001685/0.613, allocations: 120.3 kB / 0.882 GB, free: 3.551 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005406/0.6135, allocations: 344 kB / 0.8824 GB, free: 3.191 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6135, allocations: 384 / 0.8824 GB, free: 3.191 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.6137, allocations: 71.92 kB / 0.8824 GB, free: 3.121 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.6139, allocations: 21.89 kB / 0.8825 GB, free: 3.098 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005254/0.6144, allocations: 280.6 kB / 0.8827 GB, free: 2.801 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.6148, allocations: 0.7555 MB / 0.8835 GB, free: 2.02 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001342/0.6149, allocations: 33.2 kB / 0.8835 GB, free: 1.984 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.6151, allocations: 35.42 kB / 0.8835 GB, free: 1.949 MB / 0.5417 GB Notification: Performance of SimCode: time 2.575e-06/0.6151, allocations: 0 / 0.8835 GB, free: 1.949 MB / 0.5417 GB Notification: Performance of Templates: time 0.007407/0.6225, allocations: 4.312 MB / 0.8877 GB, free: 13.64 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)