Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json 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/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0105/0.01051, allocations: 103.2 kB / 15.73 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 191.4 kB / 16.67 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.734/1.734, allocations: 251.7 MB / 0.5094 GB, free: 2.969 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001908, allocations: 71.89 kB / 0.7258 GB, free: 8.953 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2973, allocations: 104.7 MB / 0.8281 GB, free: 132 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.004135/0.3016, allocations: 1.688 MB / 0.8298 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.3029, allocations: 471.3 kB / 0.8302 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.988e-05/0.303, allocations: 4 kB / 0.8302 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.3032, allocations: 11.86 kB / 0.8302 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.3034, allocations: 36.09 kB / 0.8303 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.3045, allocations: 266.1 kB / 0.8305 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005578/0.3051, allocations: 399.5 kB / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.3053, allocations: 41.34 kB / 0.8309 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003542/0.3056, allocations: 223.6 kB / 0.8311 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.3059, allocations: 127.9 kB / 0.8313 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.489e-05/0.306, allocations: 28 kB / 0.8313 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.819e-05/0.3061, allocations: 28 kB / 0.8313 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.3062, allocations: 87.77 kB / 0.8314 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.3065, allocations: 143.3 kB / 0.8315 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005585/0.307, allocations: 418.7 kB / 0.8319 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.307, allocations: 0 / 0.8319 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3071, allocations: 0 / 0.8319 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.3071, allocations: 4 kB / 0.8319 GB, free: 12.19 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001747/0.3088, allocations: 0.7232 MB / 0.8326 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.1e-05/0.3089, allocations: 12.02 kB / 0.8327 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.309, allocations: 36.56 kB / 0.8327 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.3095, allocations: 276.2 kB / 0.833 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.3096, allocations: 12.38 kB / 0.833 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.347e-05/0.3096, allocations: 23.94 kB / 0.833 GB, free: 11 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.31, allocations: 173.4 kB / 0.8332 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.3101, allocations: 0 / 0.8332 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.3101, allocations: 4 kB / 0.8332 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3101, allocations: 0 / 0.8332 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.3103, allocations: 67.95 kB / 0.8332 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.3117, allocations: 0.5548 MB / 0.8338 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.3121, allocations: 130.7 kB / 0.8339 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.3122, allocations: 65.08 kB / 0.834 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.683e-05/0.3123, allocations: 0 / 0.834 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007027/0.313, allocations: 235.7 kB / 0.8342 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 2.846e-06/0.313, allocations: 0 / 0.8342 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0007909/0.3138, allocations: 283.8 kB / 0.8344 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.083e-05/0.3139, allocations: 75.27 kB / 0.8345 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004157/0.3143, allocations: 312.5 kB / 0.8348 GB, free: 9.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.455e-05/0.3144, allocations: 41.69 kB / 0.8349 GB, free: 8.973 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.3145, allocations: 101 kB / 0.835 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.804e-05/0.3146, allocations: 39.52 kB / 0.835 GB, free: 8.828 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/0.3148, allocations: 117.6 kB / 0.8351 GB, free: 8.703 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.315, allocations: 322.8 kB / 0.8354 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.3153, allocations: 104.2 kB / 0.8355 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.3156, allocations: 158.4 kB / 0.8357 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/0.316, allocations: 259 kB / 0.8359 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.316, allocations: 0 / 0.8359 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007326/0.3168, allocations: 438.7 kB / 0.8363 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.3169, allocations: 83.38 kB / 0.8364 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.3169, allocations: 0 / 0.8364 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.738e-05/0.3169, allocations: 11.92 kB / 0.8364 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.3172, allocations: 23.92 kB / 0.8364 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.3172, allocations: 4 kB / 0.8364 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004814/0.3177, allocations: 67.92 kB / 0.8365 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.955e-05/0.3178, allocations: 55.97 kB / 0.8366 GB, free: 7.117 MB / 0.6544 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 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition3,calTim.calTim.daySampleTrigger,$whenCondition4,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002582/0.318, allocations: 185.8 kB / 0.8367 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.3181, allocations: 27.62 kB / 0.8368 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.173e-05/0.3182, allocations: 34.36 kB / 0.8368 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.3182, allocations: 0 / 0.8368 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.3182, allocations: 4 kB / 0.8368 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.3182, allocations: 7.922 kB / 0.8368 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009526/0.3192, allocations: 0.5958 MB / 0.8374 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3192, allocations: 0 / 0.8374 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-05/0.3193, allocations: 4 kB / 0.8374 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.034e-06/0.3193, allocations: 7.984 kB / 0.8374 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.3193, allocations: 15.92 kB / 0.8374 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.3193, allocations: 4 kB / 0.8374 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.3193, allocations: 3.984 kB / 0.8374 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005878/0.3199, allocations: 333.4 kB / 0.8377 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002695/0.3202, allocations: 180.7 kB / 0.8379 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.375e-05/0.3203, allocations: 19.94 kB / 0.8379 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.3205, allocations: 7.984 kB / 0.8379 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.263e-05/0.3206, allocations: 15.98 kB / 0.838 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.985e-05/0.3207, allocations: 31.97 kB / 0.838 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002997/0.321, allocations: 231 kB / 0.8382 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.321, allocations: 4 kB / 0.8382 GB, free: 5.332 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003946/0.3214, allocations: 51.91 kB / 0.8383 GB, free: 5.281 MB / 0.6544 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000306/0.3217, allocations: 129.5 kB / 0.8384 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006934/0.3224, allocations: 362.6 kB / 0.8387 GB, free: 4.766 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.716e-06/0.3224, allocations: 0 / 0.8387 GB, free: 4.766 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.3226, allocations: 75.91 kB / 0.8388 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.323, allocations: 40.19 kB / 0.8388 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009615/0.324, allocations: 423.5 kB / 0.8392 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.3244, allocations: 0.759 MB / 0.84 GB, free: 3.434 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001313/0.3246, allocations: 37.42 kB / 0.84 GB, free: 3.398 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.3247, allocations: 43.41 kB / 0.8401 GB, free: 3.355 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.3247, allocations: 11.88 kB / 0.8401 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of Templates: time 0.0106/0.3353, allocations: 4.488 MB / 0.8445 GB, free: 14.91 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)