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.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007653/0.007653, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001446/0.001446, allocations: 190 kB / 16.67 MB, free: 5.977 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.737/1.737, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.659/1.659, allocations: 251.7 MB / 0.5094 GB, free: 3.047 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.001607/0.001607, allocations: 71.91 kB / 0.7258 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2876, allocations: 104.7 MB / 0.8281 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.003552/0.2912, allocations: 1.681 MB / 0.8297 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.2926, allocations: 474.1 kB / 0.8302 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.2927, allocations: 4 kB / 0.8302 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.2929, allocations: 7.875 kB / 0.8302 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.2931, allocations: 36.09 kB / 0.8302 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.2942, allocations: 278.9 kB / 0.8305 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005577/0.2947, allocations: 399.5 kB / 0.8309 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.2949, allocations: 33.36 kB / 0.8309 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003571/0.2953, allocations: 219.6 kB / 0.8311 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.2956, allocations: 128 kB / 0.8312 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.692e-05/0.2956, allocations: 32 kB / 0.8313 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.109e-05/0.2957, allocations: 28 kB / 0.8313 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001909/0.2959, allocations: 87.78 kB / 0.8314 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.2962, allocations: 143.3 kB / 0.8315 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005696/0.2967, allocations: 414.7 kB / 0.8319 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.208e-05/0.2968, allocations: 0 / 0.8319 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.277e-06/0.2968, allocations: 0 / 0.8319 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.2968, allocations: 0 / 0.8319 GB, free: 12.27 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.002079/0.2989, allocations: 0.731 MB / 0.8326 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.844e-05/0.299, allocations: 11.97 kB / 0.8326 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.2992, allocations: 36.56 kB / 0.8327 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005749/0.2997, allocations: 276.2 kB / 0.8329 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.234e-05/0.2998, allocations: 16.36 kB / 0.833 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.2999, allocations: 23.94 kB / 0.833 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004349/0.3004, allocations: 165.5 kB / 0.8331 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.3004, allocations: 0 / 0.8331 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.3005, allocations: 11.94 kB / 0.8331 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3005, allocations: 0 / 0.8331 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.3007, allocations: 59.97 kB / 0.8332 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.3021, allocations: 0.5549 MB / 0.8337 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003435/0.3024, allocations: 138.7 kB / 0.8339 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.3026, allocations: 69.08 kB / 0.8339 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.3026, allocations: 0 / 0.8339 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000662/0.3033, allocations: 231.7 kB / 0.8342 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 4.619e-06/0.3033, allocations: 3.984 kB / 0.8342 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0007769/0.3041, allocations: 281.1 kB / 0.8344 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/0.3042, allocations: 63.34 kB / 0.8345 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003929/0.3046, allocations: 316.5 kB / 0.8348 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.188e-05/0.3047, allocations: 37.7 kB / 0.8348 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.3048, allocations: 105 kB / 0.8349 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.406e-05/0.3048, allocations: 43.5 kB / 0.835 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.3051, allocations: 109.7 kB / 0.8351 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002311/0.3053, allocations: 330.8 kB / 0.8354 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.3056, allocations: 104.1 kB / 0.8355 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.3059, allocations: 158.4 kB / 0.8356 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004008/0.3063, allocations: 259.3 kB / 0.8359 GB, free: 7.891 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3063, allocations: 0 / 0.8359 GB, free: 7.891 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007829/0.3071, allocations: 432.8 kB / 0.8363 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.3072, allocations: 81.77 kB / 0.8364 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.3072, allocations: 4 kB / 0.8364 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.228e-05/0.3073, allocations: 4 kB / 0.8364 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.3075, allocations: 31.91 kB / 0.8364 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.3075, allocations: 4 kB / 0.8364 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004924/0.308, allocations: 63.73 kB / 0.8365 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.3081, allocations: 51.98 kB / 0.8365 GB, free: 7.203 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.0002701/0.3084, allocations: 197.7 kB / 0.8367 GB, free: 7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.3084, allocations: 27.62 kB / 0.8368 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.655e-05/0.3085, allocations: 26.36 kB / 0.8368 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.3085, allocations: 4 kB / 0.8368 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.3086, allocations: 0 / 0.8368 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.3086, allocations: 3.938 kB / 0.8368 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009806/0.3096, allocations: 0.6036 MB / 0.8374 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3096, allocations: 4 kB / 0.8374 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.171e-05/0.3096, allocations: 4 kB / 0.8374 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.3096, allocations: 4 kB / 0.8374 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/0.3097, allocations: 11.92 kB / 0.8374 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3097, allocations: 0 / 0.8374 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.3097, allocations: 3.984 kB / 0.8374 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/0.3102, allocations: 331 kB / 0.8377 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/0.3104, allocations: 176.7 kB / 0.8379 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.806e-05/0.3105, allocations: 19.92 kB / 0.8379 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.3107, allocations: 15.98 kB / 0.8379 GB, free: 5.688 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.962e-05/0.3108, allocations: 15.92 kB / 0.8379 GB, free: 5.672 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.844e-05/0.3109, allocations: 31.98 kB / 0.838 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002341/0.3111, allocations: 223 kB / 0.8382 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3111, allocations: 4 kB / 0.8382 GB, free: 5.422 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000356/0.3115, allocations: 59.89 kB / 0.8382 GB, free: 5.363 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.0003399/0.3118, allocations: 124.8 kB / 0.8384 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006911/0.3125, allocations: 370.5 kB / 0.8387 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3125, allocations: 0 / 0.8387 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.3127, allocations: 75.89 kB / 0.8388 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.3132, allocations: 39.44 kB / 0.8388 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.3142, allocations: 420.8 kB / 0.8392 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/0.3147, allocations: 0.759 MB / 0.84 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000144/0.3148, allocations: 41.42 kB / 0.84 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.315, allocations: 35.42 kB / 0.84 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.315, allocations: 3.938 kB / 0.84 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of Templates: time 0.01033/0.3253, allocations: 4.5 MB / 0.8444 GB, free: 15 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)