Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007133/0.007133, allocations: 99.73 kB / 15.73 MB, free: 5.594 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.001228/0.001228, allocations: 195.1 kB / 16.67 MB, free: 5.527 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.166/1.166, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.255/1.255, allocations: 251.7 MB / 0.5094 GB, free: 408 kB / 430.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.001267/0.001267, allocations: 79.88 kB / 0.7257 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4636/0.4649, allocations: 104.7 MB / 0.828 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002299/0.4672, allocations: 1.472 MB / 0.8295 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0008749/0.4681, allocations: 441.4 kB / 0.8299 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.901e-05/0.4682, allocations: 0 / 0.8299 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.4683, allocations: 7.875 kB / 0.8299 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.4684, allocations: 24.22 kB / 0.8299 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006456/0.4691, allocations: 242.1 kB / 0.8301 GB, free: 436 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0003179/0.4694, allocations: 323.5 kB / 0.8304 GB, free: 112 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.436e-05/0.4694, allocations: 7.938 kB / 0.8304 GB, free: 104 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.4697, allocations: 183.8 kB / 0.8306 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.4699, allocations: 116 kB / 0.8307 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.277e-05/0.47, allocations: 16 kB / 0.8308 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 4.24e-05/0.47, allocations: 20 kB / 0.8308 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 9.241e-05/0.4701, allocations: 75.78 kB / 0.8308 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.4702, allocations: 123.4 kB / 0.831 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.4705, allocations: 282.7 kB / 0.8312 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.4705, allocations: 3.984 kB / 0.8312 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.695e-06/0.4705, allocations: 0 / 0.8312 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.4705, allocations: 3.938 kB / 0.8312 GB, free: 15.3 MB / 0.6387 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.001044/0.4716, allocations: 0.6944 MB / 0.8319 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.4716, allocations: 8.031 kB / 0.8319 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.998e-05/0.4717, allocations: 36.64 kB / 0.832 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.472, allocations: 263.6 kB / 0.8322 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.472, allocations: 12.38 kB / 0.8322 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.836e-05/0.4721, allocations: 19.92 kB / 0.8322 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.4724, allocations: 145.5 kB / 0.8324 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.4724, allocations: 0 / 0.8324 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.4724, allocations: 0 / 0.8324 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.4724, allocations: 8 kB / 0.8324 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.4725, allocations: 47.91 kB / 0.8324 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002931/0.4728, allocations: 313.3 kB / 0.8327 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.4731, allocations: 130.7 kB / 0.8329 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.4732, allocations: 56.83 kB / 0.8329 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.4733, allocations: 7.875 kB / 0.8329 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003576/0.4736, allocations: 219.5 kB / 0.8331 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.4736, allocations: 0 / 0.8331 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of matching and sorting (n=18): time 0.0005366/0.4742, allocations: 276.1 kB / 0.8334 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.4742, allocations: 59.39 kB / 0.8334 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.4745, allocations: 287 kB / 0.8337 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/0.4745, allocations: 41.7 kB / 0.8338 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/0.4746, allocations: 93.03 kB / 0.8338 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/0.4746, allocations: 43.53 kB / 0.8339 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.4748, allocations: 109.6 kB / 0.834 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.918e-05/0.4749, allocations: 318.8 kB / 0.8343 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.4751, allocations: 100.2 kB / 0.8344 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.4753, allocations: 143.5 kB / 0.8345 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.4756, allocations: 244.4 kB / 0.8348 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4756, allocations: 0 / 0.8348 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005792/0.4762, allocations: 412.6 kB / 0.8352 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.742e-05/0.4763, allocations: 75.39 kB / 0.8352 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.4763, allocations: 192 / 0.8352 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.4763, allocations: 8 kB / 0.8352 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.4765, allocations: 31.91 kB / 0.8353 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4765, allocations: 7.938 kB / 0.8353 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004519/0.4769, allocations: 59.8 kB / 0.8353 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.117e-05/0.477, allocations: 51.98 kB / 0.8354 GB, free: 10.73 MB / 0.6387 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year,$whenCondition3,$whenCondition4) * 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.0001498/0.4772, allocations: 172.3 kB / 0.8355 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.4772, allocations: 35.55 kB / 0.8356 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.335e-05/0.4773, allocations: 30.25 kB / 0.8356 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4773, allocations: 7.984 kB / 0.8356 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4773, allocations: 0 / 0.8356 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4773, allocations: 0 / 0.8356 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006716/0.478, allocations: 0.5529 MB / 0.8362 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.478, allocations: 4 kB / 0.8362 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-05/0.478, allocations: 7.984 kB / 0.8362 GB, free: 9.863 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.478, allocations: 4 kB / 0.8362 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.478, allocations: 11.98 kB / 0.8362 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4781, allocations: 0 / 0.8362 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4781, allocations: 0 / 0.8362 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.4784, allocations: 326.9 kB / 0.8365 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.4786, allocations: 156.7 kB / 0.8366 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.853e-05/0.4786, allocations: 11.98 kB / 0.8367 GB, free: 9.328 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.4788, allocations: 11.98 kB / 0.8367 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.4789, allocations: 19.92 kB / 0.8367 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/0.4789, allocations: 27.98 kB / 0.8367 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001504/0.4791, allocations: 209.9 kB / 0.8369 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.4791, allocations: 0 / 0.8369 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002897/0.4794, allocations: 52 kB / 0.837 GB, free: 9.016 MB / 0.6387 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 (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.0001171/0.4795, allocations: 126.8 kB / 0.8371 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004861/0.48, allocations: 353.6 kB / 0.8374 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.48, allocations: 0 / 0.8374 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.4802, allocations: 75.89 kB / 0.8375 GB, free: 8.438 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.4805, allocations: 23.69 kB / 0.8375 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005625/0.481, allocations: 383.9 kB / 0.8379 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.4813, allocations: 0.7497 MB / 0.8386 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001129/0.4814, allocations: 41.42 kB / 0.8387 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.711e-05/0.4815, allocations: 31.42 kB / 0.8387 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of SimCode: time 2.3e-07/0.4815, allocations: 3.938 kB / 0.8387 GB, free: 7.164 MB / 0.6387 GB Notification: Performance of Templates: time 0.006567/0.4881, allocations: 4.097 MB / 0.8427 GB, free: 3.094 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)