Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.294/1.294, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001097, allocations: 182.3 kB / 327.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.4 MB / 0.5785 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009191/0.0009191, allocations: 96.86 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003589, allocations: 10.03 kB / 0.7974 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2087, allocations: 106.3 MB / 0.9012 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1679/0.3766, allocations: 133.6 MB / 1.032 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.377, allocations: 75.95 kB / 1.032 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01291/0.3899, allocations: 4.475 MB / 1.036 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3899, allocations: 4 kB / 1.036 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.39, allocations: 0 / 1.036 GB, free: 5.379 MB / 0.6823 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.0009176/0.3909, allocations: 0.6165 MB / 1.037 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3909, allocations: 16.02 kB / 1.037 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.91e-05/0.391, allocations: 32.66 kB / 1.037 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.3914, allocations: 267.5 kB / 1.037 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/0.3914, allocations: 4.375 kB / 1.037 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.572e-05/0.3915, allocations: 24.36 kB / 1.037 GB, free: 4.312 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.3918, allocations: 150 kB / 1.037 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3918, allocations: 4.125 kB / 1.037 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.3918, allocations: 7.922 kB / 1.037 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.3918, allocations: 0 / 1.037 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.392, allocations: 47.98 kB / 1.037 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.3924, allocations: 329.3 kB / 1.038 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.3926, allocations: 126.7 kB / 1.038 GB, free: 3.598 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.3927, allocations: 60.83 kB / 1.038 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.3928, allocations: 0 / 1.038 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004062/0.3932, allocations: 215.5 kB / 1.038 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 3.256e-06/0.3932, allocations: 4 kB / 1.038 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0005492/0.3938, allocations: 272 kB / 1.038 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.3938, allocations: 59.39 kB / 1.038 GB, free: 2.969 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.3941, allocations: 294.9 kB / 1.039 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.264e-05/0.3942, allocations: 41.69 kB / 1.039 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.3942, allocations: 89.14 kB / 1.039 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/0.3943, allocations: 35.55 kB / 1.039 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.3943, allocations: 8 kB / 1.039 GB, free: 2.488 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3944, allocations: 326.8 kB / 1.039 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.3947, allocations: 100.2 kB / 1.039 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/0.395, allocations: 162.3 kB / 1.039 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.3953, allocations: 244.4 kB / 1.04 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.3954, allocations: 0 / 1.04 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007393/0.3961, allocations: 424.6 kB / 1.04 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.204e-05/0.3962, allocations: 71.39 kB / 1.04 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.3962, allocations: 4 kB / 1.04 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3962, allocations: 3.938 kB / 1.04 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.3964, allocations: 36.09 kB / 1.04 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.3964, allocations: 7.938 kB / 1.04 GB, free: 1.043 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/0.3967, allocations: 51.81 kB / 1.04 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.261e-05/0.3968, allocations: 47.98 kB / 1.04 GB, free: 0.9453 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001775/0.397, allocations: 172 kB / 1.04 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.397, allocations: 39.59 kB / 1.04 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.689e-05/0.3971, allocations: 26.25 kB / 1.04 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3971, allocations: 7.938 kB / 1.04 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3971, allocations: 3.938 kB / 1.04 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3971, allocations: 0 / 1.04 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007228/0.3979, allocations: 0.5452 MB / 1.041 GB, free: 96 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.3979, allocations: 3.938 kB / 1.041 GB, free: 92 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.35e-05/0.3979, allocations: 11.94 kB / 1.041 GB, free: 80 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3979, allocations: 0 / 1.041 GB, free: 80 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.398, allocations: 23.97 kB / 1.041 GB, free: 56 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.398, allocations: 3.938 kB / 1.041 GB, free: 52 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.398, allocations: 0 / 1.041 GB, free: 52 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.3984, allocations: 311.1 kB / 1.041 GB, free: 15.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.3986, allocations: 164.5 kB / 1.041 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.7e-05/0.3986, allocations: 8 kB / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.3988, allocations: 15.98 kB / 1.041 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.3989, allocations: 19.97 kB / 1.041 GB, free: 15.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/0.3989, allocations: 27.98 kB / 1.041 GB, free: 15.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001839/0.3991, allocations: 209.9 kB / 1.042 GB, free: 15.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3991, allocations: 0 / 1.042 GB, free: 15.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003149/0.3994, allocations: 48 kB / 1.042 GB, free: 15.23 MB / 0.698 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) * 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 (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.0001584/0.3996, allocations: 119.2 kB / 1.042 GB, free: 15.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005645/0.4002, allocations: 352.8 kB / 1.042 GB, free: 14.73 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4002, allocations: 0 / 1.042 GB, free: 14.73 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.4003, allocations: 67.97 kB / 1.042 GB, free: 14.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.4007, allocations: 32.56 kB / 1.042 GB, free: 14.63 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007199/0.4014, allocations: 451.4 kB / 1.043 GB, free: 14.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.4017, allocations: 0.7399 MB / 1.043 GB, free: 13.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001445/0.4019, allocations: 41.02 kB / 1.043 GB, free: 13.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.402, allocations: 35.42 kB / 1.044 GB, free: 13.32 MB / 0.698 GB Notification: Performance of SimCode: time 3.81e-07/0.402, allocations: 4 kB / 1.044 GB, free: 13.32 MB / 0.698 GB Notification: Performance of Templates: time 0.007852/0.4099, allocations: 4.327 MB / 1.048 GB, free: 9 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)