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.009361/0.009361, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001588/0.001588, allocations: 190.4 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.763/1.763, allocations: 205.1 MB / 222.6 MB, free: 4.359 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.69/1.69, allocations: 251.7 MB / 0.5094 GB, free: 3.008 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.001472/0.001473, allocations: 68.38 kB / 0.7258 GB, free: 8.965 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2914, allocations: 104.7 MB / 0.8281 GB, free: 148 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.003084/0.2945, allocations: 1.681 MB / 0.8297 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.2956, allocations: 471.3 kB / 0.8302 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.595e-05/0.2957, allocations: 3.938 kB / 0.8302 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.2958, allocations: 11.86 kB / 0.8302 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.296, allocations: 32.16 kB / 0.8302 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008283/0.2968, allocations: 282.3 kB / 0.8305 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004357/0.2973, allocations: 403.4 kB / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.2974, allocations: 33.38 kB / 0.8309 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002693/0.2977, allocations: 211.6 kB / 0.8311 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.2979, allocations: 128 kB / 0.8312 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.287e-05/0.298, allocations: 28 kB / 0.8313 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.663e-05/0.2981, allocations: 32 kB / 0.8313 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.2982, allocations: 87.77 kB / 0.8314 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.2984, allocations: 143.3 kB / 0.8315 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005302/0.299, allocations: 414.7 kB / 0.8319 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.299, allocations: 3.938 kB / 0.8319 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.084e-06/0.299, allocations: 0 / 0.8319 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.299, allocations: 0 / 0.8319 GB, free: 12.21 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.001462/0.3005, allocations: 0.7271 MB / 0.8326 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.3005, allocations: 12.03 kB / 0.8326 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.3006, allocations: 36.56 kB / 0.8327 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.301, allocations: 284.2 kB / 0.8329 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.3011, allocations: 12.38 kB / 0.833 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-05/0.3011, allocations: 27.92 kB / 0.833 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.3015, allocations: 165.5 kB / 0.8331 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3015, allocations: 0 / 0.8331 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/0.3016, allocations: 15.97 kB / 0.8332 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3016, allocations: 0 / 0.8332 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.3017, allocations: 55.97 kB / 0.8332 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.3029, allocations: 0.5549 MB / 0.8337 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.3032, allocations: 138.7 kB / 0.8339 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.3034, allocations: 57.08 kB / 0.8339 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.3034, allocations: 8 kB / 0.8339 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005224/0.3039, allocations: 238.6 kB / 0.8342 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.3039, allocations: 4 kB / 0.8342 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0006756/0.3046, allocations: 277.1 kB / 0.8344 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/0.3047, allocations: 71.27 kB / 0.8345 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.305, allocations: 316.5 kB / 0.8348 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.416e-05/0.3051, allocations: 33.7 kB / 0.8348 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.877e-05/0.3052, allocations: 105 kB / 0.8349 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.3052, allocations: 43.5 kB / 0.835 GB, free: 8.836 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.3054, allocations: 113.6 kB / 0.8351 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.3056, allocations: 326.8 kB / 0.8354 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.3058, allocations: 108.1 kB / 0.8355 GB, free: 8.281 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.3062, allocations: 158.4 kB / 0.8357 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/0.3066, allocations: 258.9 kB / 0.8359 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3066, allocations: 0 / 0.8359 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007044/0.3073, allocations: 431.1 kB / 0.8363 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.653e-05/0.3074, allocations: 79.56 kB / 0.8364 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3074, allocations: 8 kB / 0.8364 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3075, allocations: 0 / 0.8364 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.3076, allocations: 27.92 kB / 0.8364 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3076, allocations: 3.984 kB / 0.8364 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004963/0.3081, allocations: 63.73 kB / 0.8365 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.367e-05/0.3082, allocations: 55.98 kB / 0.8365 GB, free: 7.137 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.0002325/0.3085, allocations: 185.7 kB / 0.8367 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.3085, allocations: 35.62 kB / 0.8368 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.779e-05/0.3086, allocations: 30.34 kB / 0.8368 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3086, allocations: 4 kB / 0.8368 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3086, allocations: 0 / 0.8368 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.3086, allocations: 3.938 kB / 0.8368 GB, free: 6.875 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008141/0.3094, allocations: 0.6021 MB / 0.8374 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3095, allocations: 0 / 0.8374 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.3095, allocations: 11.98 kB / 0.8374 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3095, allocations: 0 / 0.8374 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.3095, allocations: 15.92 kB / 0.8374 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.3096, allocations: 4 kB / 0.8374 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3096, allocations: 0 / 0.8374 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005416/0.3101, allocations: 334.9 kB / 0.8377 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002322/0.3103, allocations: 176.7 kB / 0.8379 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.126e-05/0.3104, allocations: 15.94 kB / 0.8379 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.3106, allocations: 22.86 kB / 0.8379 GB, free: 5.617 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.163e-05/0.3107, allocations: 15.97 kB / 0.8379 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/0.3108, allocations: 27.98 kB / 0.838 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002141/0.311, allocations: 227 kB / 0.8382 GB, free: 5.355 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.1e-07/0.311, allocations: 4 kB / 0.8382 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003211/0.3113, allocations: 51.91 kB / 0.8382 GB, free: 5.301 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.0002422/0.3116, allocations: 121.5 kB / 0.8384 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006304/0.3122, allocations: 370.6 kB / 0.8387 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3122, allocations: 0 / 0.8387 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.3124, allocations: 75.03 kB / 0.8388 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.3128, allocations: 40.56 kB / 0.8388 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000793/0.3136, allocations: 424.8 kB / 0.8392 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.3141, allocations: 0.759 MB / 0.84 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001199/0.3142, allocations: 45.41 kB / 0.84 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.3143, allocations: 31.42 kB / 0.84 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.3143, allocations: 4 kB / 0.84 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of Templates: time 0.008611/0.3229, allocations: 4.491 MB / 0.8444 GB, free: 14.94 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)